Displaying 1 result from an estimated 1 matches for "tidy_opt".
2012 Oct 04
2
Remove directory
.../opt/1234
/opt/12345
/opt/123456
What I need to do, is rm the the above directories when we roll out
1234567.zip. When the newest directory (1234567) is unzipped, the Puppet
exec sym links it to /opt/java. So could I remove the older directores that
are not sym linked?
Maybe using:
tidy { tidy_opt:
path => "/opt/",
age => "1d",
backup => false,
matches => [ "some nice ruby here that finds the non sym linked directories??" ],
}
Hope this makes sense?
Thanks,
--
You received this message because you ar...