https://github.com/sous-chefs/aptly
Development repository for the aptly cookbook
https://github.com/sous-chefs/aptly
aptly chef chef-cookbook chef-resource hacktoberfest managed-by-terraform
Last synced: about 1 year ago
JSON representation
Development repository for the aptly cookbook
- Host: GitHub
- URL: https://github.com/sous-chefs/aptly
- Owner: sous-chefs
- License: apache-2.0
- Created: 2014-04-23T21:21:41.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T00:54:00.000Z (over 2 years ago)
- Last Synced: 2024-04-14T08:03:09.120Z (about 2 years ago)
- Topics: aptly, chef, chef-cookbook, chef-resource, hacktoberfest, managed-by-terraform
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/aptly
- Size: 277 KB
- Stars: 30
- Watchers: 25
- Forks: 26
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# aptly Cookbook
[](https://supermarket.chef.io/cookbooks/aptly)
[](https://circleci.com/gh/sous-chefs/aptly)
[](#backers)
[](#sponsors)
[](https://opensource.org/licenses/Apache-2.0)
This cookbook installs and configures aptly [http://www.aptly.info](http://www.aptly.info)
## Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit [sous-chefs.org](https://sous-chefs.org/) or come chat with us on the Chef Community Slack in [#sous-chefs](https://chefcommunity.slack.com/messages/C2V7B88SF).
## Requirements
### Platform
- Debian 9
- Debian 10
- Ubuntu 16.04
- Ubuntu 18.04
## Attributes
### Repository attributes
- `default['aptly']['repository']['uri'] = 'http://repo.aptly.info/'`
- `default['aptly']['repository']['dist'] = 'squeeze'`
- `default['aptly']['repository']['components'] = 'main'`
- `default['aptly']['repository']['key'] = 'https://www.aptly.info/pubkey.txt'`
### Global repository attributes
- `default['aptly']['user'] = 'aptly'`
- `default['aptly']['group'] = 'aptly'`
- `default['aptly']['tmpDir'] = '/tmp'`
- `default['aptly']['rootDir'] = '/opt/aptly'`
- `default['aptly']['downloadConcurrency'] = 4`
- `default['aptly']['downloadSpeedLimit'] = 0`
- `default['aptly']['architectures'] = []`
- `default['aptly']['dependencyFollowSuggests'] = false`
- `default['aptly']['dependencyFollowRecommends'] = false`
- `default['aptly']['dependencyFollowAllVariants'] = false`
- `default['aptly']['dependencyFollowSource'] = false`
- `default['aptly']['gpgDisableSign'] = false`
- `default['aptly']['gpgDisableVerify'] = false`
- `default['aptly']['gpgProvider'] = 'gpg'`
- `default['aptly']['downloadSourcePackages'] = false`
- `default['aptly']['skipLegacyPool'] = true`
- `default['aptly']['ppaDistributorID'] = 'ubuntu'`
- `default['aptly']['ppaCodename'] = ''`
- `default['aptly']['FileSystemPublishEndpoints'] = {}`
- `default['aptly']['S3PublishEndpoints'] = {}`
- `default['aptly']['SwiftPublishEndpoints'] = {}`
### GPG attributes
- `default['aptly']['gpg']['key-type'] = 'RSA'`
- `default['aptly']['gpg']['key-length'] = 4096`
- `default['aptly']['gpg']['subkey-type'] = 'RSA'`
- `default['aptly']['gpg']['subkey-length'] = 4096`
- `default['aptly']['gpg']['name-real'] = 'Aptly'`
- `default['aptly']['gpg']['name-comment'] = 'Aptly Key'`
- `default['aptly']['gpg']['name-email'] = 'organisation@example.org'`
- `default['aptly']['gpg']['expire-date'] = 0`
- `default['aptly']['gpg']['passphrase'] = 'GreatPassPhrase'`
## Recipes
### `default`
Install and configure aptly
## Resources
- [`aptly_db`](documentation/resources/aptly_db.md)
- [`aptly_mirror`](documentation/resources/aptly_mirror.md)
- [`aptly_publish`](documentation/resources/aptly_publish.md)
- [`aptly_repo`](documentation/resources/aptly_repo.md)
## Testing
Please contribute to keep unit and functional tests up to date.
After modifications, please run the following commands to check if you break something:
- chef exec rspec
- kitchen test default-ubuntu-1804
NOTE: if you want to use Policyfile, rename `Policyfile.rb.dist` to `Policyfile.rb` in root and test directories, then execute `chef update` in each folder. Look inside `.kitchen.yml` and `spec/spec_helper.rb` too.
## Contributors
This project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890&button=false)
### Backers
Thank you to all our backers!

### Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.









