cookbook 'apt-mirror', '~> 0.1.2'
apt-mirror (1) Versions 0.1.2 Follow2
Installs/Configures apt-mirror
cookbook 'apt-mirror', '~> 0.1.2', :supermarket
knife supermarket install apt-mirror
knife supermarket download apt-mirror
Description
This cookbook installs and configures apt-mirror. This will automate the creation of
repository mirrors for Ubuntu and for additional APT repositories.
Requirements
- Ubuntu 10.04 / Ubuntu 12.04
- Data Bag named apt-mirror
{ "id": "sensu", "source": "deb http://repos.sensuapp.org/apt sensu main", "fqdn": "repos.sensuapp.org" }
Attributes
- node['apt-mirror']['base_path'] - Base path for mirror files.
- node['apt-mirror']['nodearch'] - To specify which platform arch to mirror. Default is amd64.
- node['apt-mirror']['run_postmirror'] -
- node['apt-mirror']['nthreads'] - Set number of threads to use for downloading packages.
- node['apt-mirror']['_tilde'] -
- node['apt-mirror']['cron']['active'] - Have Chef schedule to run in cron.
- node['apt-mirror']['cron']['minute'] - Minute
- node['apt-mirror']['cron']['hour'] - Hour
- node['apt-mirror']['cron']['day'] - Day.
- node['apt-mirror']['cron']['weekday'] - Weekday. Default is everyday.
- node['apt-mirror']['nginx']['port'] - Set port for nginx to run.
Usage
Include recipe[apt-mirror]
in the run_list.
Include recipe[apt-mirror::nginx]
in the run_list to include a web server front end.
Repository
https://github.com/hw-cookbooks/apt-mirror
License and Authors
Author:: Aaron Baer (aaron@hw-ops.com)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.2 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.2 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
Foodcritic Metric
0.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: apt-mirror/metadata.rb:1
FC065: Ensure source_url is set in metadata: apt-mirror/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apt-mirror/metadata.rb:1
FC069: Ensure standardized license defined in metadata: apt-mirror/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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
0.1.2 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
0.1.2 failed this metric
0.1.2 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
Foodcritic Metric
0.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: apt-mirror/metadata.rb:1
FC065: Ensure source_url is set in metadata: apt-mirror/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apt-mirror/metadata.rb:1
FC069: Ensure standardized license defined in metadata: apt-mirror/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.2 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
0.1.2 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
0.1.2 failed this metric
FC065: Ensure source_url is set in metadata: apt-mirror/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apt-mirror/metadata.rb:1
FC069: Ensure standardized license defined in metadata: apt-mirror/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Testing File Metric
0.1.2 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
0.1.2 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
0.1.2 failed this metric
0.1.2 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