Tim Arnold
2014-Aug-14 16:44 UTC
[Puppet Users] How can managed directory be updated after an rpm is upgraded?
I want to 'manage' the files in a certain directory ONLY if the rpm is updated. Any help is appreciated. For example (this doesn't work): package { 'package-name' : ensure => 'Version-2', provider => 'rpm', } file { '/home/thisuser/.java' : ensure => directory, subscribe => Package['package-name'], recurse => true, purge => true, force => true, backup => false, source => 'puppet:///modules/test/home/thisuser/.java', } -- 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/dfdda8af-df09-4fbd-b395-1a419d532564%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.