Re: [Puppet Users] How can managed directory be updated after an rpm is upgraded?

2014-08-14 Thread Christopher Wood
If somebody came to me with this question at work, I'd ask why they aren't already managing the files in the directory to eliminate this dependency. There's no "refreshonly" for files like there is for execs per the type list, so you're out of luck there ("not all types can refresh"). https://d

[Puppet Users] How can managed directory be updated after an rpm is upgraded?

2014-08-14 Thread Tim Arnold
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, subscri