Created
June 17, 2011 14:33
-
-
Save cwebberOps/1031530 to your computer and use it in GitHub Desktop.
Variable Assignment in puppet
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
$variable = true #default | |
if condition { | |
$variable = false | |
} | |
if other_condition { | |
$variable = fasle | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$variable = not (condition or other_condition)