projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bd0f9c1
)
Bring the osmbackup account under chef control
author
Tom Hughes
<tom@compton.nu>
Thu, 20 Jun 2013 17:52:17 +0000
(18:52 +0100)
committer
Tom Hughes
<tom@compton.nu>
Thu, 20 Jun 2013 17:52:17 +0000
(18:52 +0100)
roles/horntail.rb
patch
|
blob
|
history
roles/ramoth.rb
patch
|
blob
|
history
diff --git
a/roles/horntail.rb
b/roles/horntail.rb
index 4d39240209292e24ea79d3757946fc9e3de56210..0512ddb5eea35383ff5a086f70d5a28258ce8b6a 100644
(file)
--- a/
roles/horntail.rb
+++ b/
roles/horntail.rb
@@
-4,6
+4,7
@@
description "Master role applied to horntail"
default_attributes(
:accounts => {
:users => {
+ :osmbackup => { :status => :role },
:gravitystorm => { :status => :user }
}
},
diff --git
a/roles/ramoth.rb
b/roles/ramoth.rb
index 927c349a28f41e11b75bf13bb56e235c2882b035..f93a38d58659e5cbbe4953c3682c241e66d0bffb 100644
(file)
--- a/
roles/ramoth.rb
+++ b/
roles/ramoth.rb
@@
-2,6
+2,11
@@
name "ramoth"
description "Master role applied to ramoth"
default_attributes(
+ :accounts => {
+ :users => {
+ :osmbackup => { :status => :role }
+ }
+ },
:db => {
:cluster => "9.1/main"
},
@@
-61,5
+66,6
@@
default_attributes(
run_list(
"role[ic]",
- "role[db-master]"
+ "role[db-master]",
+ "role[db-backup]"
)