cookbook 'codenamephp_chef', '= 2.1.1'
The codenamephp_chef cookbook has been deprecated
Author provided reason for deprecation:
The codenamephp_chef cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_chef cookbook is no longer recommended.
codenamephp_chef (6) Versions 2.1.1 Follow0
Provides resources to install chef-workstation
cookbook 'codenamephp_chef', '= 2.1.1', :supermarket
knife supermarket install codenamephp_chef
knife supermarket download codenamephp_chef
Chef Cookbook Chef
The default cookbook gets the environment ready to develop chef cookbooks by installing chef-workstation.
Requirements
Supported Platforms
- Debian Buster
Chef
- Chef 13.0+
Cookbook Depdendencies
Usage
Add the cookbook as a dependency, e.g. in your Berksfile:
cookbook 'codenamephp_chef', '~> 2.0.0'
Then use the resource in your recipes.
Resources
Workstation
The codenamephp_chef_workstation
installs the chef-workstation package from the apt repository. The repository is added automatically.
Actions
-
install
: Installs the resource
Properties
-
puge_chefdk
: Boolean to purge the chefdk (old package) prior to installing, defaults to false
Examples
# Minimal properties recipe do codenamephp_chef_workstation 'Install chef-workstation' end # don't purge chefdk recipe do codenamephp_chef_workstation 'Install chef-workstation' do purge_chefdk false end end
Environment
The codenamephp_chef_environment
resource adds the chef init command and the chef ruby bin to path by using codenamephp_bash
to manage bashrc.d
configs for the given user.
Actions
-
install
: Installs the bash files to init chef
Properties
-
users
: Array of usernames as strings for which the envirnment should be installed -
skel
: Boolean to enable the management of/etc/skel
so users that are created after chef will get the chef init as well, defaults to false
Examples
# Minimal properties codenamephp_chef_environment 'Setup chef' do users %w[user1 user2] end # also manage skel recipe do codenamephp_chef_environment 'Setup chef' do users %w[user1 user2] skel true end end
Collaborator Number Metric
2.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.1.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
2.1.1 passed this metric
Testing File Metric
2.1.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
2.1.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
2.1.1 failed this metric
2.1.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
2.1.1 passed this metric
Testing File Metric
2.1.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
2.1.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
2.1.1 passed this metric
2.1.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
2.1.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
2.1.1 failed this metric