contactpunitjain@gmail.com
2014-May-01 13:29 UTC
[Puppet Users] Revert configuration file to old state if content changes
Hi, I am using puppet enterprise 3.x . I have a manifest used to install and manage custom application on my client node. Part of manifest is :- file { 'app_config': ensure => directory, mode => 0644, path => '/etc/cmas/app_config', source => 'puppet:///modules/cmas/app_config', recurse => true, } file { 'config.xml': audit => "content", path => '/etc/cmas/app_config/config.xml', } I want if file config.xml is changed, it should get back to old one from source in next puppet run. is it possible to do it ? Thanks and Regards, Punit -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0c27eef1-e593-4d1e-90c8-3e3d40d2e1ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.