Last active
December 12, 2015 09:59
-
-
Save lindenle/4756005 to your computer and use it in GitHub Desktop.
puppet range inline
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
in command line: | |
puppet apply -e '$a=inline_template("<%= (1..10).step(2).to_a -%>") notify { "$a" : }' | |
in node: | |
$odd_ch=inline_template("<%= (1..71).step(2).to_a -%>") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failed to parse inline template: no block given at /vagrant/ril_nodes/manifests/sites.d/mum1.r4g.com.d/stval01p1.pp:77 on node