Displaying 1 result from an estimated 1 matches for "puppet_test".
Did you mean:
puppet_temp
2012 Jan 11
4
Exported and Collected Resource With User Defined Resource Broken?
...<<| |>> { ensure => present }
# This works fine
Myresource <| |> { ensure => present }
# This works fine
myresource { "${::hostname}-extra": ensure => present }
}
define myresource($ensure = present) {
file { "/tmp/puppet_test$name": ensure => $ensure }
}
For reference, after running this on "hmaster" I have:
[hadmin@hmaster ~]$ ls -l /tmp/*hmaster*
-rw-r--r-- 1 root root 0 Jan 11 07:54 /tmp/puppet_testhmaster
-rw-r--r-- 1 root root 0 Jan 11 07:54 /tmp/puppet_testhmaster-extra
-rw-r--r-- 1 root root 0...