Created
March 21, 2018 16:31
-
-
Save binford2k/2e8d2f1a13108ec492affbf280cb2c49 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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