Hello readers,

I might have the need for something like "delete all unmanaged files".
Explanation: I am creating a bunch of apache config files, which contain
information about the hostname and the port they're listening on. Now if I
change the host name - or the port - the last generated file keeps sitting
there, and does nothing in the best case (rarely ;), and provokes errors in
all others.

Now because _all_ config files in those directories are generated by me &
puppet I wondered if there's a method to find out which files are _not_
genereated by puppet, and simply delete them.

Any ideas, anyone? :)
Thanks in advance,

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/-/AiDCGOSj-awJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppuppet-users @
postedAug 8, '12 at 5:53a
activeAug 10, '12 at 12:30p

2 users in discussion

Axel Bock: 2 posts Calvin Walton: 1 post



site design / logo © 2022 Grokbase