Created
November 30, 2018 22:32
-
-
Save pbrandiezs/e6067a393e04546ab2140f43884c35ae to your computer and use it in GitHub Desktop.
Puppet example of iterating through using each
This file contains 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
$values = ['aaa', 'bbb', 'ccc', 'ddd'] | |
$values.each | String $value | { | |
notify { $value: | |
message => "Value is ${value}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment