delete files from Master server

19 views
Skip to first unread message

Satish Katuru

unread,
Jul 8, 2014, 5:05:48 AM7/8/14
to puppet...@googlegroups.com
Hi ,

My intention is to deleted the files from Master server once the deployment is over on agent machines.

How can i achieve this?

Once I execute puppet agent -t  deployment will be done on agent machine.After this I wanted to remove files from master server.

Help me out on this?

Sathish.


jcbollinger

unread,
Jul 8, 2014, 9:01:26 AM7/8/14
to puppet...@googlegroups.com


If that's your intention, then why are you storing the files on the master even transiently?

Puppet is a configuration management system.  Part of that is updating machine configuration as appropriate, but if you leave it there then you are missing half the picture.  Puppet is designed to also maintain the state it sets.  That's a long way of saying that Puppet has no mechanism for what you request, as it runs counter to the system's design objectives.


John

Reply all
Reply to author
Forward
0 new messages