Try adding
ensure => directory
To your File[/etc] resource.
On Jan 25, 2010, at 4:25 PM, Anchi Zhang <anchi.zh...@gmail.com> wrote:
My simple site.pp below would work.
node default { include solaris }
class solaris {
file { "/etc/motd":
source => "puppet:///files-solaris/etc/motd",
recurse => true,
}
}
But, if "/motd" is removed, files under /etc would not get updated.
node default { include solaris }
class solaris {
file { "/etc":
source => "puppet:///files-solaris/etc",
recurse => true,
}
}
err: //solaris/File[/etc]: Failed to generate additional resources
using 'eval_generate': Cannot manage files of type unknown
Anchi
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To post to this group, send email to puppet-us...@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
.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@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.