Skip to content

Instantly share code, notes, and snippets.

@binford2k
Created April 21, 2017 19:56
Show Gist options
  • Save binford2k/3808bc2152cec94ec98acfcac31a8a5d to your computer and use it in GitHub Desktop.
Save binford2k/3808bc2152cec94ec98acfcac31a8a5d to your computer and use it in GitHub Desktop.
# this blows up with Error while evaluating a Resource Statement, Could not find stage last specified by Class[Test]
class {'test':
stage => 'last',
msg => 'boo',
}
stage { 'last': }
Stage['main'] -> Stage['last']
class test ($msg) {
notify { $msg: }
}
# this works
# class {'test':
# stage => 'last',
# msg => 'boo',
# }
notify { 'blahblah': }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment