Skip to content

Commit

Permalink
Be less verbose on merging/testing/deploying
Browse files Browse the repository at this point in the history
Fixes #46
  • Loading branch information
faxm0dem committed Aug 29, 2023
1 parent 038ea1d commit 76143c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions manifests/parser.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,18 @@
exec { "patterndb::merge::${name}":
command => "pdbtool merge -r --glob \\*.pdb -D ${patterndb::pdb_dir}/${name} -p ${patterndb::temp_dir}/patterndb/${name}.xml",
path => $facts['path'],
logoutput => true,
refreshonly => true,
}

exec { "patterndb::test::${name}":
#command => "/usr/bin/pdbtool --validate test ${::patterndb::temp_dir}/patterndb/${name}.xml $modules",
command => "pdbtool test ${patterndb::temp_dir}/patterndb/${name}.xml ${modules}",
path => $facts['path'],
logoutput => true,
refreshonly => true,
}

exec { "patterndb::deploy::${name}":
command => "cp ${patterndb::temp_dir}/patterndb/${name}.xml ${patterndb::base_dir}/var/lib/syslog-ng/patterndb/",
logoutput => true,
path => $facts['path'],
refreshonly => true,
}
Expand Down

0 comments on commit 76143c3

Please sign in to comment.