You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
- Add Visual Studio Code [\#2](https://github.com/codenamephp/chef.cookbook.dev/issues/2)
23
-
- Move to new structure and travis [\#1](https://github.com/codenamephp/chef.cookbook.dev/issues/1)
24
-
25
-
**Merged pull requests:**
26
-
27
-
- Deleting Berksfile.lock since it will cause the relase to fail \(stove… [\#5](https://github.com/codenamephp/chef.cookbook.dev/pull/5) ([bastianschwarz](https://github.com/bastianschwarz))
Cookbook that contains recipes for dev tools, like vscode, chrome, openjdk ...
4
+
Makes sure bash is installed and handles bash configurations
5
5
6
6
## Requirements
7
7
@@ -15,20 +15,15 @@ Cookbook that contains recipes for dev tools, like vscode, chrome, openjdk ...
15
15
16
16
### Cookbook Depdendencies
17
17
18
-
-[resolver][resolver_url]
19
-
20
-
## Tools
21
-
-[Google Chrome][chrome_url]
22
-
-[Visual Studio Code][vscode_url]
23
-
-[DNS Masq][dnsmasq_url]
24
-
-[gnome-terminal][gnome-terminal_url]
18
+
-[apt][apt_url]
19
+
-[bashrc_manager][bashrc_manager_url]
25
20
26
21
## Usage
27
22
28
23
Add the cookbook to your Berksfile:
29
24
30
25
```ruby
31
-
cookbook 'codenamephp_dev'
26
+
cookbook 'codenamephp_bash'
32
27
```
33
28
34
29
Add the tools cookbook to your runlist, e.g. in a role:
@@ -39,46 +34,20 @@ Add the tools cookbook to your runlist, e.g. in a role:
39
34
"chef_type": "role",
40
35
"json_class": "Chef::Role",
41
36
"run_list": [
42
-
"recipe[codenamephp_dev::chrome]"
37
+
"recipe[codenamephp_bash]"
43
38
]
44
39
}
45
40
```
46
-
47
-
Note that the default recipe is a No-Op, so you need to add the tools you want
48
-
49
41
### Attributes
50
42
51
-
#### resolver
52
-
-`['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']`
43
+
There are currently no attributes.
44
+
53
45
## Recipes
54
46
55
47
### Default
56
-
The default cookbook (as stated multiple times) is a No-Op. Pick and choose the tools you want via the recipes.
57
-
58
-
### Chrome
59
-
Adds the google apt repository and installs [Google Chrome][chrome_url] from package.
60
-
61
-
### DNSMasq
62
-
Purges the [Avahi Deamon][avahi_url] which is installed at least on Ubuntu and tends to occupy ports. Also the [resolver Cookbook][resolver_url]
63
-
is used to add localhost, [Google DNS][google_dns_url] and `10.0.2.3` which is needed in [VirtualBox][virutalbox_url] for network operations to work.
64
-
The IPs can be overridden/added to via the attributes.
65
-
66
-
At last, [DNSMasq][dnsmasq_url] is installed and the local domain and all subdomains is resolved to `127.0.0.1`.
67
-
68
-
### gnome-terminal
69
-
Just installs the gnome-terminal from package.
70
-
71
-
### Unzip
72
-
Just installs unzip from package (no gui client is installed)
73
48
74
-
### VSCode
75
-
Adds the VSCode package repository to apt and installs [VSCode][vscode_url] from package.
49
+
The default recipe initializes the bashrc.d folder using the /etc/skel and for each user with uid > 1000 (so all non-system users) that have a user directory. No special
50
+
configs are added. Since all files from the folder are used, you can just add your configs as a template using your own cookbook.
0 commit comments