#!/usr/bin/env puppet$x="10"if$x>2 {
notify {"x is greater than two": }
} else {
notify {"x is not greater than two": }
}
$y=10if$y>2 {
notify {"y is greater than two": }
} else {
notify {"y is not greater than two": }
}
output (plain_text)
aj@junglist /tmp$ ./test.pp --debug
debug: Creating default schedules
debug: //Notify[y is not greater than two]: Changing message
debug: //Notify[y is not greater than two]: 1 change(s)
notice: y is not greater than two
debug: //Notify[x is not greater than two]: Changing message
debug: //Notify[x is not greater than two]: 1 change(s)
notice: x is not greater than two
debug: Finishing transaction -612211508 with 2 changes