Skip to content

Commit

Permalink
test new crowbar.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khudgins committed Dec 19, 2011
1 parent f2ae022 commit 0685280
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
24 changes: 24 additions & 0 deletions chef/roles/zenoss-client.rb
@@ -0,0 +1,24 @@
name "zenoss-client"
description "Linux monitoring via SSH"
#use the default modeler_plugins and templates for the device class
default_attributes(
"zenoss" => {
"device" => {
"properties" => {
"zCommandUsername" => "zenoss",
"zKeyPath" => "/home/zenoss/.ssh/id_dsa"
}
}
}
)

override_attributes(
"zenoss" => {
"device" => {
"device_class" => "/Server/SSH/Linux",
}
}
)
run_list(
"recipe[zenoss::client]"
)
15 changes: 5 additions & 10 deletions crowbar.yml
Expand Up @@ -30,27 +30,22 @@ barclamp:
# Requires allows you to declare that this barclamp relies on
# another barclamp to provide some of its functionality.
# All barclamps implicitly rely on the crowbar barclamp.
requires:
# - another-barclamp # rely on a single other barclamp
# - @barclamp-group # rely on another group of barclamps.
# Member allows you to declare that this barclamp is a member
# of a group of related barclamp. A barclamp can be a member of
# muliple groups, and a group name can be used instead of a barclamp
# in a requires: clause by prefixing it with an @ sign.
member:
# member:
# - barclamp-group
# - another-barclamp-group
# Os_support allows you to declare that this barclamp only supports
# specific operating systems. If you don't have an os_support
# section, Crowbar will assume the barclamp works on all the operating
# systems it supports.
os_support:
# os_support:
# - redhat-5.6
- ubuntu-10.10
# - ubuntu-10.10

crowbar:
layout: 1
order: 100
run_order: 100
chef_order: 1070
proposal_schema_version: 2

nav:
Expand Down

0 comments on commit 0685280

Please sign in to comment.