Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

aptly (35) Versions 3.1.3

Installs/Configures aptly

Policyfile
Berkshelf
Knife
cookbook 'aptly', '= 3.1.3', :supermarket
cookbook 'aptly', '= 3.1.3'
knife supermarket install aptly
knife supermarket download aptly
README
Dependencies
Changelog
Quality 50%

aptly Cookbook

Cookbook Version
Build Status
OpenCollective
OpenCollective
License

This cookbook installs and configures aptly 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 or come chat with us on the Chef Community Slack in #sous-chefs.

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.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

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

https://opencollective.com/sous-chefs/sponsor/0/website
https://opencollective.com/sous-chefs/sponsor/1/website
https://opencollective.com/sous-chefs/sponsor/2/website
https://opencollective.com/sous-chefs/sponsor/3/website
https://opencollective.com/sous-chefs/sponsor/4/website
https://opencollective.com/sous-chefs/sponsor/5/website
https://opencollective.com/sous-chefs/sponsor/6/website
https://opencollective.com/sous-chefs/sponsor/7/website
https://opencollective.com/sous-chefs/sponsor/8/website
https://opencollective.com/sous-chefs/sponsor/9/website

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Changelog

All notable changes to this project will be documented in this file.

3.1.3 - 2023-03-02

3.1.2 - 2023-03-01

  • Update workflows to 2.0.1
  • Remove mdl and replace with markdownlint-cli2

3.1.1 - 2023-02-14

  • Remove delivery

3.1.0 - 2021-09-08

  • Add switch action to aptly_publish resource
  • Add Ubuntu 20.04 to testing matrix; remove Ubuntu 16.04

3.0.0 - 2021-09-02

  • Set unified_mode to true for Chef 17 support
  • Set minium Chef version to 15.3 for unified_mode

2.4.1 - 2021-08-30

  • Standardise files with files in sous-chefs/repo-management

2.4.0 - 2021-06-10

  • Make tmpdir configurable

2.3.3 - 2021-06-09

  • [CI] Update ActionsHub actions to point at main
  • [CI] Update GitHub Actions checkout to v2
  • Move resource documentation into the documentation folder

2.4.0 - 2021-06-10

  • Added ability to specify TMPDIR

2.3.2 (2020-11-16)

  • resolved cookstyle error: test/fixtures/cookbooks/aptly_test/recipes/default.rb:95:3 convention: Style/CommentAnnotation
  • resolved cookstyle error: spec/libraries/helpers_spec.rb:2:18 convention: Style/RedundantFileExtensionInRequire
  • resolved cookstyle error: test/integration/default/default_test.rb:1:1 convention: Style/Encoding
  • resolved cookstyle error: test/integration/default/resources_test.rb:1:1 convention: Style/Encoding

2.3.1 (2020-09-16)

Fixed

  • Cookstyle Bot Auto Corrections with Cookstyle 6.17.7

2.3.0 (2020-08-26)

Added

  • Ability to edit existing mirror configuration
  • Added missing properties to aptly_mirror resource
  • Changed aptly_mirror resource's property architectures to use node['aptly']['architectures'] rather than an empty list which was needed for idempotent mirror edits

2.2.0 (2020-08-20)

  • Changed the node['aptly']['gpg']['key-tpye'] attribute to node['aptly']['gpg']['key-type']. WARNING: This change may break existing cookbooks! Please adjust as needed.

2.1.2 (2020-06-18)

  • Fixed Debian platform version in the spec tests

2.1.1 2020-05-05

  • resolved cookstyle error: libraries/helpers.rb:51:14 warning: Lint/SendWithMixinArgument
  • resolved cookstyle error: libraries/helpers.rb:52:16 warning: Lint/SendWithMixinArgument
  • Use true and false in resources
  • Migrate to Github Actions for testing

2.1.0 2020-02-17

  • Extended Batch file and associated attributes
  • Batch file is deleted from /tmp after successful application
  • Publish resource :update has been extended with "sensetive true" parameters. So that the output of the assphrase during the chef-client run will be suppressed

2.0.2 2020-02-14

  • Migrate to Github Actions for testing
  • Changed usage of getent <user> passwd to getent passwd <user>
  • Use true and false in resources

2.0.1 2019-10-19

  • Latest Cookstyle changes in cookstyle 5.6.2

[2.0.0] - 2019-09-04

  • Add a with_installer parameter to the mirror resource
  • Change architectures argument in both the mirror and publish resources for consistency

[1.1.0] - 2019-08-03

  • Add timeout argument for some time consuming resources
  • Add support for aptly mirror -filter-with-deps argument
  • Add support for aptly mirror -with-udebs and -architectures arguments
  • Fix "can't modify frozen String" error caused by aptly_snapshot
  • Fix broken not_if for in aptly_mirror resource
  • Migrate to circleci for testing

v1.0.0 (24-10-2018)

  • Big refactoring
  • Update resource with latest usage of aptly
  • Create aptly_serve and aptly_api_serve resource
  • Create unit tests
  • Enhance integration test
  • Use Circle CI

0.3.0

  • Require at least Chef 11 and remove Chef 10 compatibility code
  • Resolve idempotency in the DB ownership resource
  • Enable the configuration of the publishing endpoints
  • Remove the Librarian Cheffile
  • Add a chefignore file to reduce the number of files pulled down to each node
  • Add chef_version, issues_url, and source_url metadata to metadata.rb
  • Resolve all cookstyle warnings
  • Remove test deps from the Gemfile and instead rely on ChefDK for testing
  • Swap local testing with Rake for Delivery Local Mode
  • Resolve all Foodcritic warnings

0.2.8

  • Update GPG Key for aptly repository

0.2.6

  • Support for multi-component publishing #16
  • Add filter attribute in mirror provider #17

0.2.4

  • use exact matches in provider for not_if checks
  • Add chefspec matchers

0.2.3

  • Support for cookbook file to distribute gpg key
  • Initializing gpg config for default user

0.2.2

  • Helper to define proper environment
  • Add repo attribute to repo resource
  • Fix group owner attribute
  • Correction for aptly user seed action 0.2.1
  • bug fix for writing files to the system as the wrong user

0.2.0

  • add providers for all aptly functionality

0.1.0

  • Initial release of aptly

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

3.1.3 passed this metric

Contributing File Metric
            

3.1.3 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

3.1.3 passed this metric

No Binaries Metric
            

3.1.3 passed this metric

Testing File Metric
            

3.1.3 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

3.1.3 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number