Skip to content

Instantly share code, notes, and snippets.

@trlinkin
Created February 25, 2015 18:48
Show Gist options
  • Select an option

  • Save trlinkin/6a0fa6fd02ebdee6341c to your computer and use it in GitHub Desktop.

Select an option

Save trlinkin/6a0fa6fd02ebdee6341c to your computer and use it in GitHub Desktop.
What the hell Run Stages
stage {'1':} -> Stage['main']
class first {
notify {'simulated change':}
}
class second {
exec { '/bin/echo "I should not have run"':
refreshonly => true,
logoutput => true,
subscribe => Notify['simulated change']
}
}
class { 'first':
stage => 1,
}
class { 'second': }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment