Displaying 1 result from an estimated 1 matches for "files_array".
2012 Sep 27
0
Retrieve initial content of files when using audit => content
..."/etc/httpd/conf/magic\"]"
When I use this in my manifest this works and the files goto bucket. I get
the bucket md5 sum for each file in the same run using a wrapper script.
In my manifest I iterate of the items in $::audit_files
== init.pp START ==
if $::audit_files {
$files_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_d...