cookbook 'codenamephp_workstation_chef', '= 1.4.1'
codenamephp_workstation_chef (13) Versions 1.4.1 Follow0
Wrapper cookbook that sets up a chef workstation
cookbook 'codenamephp_workstation_chef', '= 1.4.1', :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.
- Chef 13.0+
Add the cookbook to your Berksfile or metadata.rb:
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
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.
default['users']: The usernames that should be created and that receive the bash management and chef configs, defaults to
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']
The default recipe sets everything up except the users by include the
vscode recipes. Make sure you have created the users beforehand.
The chef recipe installs the chef-workstation and sets up the environment by managing dropfiles for bash.
The vscode recipe installs VSCode and several extensions that are useful for developing cookbooks.
Installs the gnome desktop and sets serveral settings and keyboard shortcuts
|codenamephp_chef ~> 2.1|
|codenamephp_dev ~> 3.0|
|codenamephp_docker ~> 3.0|
|codenamephp_gui ~> 2.1|
There are no cookbooks that are contingent upon this one.