Displaying 1 result from an estimated 1 matches for "audit_dir".
Did you mean:
audiodir
2012 Sep 27
0
Retrieve initial content of files when using audit => content
...s_array = parsejson($::audit_files)
notify {
$files_array :
}
audit {
$files_array :
}
}
== init.pp END ==
I have a define 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 =&...