Skip to content

Instantly share code, notes, and snippets.

@llowder
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llowder/a455dd2e8d7ceddf9abc to your computer and use it in GitHub Desktop.
Save llowder/a455dd2e8d7ceddf9abc to your computer and use it in GitHub Desktop.
class xport_test {
include xport_test::tag_function_test
include xport_test::resource_default_test
include xport_test::tag_array_on_resource_test
include xport_test::tag_text_on_resource_test
Notify <<| tag == 'foo_bar' |>>
}
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_function_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_function_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_function_test
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_function_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_array_on_resource_test
Notice: split-console.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_text_on_resource_test
Notice: split-master.corp.puppetlabs.net reporting from xport_test::tag_function_test
Notice: split-puppetdb.corp.puppetlabs.net reporting from xport_test::tag_function_test
class xport_test::resource_default_test {
Notify { tag => [ 'foo_bar' ], }
@@notify { "${::fqdn} reporting from xport_test::resource_default_test": }
}
class xport_test::tag_array_on_resource_test {
@@notify {
"${::fqdn} reporting from xport_test::tag_array_on_resource_test":
tag => [ 'foo_bar' ],
}
}
class xport_test::tag_function_test {
tag 'foo_bar'
@@notify { "${::fqdn} reporting from xport_test::tag_function_test": }
}
class xport_test::tag_text_on_resource_test {
@@notify {
"${::fqdn} reporting from xport_test::tag_text_on_resource_test":
tag => 'foo_bar',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment