Skip to content

Instantly share code, notes, and snippets.

@cwebberOps
Created June 17, 2011 14:33
Show Gist options
  • Save cwebberOps/1031530 to your computer and use it in GitHub Desktop.
Save cwebberOps/1031530 to your computer and use it in GitHub Desktop.
Variable Assignment in puppet
$variable = true #default
if condition {
$variable = false
}
if other_condition {
$variable = fasle
}
@robinbowes
Copy link

$variable = not (condition or other_condition)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment