Displaying 1 result from an estimated 1 matches for "fileview_audit_".
2012 Sep 27
0
Retrieve initial content of files when using audit => content
...# 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}",
timeout => 10, # command should succeed within 10 seconds
logoutput => on_failure,
refreshonly => true,
subscribe => File["fileview_${name}"],
}
}
==...