On Friday, April 17, 2015 at 8:43:27 AM UTC-5, Ken Barber wrote: > > > Unfortunately, this only works for resource types that have an 'ensure' > > parameter, which Yumrepo does not. > > I was under the impression yumrepo was ensureable now: > > https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/yumrepo.rb#L16-L17 > > and https://docs.puppetlabs.com/references/latest/type.html#yumrepo > >
Well, darn. I even checked the type reference before posting, but it looks like I somehow landed on an older version. Nevertheless, if it were desirable to purge the directory in order to also remove unmanaged files that do not correspond to repos, then Resources wouldn't cut it. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/aad80ce7-50a4-4a52-8954-1593a6205d5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.