Hello Does anybody share how to roll-back configuration if puppet definition on host is change. For example Let's assume we have host on which initial was web server and bunch of users. All this resources we configured throw puppet.
node <some node> { <webserver difinition> <user1 definition> <user2 definition> <user3 definition> } At some point we decide to remove user2 so node config now looks like: node <some node> { <webserver difinition> <user1 definition> <user3 definition> } but how to remove all user2 stuff that was on host? Undoubtedly we can rewrite node definition like this: node <some node> { <webserver difinition> <user1 definition> <remove user2 definition> <user3 definition> } But imho this doesn't look very good, becouse user removed only one time, but node definition will be apply periodical. Also this concerns webserver and other resources configured throw puppet. How cleanup if resource definition will be removed from node? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.