cookbook 'reprepro', '~> 3.0.0'
reprepro
(20) Versions
3.0.0
-
Follow5
Provides custom resources for configuring reprepro apt repositories
cookbook 'reprepro', '~> 3.0.0', :supermarket
knife supermarket install reprepro
knife supermarket download reprepro
reprepro Cookbook
Provides custom resources that set up an APT repository suitable for using the reprepro tool to manage distributions and components.
See the reprepro documentation for more information about reprepro itself, including the man(1) page in the package http://mirrorer.alioth.debian.org/
Help Wanted
This repository has been archived for now, but if you want to help us with this cookbook drop by our slack channel #sous-chef on the chef community slack and let us know!
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
Platforms
- Debian/Ubuntu
Chef
- Chef 15.3+
Cookbooks
- nginx
- apache2 You'll need to generate the PGP key separately and provide it as resource properties or manage it before converging the repository resource.
Resources
- [reprepro_repository](documentation/reprepro_repository.md)
- [reprepro_apache](documentation/reprepro_apache.md)
- [reprepro_nginx](documentation/reprepro_nginx.md)
- [reprepro_deb](documentation/reprepro_deb.md)
Migration
This cookbook no longer ships recipes or attributes. See [migration.md](migration.md) for the breaking change from node['reprepro'] attributes and reprepro::default recipes to resource properties.
Repository
Create a repository by declaring reprepro_repository directly.
reprepro_repository 'default' do fqdn 'apt.example.com' repo_dir '/srv/apt' incoming '/srv/apt_incoming' description 'APT Repository for our packages' codenames %w(noble jammy) allow ['unstable>sid', 'stable>squeeze'] pgp_email 'packages@example.com' pgp_fingerprint 'PGP Fingerprint for the key' pgp_public "-----BEGIN PGP PUBLIC KEY BLOCK-----\n-----END PGP PUBLIC KEY BLOCK-----\n" pgp_private "-----BEGIN PGP PRIVATE KEY BLOCK-----\n-----END PGP PRIVATE KEY BLOCK-----\n" pulls( 'name' => 'noble', 'from' => 'noble', 'component' => 'main' ) architectures %w(amd64 i386 all source) end
Web Servers
Serve the repository with Apache or Nginx.
reprepro_apache 'apt_repo' do fqdn 'apt.example.com' repo_dir '/srv/apt' pgp_email 'packages@example.com' end
reprepro_nginx 'apt_repo' do fqdn 'apt.example.com' repo_dir '/srv/apt' end
Package Management
Add or remove .deb files.
reprepro_deb '/tmp/example_1.0.0_amd64.deb' do distribution 'noble' action :add end
Contributors
This project exists thanks to all the people who contribute.
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.
reprepro Cookbook CHANGELOG
This file is used to list changes made in each version of the reprepro cookbook.
3.0.0 (2026-05-19)
⚠ BREAKING CHANGES
- migrate reprepro to custom resources (#88)
Features
Bug Fixes
2.1.4 (2025-10-16)
Bug Fixes
2.1.0 - 2023-10-03
- Migrate repo to Sous-Chefs
2.0.5 - 2023-10-03
- resolved cookstyle error: .foodcritic:3:7 convention:
Layout/TrailingEmptyLines
2.0.3 - 2022-02-08
- Remove delivery folder
2.0.2 - 2021-08-31
- Standardise files with files in sous-chefs/repo-management
2.0.0 (2020-05-05)
- Minimum Chef version 14
- resolved cookstyle error: recipes/default.rb:26:22 convention:
Style/HashEachMethods - Require Chef Infra Client 14+ and remove the need for the build-essential cookbook
- Remove unnecessary long_description metadata from metadata.rb
- Remove unnecessary recipe metadata from metadata.rb
- Migrate to actions
v1.1.0 (2019-08-08)
- Migrate to circleci 2 orb
- Fix for setting apache listen attribute
v1.0.0 (2018-05-08)
- Remove compat_resource usage and require Chef 13+ instead
- Use build_essential resource not the recipe to allow this to run without the cookbook on chef 14+
- Convert the resource from a LWRP to a custom new_resource
- Switch from chef_nginx to nginx cookbook and update the nginx_site usage for the new nginx_site custom resource
- Use the correct action for ruby_block to resolve foodcritic warnings
- Don't manually update the convert status on the resource. Let Chef do this the right way
- Properly set the name_property on the resource
- Property set the distribution default value in the resource
- Switch from symbols to strings in the templates to resolve warnings
v0.5.0 (2017-05-31)
- Turned on use_inline_resource in the provider
- Switched from nginx to chef_nginx
- Set reasonable minimum versions of the required cookbooks
- Increased the required chef release to 12.1+
- Added source_url, issues_url, and chef_version to the metadata
- Removed "suggests" metadata as this doesn't actually do anything
- Updated notification to the Chef 10+ syntax
- Added a test cookbook that includes both apache and nginx testing
- Swapped apt cookbook for compat_resource on older chef releases
- Stopped including the default apt cookbook within the recipe. Getting apt-update run is outside the scope of this cookbook. It should be done in a base recipe with the apt_update resource
- Fixed the apache listen attribute to use the current attribute name
- Stopped using node.set, which is deprecated
- Removed test gems from the Gemfile
- Added a Delivery local mode config for simple testing
- Setup Travis CI to use ChefDK and kitchen-dokken for integration testing
- Switched from rubocop to cookstyle
- Switched from kitchen-docker to kitchen-dokken
v0.4.2 (2015-11-20)
- Remove Opscode/Chef as the maintainer.
- Updated Travis to run full integration tests with kitchen-docker
- Added Chef default .rubocop.yml file and resolved all warnings
- Reformatted readme and set the minimum required Chef release to 11.0
- Added basic Chefspec to test the converge
- Add chefignore to limit files uploaded to the Chef server
- Updated Berksfile format and removed yum, which wasn't actually required
- Removed the Chef contributing doc that isn't valid anymore
- Updated development deps in the Gemfile
- Update .gitignore to the chef default
v0.4.1
- Allow option to use nginx (thanks gilles)
v0.4.0
- Support multiple distribution releases
v0.3.0
- [COOK-2111] - Add LWRP for reprepro interactions. Allow attribute driven configuration
v0.2.4
- [COOK-922] - add
allowto data bag - Update the readme with data bag info
Collaborator Number Metric
3.0.0 passed this metric
Contributing File Metric
3.0.0 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.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.0 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.0.0 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
3.0.0 passed this metric
3.0.0 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.0.0 passed this metric
No Binaries Metric
3.0.0 passed this metric
Testing File Metric
3.0.0 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.0.0 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
3.0.0 passed this metric
3.0.0 passed this metric
Testing File Metric
3.0.0 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.0.0 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
3.0.0 failed this metric
3.0.0 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