| # Testing file with md5 hash | |
| # Each unique content file could be tested once per manifest | |
| define cast_builder::test_md5 ($md5, $path = $title) { | |
| exec { "test_${path}": | |
| path => '/bin:/usr/bin', | |
| command => "md5sum ${path} | grep ${md5}", | |
| user => root, | |
| } | |
| } |