Hi group.
I have such construction:
node "hostname" {
 $passwd = "222"
 include myclass
}

class myclass {
 $passwd = "111"
file { "/var/tmp/myclass.conf":
  owner => root,
  group => wheel,
  mode  => 640,
  backup        => false,
  content       => template("myclass.conf"),
  require       => file["/var/tmp"],
 }
}

and myclass.conf content is
"my_passwd="<%= passwd %>""

and when i exec puppetd, then "cat /var/tmp/myclass.conf" output "111"
but as i`ve seen in puppet book my construction must have in output
"222"

pls tell me the true :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to