Skip to content

Commit df3cb14

Browse files
committed
Merge branch 'release/1.2.1'
2 parents 066a9c5 + 1b0aa4d commit df3cb14

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ bundle exec rake spec_prep
408408
BEAKER_destroy=onpass bundle exec rake beaker:debian7
409409
BEAKER_destroy=onpass bundle exec rake beaker:debian8
410410
BEAKER_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
412412
BEAKER_destroy=onpass BEAKER_PUPPET_COLLECTION=puppet5 bundle exec rake beaker:centos8
413413
BEAKER_destroy=onpass bundle exec rake beaker:ubuntu1404
414414
BEAKER_destroy=onpass bundle exec rake beaker:ubuntu1604

manifests/install.pp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
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',

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

spec/classes/csf_install_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
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]') }

0 commit comments

Comments
 (0)