Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat livcd.pp
- node default {
- contain roles::foo_box
- }
- class roles::foo_box {
- include profiles::base
- include profiles::dev
- Class['profiles::base'] -> Class['profiles::dev']
- }
- class profiles::dev {
- }
- class profiles::base {
- contain foobar
- }
- class foobar {
- notify { 'YAHOOO': }
- }
- $ puppet apply livcd.pp
- Notice: Compiled catalog for tamborine.corp.puppetlabs.net in environment production in 0.05 seconds
- Notice: YAHOOO
- Notice: /Stage[main]/Foobar/Notify[YAHOOO]/message: defined 'message' as 'YAHOOO'
- Notice: Applied catalog in 0.02 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement