Verified Commit c40acf1c authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more puppet4 cleanups

parent f0bf1edb
...@@ -3,9 +3,11 @@ ...@@ -3,9 +3,11 @@
# Install or remove an iptables fragment. All fragments should be located in # Install or remove an iptables fragment. All fragments should be located in
# the iptables module so that we have some central management of them. # the iptables module so that we have some central management of them.
define base::iptables::fragment($ensure, define base::iptables::fragment(
$source=NOSRC, $ensure,
$content=NOCONTENT) { $source = 'NOSRC',
$content = 'NOCONTENT'
) {
$realname = "/etc/iptables.d/$name" $realname = "/etc/iptables.d/$name"
$codename = "iptables::fragment" $codename = "iptables::fragment"
$basefile = "puppet:///modules/base/iptables/fragments/$name" $basefile = "puppet:///modules/base/iptables/fragments/$name"
......
...@@ -6,13 +6,13 @@ class base::tripwireclient { ...@@ -6,13 +6,13 @@ class base::tripwireclient {
file { file {
'/etc/cron.daily/tripwire': '/etc/cron.daily/tripwire':
source => 'puppet:///modules/base/tripwireclient/etc/cron.daily/tripwire', source => 'puppet:///modules/base/tripwireclient/etc/cron.daily/tripwire',
mode => 755; mode => '0755';
'/etc/filter-syslog/tripwire': '/etc/filter-syslog/tripwire':
source => 'puppet:///modules/base/tripwireclient/etc/filter-syslog/tripwire'; source => 'puppet:///modules/base/tripwireclient/etc/filter-syslog/tripwire';
'/etc/tripwire': '/etc/tripwire':
ensure => directory, ensure => directory,
mode => 755; mode => '0755';
'/etc/tripwire/config': '/etc/tripwire/config':
source => 'puppet:///modules/base/tripwireclient/etc/tripwire/config'; source => 'puppet:///modules/base/tripwireclient/etc/tripwire/config';
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment