Hello All,
I'm not sure what I'm missing here, but when defining a file
resource, to use as my yum repo, I can't seem to be able to purge
other files in the directory. For instance, I just want to have
base.repo under /etc/yum.repos.d/, so I'm using:
file { "/etc/yum.repos.d/base.repo":
owner => root,
group => root,
mode => 0644,
purge => true,
recurse => true,
force => true,
replace => true,
content => template("yum/base.repo.erb")
}
The code creates the file, but fails to purge the rest of the data in
that dir. Can anyone see what I'm missing here?
Thanks,
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.