Skip to content

Instantly share code, notes, and snippets.

@binford2k
Created March 21, 2018 16:31
Show Gist options
  • Save binford2k/2e8d2f1a13108ec492affbf280cb2c49 to your computer and use it in GitHub Desktop.
Save binford2k/2e8d2f1a13108ec492affbf280cb2c49 to your computer and use it in GitHub Desktop.
09:30 $ puppet apply test.pp
Notice: Scope(Class[main]): this is a
Notice: Scope(Class[main]): itsa b!
Notice: Scope(Class[main]): always the right answer
Notice: Compiled catalog for ganymede.local in environment production in 0.17 seconds
Notice: Applied catalog in 0.03 seconds
class someclass {
$a = 'this is a'
$b = 'itsa b!'
$c = 'always the right answer'
}
include someclass
[$a, $b, $c] = Class['someclass']
notice($a)
notice($b)
notice($c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment