cookbook 'codenamephp_dev', '= 2.3.0'
The codenamephp_dev cookbook has been deprecated
Author provided reason for deprecation:
The codenamephp_dev cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_dev cookbook is no longer recommended.
codenamephp_dev (15) Versions 2.3.0 Follow0
Installs all dev tools for infomax project development like browsers, git, openjdk, ...
cookbook 'codenamephp_dev', '= 2.3.0', :supermarket
knife supermarket install codenamephp_dev
knife supermarket download codenamephp_dev
Chef Cookbook Dev
Cookbook that contains recipes for dev tools, like vscode, chrome, openjdk ...
Requirements
Supported Platforms
- Debian Buster
- (Probably works still works for older debian versions but this is not tested)
Chef
- Chef 13.0+
Cookbook Depdendencies
Tools
Usage
Add the cookbook to your Berksfile:
cookbook 'codenamephp_dev'
Add the tools cookbook to your runlist, e.g. in a role:
{ "name": "default", "chef_type": "role", "json_class": "Chef::Role", "run_list": [ "recipe[codenamephp_dev::chrome]" ] }
Note that the default recipe is a No-Op, so you need to add the tools you want
Attributes
resolver
-
['resolver']['nameservers']
The array of ips to add to the resolver config. Defaults to['127.0.0.1', '8.8.8.8', '8.8.4.4', '10.0.2.3']
-
['codenamephp']['dev']['vscode']['extensions']
Is a hashmap with the usernames as keys and the extensions for each users as array. Defaults to{}
so no extensions are installed. Example:['codenamephp']['dev']['vscode']['extensions'] = {'user1' => ['ext1', 'ext2']}
Resources
Jetbrains Toolbox
The codenamephp_dev_jetrbains_toolbox
resource installs or uninstalls the Jetbrains toolbox which can then be used to manage the Jetbrains products.
Actions
-
:install
: Downloads the toolbox to a shared location and adds an X11 session script that installs the toolbox for the logged in user -
:uninstall
: Deletes the shared script and the login script. Already installed apps for the users are not removed
Properties
-
toolbox_path
: The path where the files are downloaded to, extracted, ..., default: '/usr/share/jetbrains-toolbox'. If you have a custom path you need to provide it as well for the uninstall action.
Examples
# Minmal parameters codenamephp_dev_jetbrains_toolbox 'install jetbrains-toolbox' # Custom source and path codenamephp_dev_jetbrains_toolbox 'install jetbrains-toolbox' do toolbox_path '/my/custom/executable/path' end # Uninstall codenamephp_dev_jetbrains_toolbox 'uninstall jetbrains-toolbox' do toolbox_path '/my/custom/executable/path' end
Recipes
Default
The default cookbook (as stated multiple times) is a No-Op. Pick and choose the tools you want via the recipes.
Chrome
Adds the google apt repository and installs Google Chrome from package.
DNSMasq
Purges the Avahi Deamon which is installed at least on Ubuntu and tends to occupy ports. Also the resolver Cookbook
is used to add localhost, Google DNS and 10.0.2.3
which is needed in [VirtualBox][virutalbox_url] for network operations to work.
The IPs can be overridden/added to via the attributes.
At last, DNSMasq is installed and the local domain and all subdomains is resolved to 127.0.0.1
.
gnome-terminal
Just installs the gnome-terminal from package.
Unzip
Just installs unzip from package (no gui client is installed)
VSCode
Installs VSCode from package using the Sous Chefs vscode cookbook. Extensions can also be installed by giving the users and extensions
as hashmap in the attributes.
Jetbrains Toolbox
The jetbrains_toolbox
recipe installs the jetbrains toolbox to a shared location and adds an X-Server startup script so it will be installed for each user on first
login.
Changelog
2.3.0 (2019-12-09)
Implemented enhancements:
- Install JetBrains toolbox #23
- Migrate vscode to https://github.com/sous-chefs/vscode #21
v2.2.0 (2019-12-06)
Merged pull requests:
- [RELEASE 2.2.0] #22 (bastianschwarz)
v2.1.1 (2019-12-05)
Closed issues:
Merged pull requests:
- [RELEASE 2.1.1] #20 (bastianschwarz)
- [RELEASE 2.1.1] #19 (bastianschwarz)
v2.1.0 (2018-08-26)
Implemented enhancements:
- Add unzip #14
- [RELEASE 2.1.0] #15 (bastianschwarz)
v2.0.0 (2018-08-17)
Implemented enhancements:
- DNSMasq: Use drop folder (/etc/dnsmasq.d) for config #12
- Remove jdk recipe #9
- Add gnome-terminal #7
- Release 2.0.0 #13 (bastianschwarz)
v1.0.0 (2018-06-06)
Merged pull requests:
- Update metadata.rb #6 (bastianschwarz)
v0.2.0 (2018-06-05)
Implemented enhancements:
Merged pull requests:
- Deleting Berksfile.lock since it will cause the relase to fail (stoveā¦ #5 (bastianschwarz)
- Release 1.0.0 #4 (bastianschwarz)
- Merge master #3 (bastianschwarz)
* This Changelog was automatically generated by github_changelog_generator
Collaborator Number Metric
2.3.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
2.3.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
2.3.0 passed this metric
No Binaries Metric
2.3.0 passed this metric
Testing File Metric
2.3.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
2.3.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
2.3.0 failed this metric
2.3.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
2.3.0 passed this metric
No Binaries Metric
2.3.0 passed this metric
Testing File Metric
2.3.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
2.3.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
2.3.0 passed this metric
2.3.0 passed this metric
Testing File Metric
2.3.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
2.3.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
2.3.0 failed this metric
2.3.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