Commit e33e98e2 authored by Andreas Kempe's avatar Andreas Kempe
Browse files

firewall: 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 37b333f7
firewall_enable="YES"
firewall_type="open"
# #
class freebsd::firewall::open { class freebsd::firewall::open {
file { '/etc/rc.conf.d/firewall-open': file_line { 'Enable firewall':
ensure => file, path => '/etc/rc.conf',
source => 'puppet:///modules/freebsd/firewall-open', line => 'firewall_enable="YES"',
owner => 'root', }
group => 'wheel', file_line { 'Set type to open':
mode => '0644', path => '/etc/rc.conf',
line => 'firewall_type="open"',
} }
} }
Supports Markdown
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