File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 16
16
}
17
17
18
18
service { $::powerdns::params::authoritative_service :
19
+ enable => true ,
19
20
ensure => running ,
20
21
require => Package[$::powerdns::params::authoritative_package ],
21
22
}
Original file line number Diff line number Diff line change 5
5
}
6
6
7
7
service { $::powerdns::params::recursor_service :
8
+ enable => true ,
8
9
ensure => running ,
9
10
require => Package[$::powerdns::params::recursor_package ],
10
11
}
11
- }
12
+ }
Original file line number Diff line number Diff line change 64
64
it { is_expected . to contain_class ( 'powerdns::authoritative' ) }
65
65
it { is_expected . to contain_package ( authoritative_package_name ) . with ( 'ensure' => 'installed' ) }
66
66
it { is_expected . to contain_service ( authoritative_service_name ) . with ( 'ensure' => 'running' ) }
67
+ it { is_expected . to contain_service ( authoritative_service_name ) . with ( 'enable' => 'true' ) }
67
68
it { is_expected . to contain_service ( authoritative_service_name ) . that_requires ( 'Package[%s]' % [ authoritative_package_name ] ) }
68
69
end
69
70
139
140
it { is_expected . to contain_class ( 'powerdns::recursor' ) }
140
141
it { is_expected . to contain_package ( recursor_package_name ) . with ( 'ensure' => 'installed' ) }
141
142
it { is_expected . to contain_service ( recursor_service_name ) . with ( 'ensure' => 'running' ) }
143
+ it { is_expected . to contain_service ( recursor_service_name ) . with ( 'enable' => 'true' ) }
142
144
it { is_expected . to contain_service ( recursor_service_name ) . that_requires ( 'Package[%s]' % [ recursor_package_name ] ) }
143
145
end
144
146
You can’t perform that action at this time.
0 commit comments