File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ bundle exec rake spec_prep
408408BEAKER_destroy=onpass bundle exec rake beaker:debian7
409409BEAKER_destroy=onpass bundle exec rake beaker:debian8
410410BEAKER_destroy=onpass bundle exec rake beaker:centos6
411- BEAKER_destroy=onpass bundle exec rake beaker:centos7
411+ BEAKER_destroy=onpass BEAKER_PUPPET_COLLECTION=puppet5 bundle exec rake beaker:centos7
412412BEAKER_destroy=onpass BEAKER_PUPPET_COLLECTION=puppet5 bundle exec rake beaker:centos8
413413BEAKER_destroy=onpass bundle exec rake beaker:ubuntu1404
414414BEAKER_destroy=onpass bundle exec rake beaker:ubuntu1604
Original file line number Diff line number Diff line change 88 }
99 }
1010
11+ package { 'iptables' :
12+ ensure => installed,
13+ before => Exec[' csf-install' ],
14+ }
15+
1116 package { 'csf-perl' :
1217 ensure => installed,
1318 name => ' perl' ,
Original file line number Diff line number Diff line change 11{
22 "name" : " sensson-csf" ,
3- "version" : " 1.2.0 " ,
3+ "version" : " 1.2.1 " ,
44 "author" : " sensson" ,
55 "license" : " Apache-2.0" ,
66 "summary" : " A module to manage ConfigServer Firewall and the Login Failure Daemon" ,
Original file line number Diff line number Diff line change 2323 it { is_expected . to contain_exec ( 'csf-install' ) . with ( 'notify' => 'Service[csf]' ) }
2424 it { is_expected . to contain_exec ( 'csf-install' ) . with ( 'require' => 'Package[csf-perl]' ) }
2525
26+ it { is_expected . to contain_package ( 'iptables' ) . with ( 'ensure' => 'installed' ) }
27+
2628 if facts [ :operatingsystem ] == 'CentOS' && facts [ :operatingsystemmajrelease ] . to_i < 7
2729 it { is_expected . to contain_package ( 'iptables-ipv6' ) . with ( 'ensure' => 'installed' ) }
2830 it { is_expected . to contain_package ( 'iptables-ipv6' ) . with ( 'before' => 'Exec[csf-install]' ) }
You can’t perform that action at this time.
0 commit comments