Skip to content

Instantly share code, notes, and snippets.

@supercow
Created April 25, 2013 18:09
Show Gist options
  • Save supercow/5461812 to your computer and use it in GitHub Desktop.
Save supercow/5461812 to your computer and use it in GitHub Desktop.
package { 'A':
ensure => $version,
}
if $::package_a_version != $version {
exec { 'do something reasonable':
subscribe => Package['A'],
notify => Resource['the_next_thing'],
}
}
resource { 'the_next_thing':
ensure => something,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment