resources { 'yumrepo': purge => true, }
But when I tried to run it, I get this:
err: Failed to apply catalog: Parameter purge failed: Purging is only supported on types that accept 'ensure' at /etc/puppet/manifests/nodes/....
Is there an alternative, non-messy way to do what that statement should do for me ?
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
While I don't have a workaround for you, there is a featurerequest to
accomplish resource purging
http://projects.puppetlabs.com/issues/9293
-Stefan
I will trash my way around it one way or another, and if I come up with any neato tricks for removal of a repo, I will contact the list and/or the Feature Assignee :)
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
Looks like it will do the job
All it needs are a few yum commands to run whenever the file changes to refresh the local databse.
I will tinker with that and report back to the list.
Pay It Forward !
Share & Enjoy !
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/62XjufqJOh8J.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>