Skip to content

Commit

Permalink
added client role file.
Browse files Browse the repository at this point in the history
  • Loading branch information
khudgins committed Dec 9, 2011
1 parent 0e377ed commit 013ea09
Showing 1 changed file with 26 additions and 7 deletions.
33 changes: 26 additions & 7 deletions chef/roles/zenoss-server.rb
@@ -1,9 +1,28 @@
name "zenoss-server"
description "Zenoss Server Role"
run_list(
"recipe[zenoss::api]",
"recipe[zenoss::monitor]"
)
default_attributes()
override_attributes()
description "Role to use as basis for configuring Zenoss Server"
#a number of server attributes are available for customization
#you may want to set the [:zenoss][:server][:admin_password]
default_attributes(
"zenoss" => {
"device" => {
"properties" => {
"zCommandUsername" => "zenoss",
"zKeyPath" => "/home/zenoss/.ssh/id_dsa",
"zMySqlPassword" => "zenoss",
"zMySqlUsername" => "zenoss"
}
}
}
)

override_attributes(
"zenoss" => {
"device" => {
"device_class" => "/Server/SSH/Linux"
}
}
)

run_list(
"recipe[zenoss::server]"
)

0 comments on commit 013ea09

Please sign in to comment.