cookbook 'codenamephp_workstation_chef', '= 1.7.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.7.0 Follow0
Wrapper cookbook that sets up a chef workstation
cookbook 'codenamephp_workstation_chef', '= 1.7.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.
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']
-
default['codenamephp']['workstation_chef']['timezone']
: The timezone to set, defaults to 'Europe/Berlin' -
default['codenamephp']['workstation_chef']['locale']
: The locale to set, defaults to 'de_DE.UTF-8'
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 ~> 3.0 |
codenamephp_docker ~> 3.0 |
codenamephp_edge ~> 1.0 |
codenamephp_gnome ~> 1.0 |
codenamephp_keyboard_layout ~> 1.0 |
codenamephp_vscode ~> 1.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.7.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.7.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.7.0 passed this metric
No Binaries Metric
1.7.0 passed this metric
Testing File Metric
1.7.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.7.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.7.0 failed this metric
1.7.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.7.0 passed this metric
No Binaries Metric
1.7.0 passed this metric
Testing File Metric
1.7.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.7.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.7.0 passed this metric
1.7.0 passed this metric
Testing File Metric
1.7.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.7.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.7.0 failed this metric
1.7.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