Displaying 1 result from an estimated 1 matches for "fileview_".
Did you mean:
fileview
2012 Sep 27
0
Retrieve initial content of files when using audit => content
...to audit content and tag the files. The Exec does the
actual backup of the file.
== audit.pp START ==
define audit($audit_dir = $fileview::params::audit_dir, $audit_script =
$fileview::params::audit_script) {
# backup files only when it contents changes or never seen before
file { "fileview_${name}":
path => "${name}",
audit => content,
backup => main,
tag => "fileview",
}
# backup file to filebucket
exec { "fileview_audit_${name}":
command => "${audit_dir}/${audit_script} ${name}&qu...