Created
May 10, 2013 22:04
-
-
Save jamtur01/5557777 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class { 'sensu': | |
rabbitmq_password => 'secret', | |
server => true, | |
plugins => [ | |
'puppet:///data/sensu/plugins/ntp.rb', | |
'puppet:///data/sensu/plugins/postfix.rb' | |
] | |
} |
Here's a few of my addition notes so far:
- class name based off module name when generating
test/manifests/<suite_name>.pp
---
# …
suites:
- name: server
# this value of manifest_file would be implicit if not set,
# otherwise honor an overridden value
manifest_file: test/manifests/server.pp
- name: client
# possible inlining of a manifest
manifest: |
class { 'sensu':
rabbitmq_password => 'secret',
server => true,
plugins => [
'puppet:///data/sensu/plugins/ntp.rb',
'puppet:///data/sensu/plugins/postfix.rb'
]
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
init/generator
suite - pull out chef stuff
driver -> ?
chefuploader -> add puppetuploader