cookbook 'package_installer', '~> 0.0.1'
package_installer (1) Versions 0.0.1 Follow6
Installs/Updates system packages
cookbook 'package_installer', '~> 0.0.1', :supermarket
knife supermarket install package_installer
knife supermarket download package_installer
Package Installer
Simple cookbook for managing package versions on a node.
Usage
Attributes
Define packages (and optionally version restrictions and action type) within the role:
override_attributes( :package_installer => { :packages => { 'vim' => nil, 'mailutils' => { :version => '2.2' }, 'emacs' => { :action => :upgrade } } } )
By default the :upgrade action is used. If you want to keep the package
pegged, simply specify a version or use the :install action.
Issues/Bugs/Feature Requests
Create a github issue or fork, fix and send me a pull request
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.1 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.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: package_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: package_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: package_installer/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: package_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: package_installer/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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.0.1 failed this metric
0.0.1 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.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: package_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: package_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: package_installer/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: package_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: package_installer/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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.0.1 failed this metric
FC065: Ensure source_url is set in metadata: package_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: package_installer/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: package_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: package_installer/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.1 passed this metric
Testing File Metric
0.0.1 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.0.1 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.0.1 failed this metric
0.0.1 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