projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f27192
)
Add role for grindtooth
author
Tom Hughes
<tom@compton.nu>
Sun, 9 Feb 2014 09:51:18 +0000
(09:51 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 9 Feb 2014 09:51:27 +0000
(09:51 +0000)
roles/grindtooth.rb
[new file with mode: 0644]
patch
|
blob
diff --git a/roles/grindtooth.rb
b/roles/grindtooth.rb
new file mode 100644
(file)
index 0000000..
f5eb3af
--- /dev/null
+++ b/
roles/grindtooth.rb
@@ -0,0
+1,19
@@
+name "grindtooth"
+description "Master role applied to grindtooth"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :internal_ipv4 => {
+ :interface => "eth0",
+ :role => :internal,
+ :family => :inet,
+ :address => "10.0.0.19"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[ucl-internal]"
+)