Commit 37b333f7 authored by Andreas Kempe's avatar Andreas Kempe
Browse files

blacklistd: use file_line in /etc/rc.conf

The configuration fragments in /etc/rc.conf.d won't apply correctly.
Move the configuration to /etc/rc.conf instead.
parent 163c038f
blacklistd_enable="YES"
sshd_flags="-o UseBlacklist=yes"
#
class freebsd::blacklistd {
file { '/etc/rc.conf.d/blacklistd':
ensure => file,
source => 'puppet:///modules/freebsd/blacklistd',
owner => 'root',
group => 'wheel',
mode => '0644',
file_line { 'Enable blacklistd':
path => '/etc/rc.conf',
line => 'blacklistd_enable="YES"',
}
file { '/etc/ipfw-blacklistd.rc':
content => '',
owner => 'root',
group => 'wheel',
mode => '0644',
file_line { 'Enable blacklistd support in sshd':
path => '/etc/rc.conf',
line => 'sshd_flags="-o UseBlacklist=yes"',
}
}
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