On 11/24/11 5:58 AM, Iain Sutton wrote:
Aside: do you perhaps mean
source => file("/home/$::realuser/puppet/files/smb.conf"),
instead of
content => file("/home/$::realuser/puppet/files/smb.conf"),
?
No, I'm using content =>, and it works if I use actual strings instead
of variables.
Do you have any lines like:
notice("the value of realuser is ${realuser} and ::realuser is
${::realuser} ")
in your manifest to confirm what the variables might actually contain?
I've added your line as suggested but as soon as I import the manifest
file that uses those variables, it doesn't compile:
Could not find any files from /home//puppet/files/smb.conf at
/home/alex/puppet/manifests/samba.pp:7 on node blah
--
Alexander Fortin
http://about.me/alexanderfortin/
--
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.