On Tue, Jun 07, 2011 at 07:10:22AM -0700, jcbollinger wrote: > > > On Jun 6, 6:40 pm, Larry Ludwig <larry...@gmail.com> wrote: > > I have an issue where for a file type of an exported resource I must define > > as such: > > > > force => false, > > replace => false, > > > > Meaning the file is created, but do not replace after it's added. I do this > > because of the app modifies the config file after (I know bad idea on their > > part). > > > > How can I ensure this file is removed when I remove the node from the > > storeconfig database? >
You can download the puppet sources. In the ext Directory you'll find a script »puppetstoredconfigclean.rb NODE_TO_BE_REMOVED«. AFAIK the script will set the ensure property of all exported resources of the specified host to absent. -Stefan
pgpgxqMYrkKKj.pgp
Description: PGP signature