cookbook 'codenamephp_workstation_chef', '= 1.4.0'
The codenamephp_workstation_chef cookbook has been deprecated
Author provided reason for deprecation:
The codenamephp_workstation_chef cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_workstation_chef cookbook is no longer recommended.
codenamephp_workstation_chef (13) Versions 1.4.0 Follow0
Wrapper cookbook that sets up a chef workstation
cookbook 'codenamephp_workstation_chef', '= 1.4.0', :supermarket
knife supermarket install codenamephp_workstation_chef
knife supermarket download codenamephp_workstation_chef
Chef Workstation Chef
This is a wrapper cookook that uses several codenamephp resources to setup a workstation for developing chef cookbook. This includes installing chef workstation,
setting up the bash environment to init chef, set a local dokken environment variable, etc. and installing VSCode with chef extensions.
Requirements
Supported Platforms
- Debian
Chef
- Chef 13.0+
Dependencies
- codenamephp_chef
- codenamephp_dev ## Usage
Add the cookbook to your Berksfile or metadata.rb:
cookbook 'codenamephp_workstation_chef'
You can then add the cookbook to your runlist. The default recipe will setup everything EXCEPT the user(s). I recommend creating the users yourself using a databag
or just use the user. This cookbook creates all users in node['users']
from a databag. The attribute defaults to chef
.
There is also the codenamephp_workstation_chef::recipe
that does the bare minimum to create the users from node['users']
. You can add this recipe before the
default recipe in your runlist.
Attributes
-
default['users']
: The usernames that should be created and that receive the bash management and chef configs, defaults to['chef']
-
default['codenamephp']['workstation_chef']['vscode']['extensions']
: An array of extension names that will be installed for the users for vscode, defaults to['chef-software.chef', 'eamodio.gitlens', 'github.vscode-pull-request-github']
Recipes
Default
The default recipe sets everything up except the users by include the chef
and vscode
recipes. Make sure you have created the users beforehand.
Chef
The chef recipe installs the chef-workstation and sets up the environment by managing dropfiles for bash.
VSCode
The vscode recipe installs VSCode and several extensions that are useful for developing cookbooks.
Gnome
Installs the gnome desktop and sets serveral settings and keyboard shortcuts
Dependent cookbooks
codenamephp_chef ~> 2.1 |
codenamephp_dev ~> 2.4 |
codenamephp_docker ~> 3.0 |
codenamephp_gui ~> 2.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.4.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.4.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
Foodcritic Metric
1.4.0 passed this metric
No Binaries Metric
1.4.0 passed this metric
Testing File Metric
1.4.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
1.4.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
1.4.0 failed this metric
1.4.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
Foodcritic Metric
1.4.0 passed this metric
No Binaries Metric
1.4.0 passed this metric
Testing File Metric
1.4.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
1.4.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
1.4.0 passed this metric
1.4.0 passed this metric
Testing File Metric
1.4.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
1.4.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
1.4.0 failed this metric
1.4.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