search for: deleteoldlocationofmyfil

Displaying 1 result from an estimated 1 matches for "deleteoldlocationofmyfil".

2008 Nov 13
4
Moving a file with Puppet
...irective to delete the old file, but I was wondering if there was a better way to do this. So, just to clarify, I went from: file {"myfile": name => "/root/myfile", ... } to: file {"myfile": name => "/newdirectory/myfile", ... } file {"deleteoldlocationofmyfile": name => "/root/myfile", ensure => absent, } I just feel like moving the location of a file will cause bloat of configurations in puppet, but maybe I''m missing some great parameter. Thanks, Leah --~--~---------~--~----~------------~-------~--~----~ You receive...