Created
May 10, 2011 16:53
-
-
Save kwilczynski/964880 to your computer and use it in GitHub Desktop.
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
[krzysztof@development tmp]$ cat test.erb | |
<%= a[0] %> | |
[krzysztof@development tmp]$ cat test.pp | |
class test { | |
$a = ['a', 'b'] | |
file { "/tmp/test": | |
content => template("/tmp/test.erb"), | |
ensure => present, | |
} | |
} | |
include test | |
[krzysztof@development tmp]$ puppet test.pp | |
notice: //test/File[/tmp/test]/ensure: created | |
[krzysztof@development tmp]$ cat test | |
a | |
[krzysztof@development tmp]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment