Skip to content

Commit 51e7731

Browse files
authored
Merge pull request #3 from jantman/bump-sudo
Bump sudo
2 parents 26f3e76 + 23c407b commit 51e7731

File tree

9 files changed

+27
-99
lines changed

9 files changed

+27
-99
lines changed

.fixtures.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,5 @@ fixtures:
1313
sysctl: "https://github.com/duritong/puppet-sysctl.git"
1414
inifile: "https://github.com/puppetlabs/puppetlabs-inifile.git"
1515
ssh: "https://github.com/saz/puppet-ssh.git"
16-
##############################################
17-
### jantman personal module - private repo ###
18-
##############################################
19-
privatepuppet:
20-
repo: "git@github.com:jantman/privatepuppet.git"
2116
symlinks:
2217
workstation_bootstrap: "#{source_dir}"

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.1.1
1+
ruby-2.2.5

.travis.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
sudo: false
33
language: ruby
44
bundler_args: --without system_tests
5+
before_install: rm Gemfile.lock || true
56
script: "bundle exec rake validate lint spec SPEC_OPTS='--format documentation'"
6-
matrix:
7-
fast_finish: true
8-
include:
9-
- rvm: 2.1.5
10-
env: PUPPET_GEM_VERSION="~> 3.8" FUTURE_PARSER="yes"
11-
- rvm: 2.1.6
12-
env: PUPPET_GEM_VERSION="~> 4.2.1" STRICT_VARIABLES="yes"
7+
rvm:
8+
- 2.3
9+
env:
10+
- PUPPET_VERSION="~> 4.0"
1311
notifications:
1412
email: false

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2017-07-09 Release 1.1.0
2+
- bump saz/sudo requirement per jantman/puppet-archlinux-workstation
3+
14
2017-05-07 Release 1.0.0
25
- allow disabling global firewall module purge via hiera setting
36

Gemfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@ def location_for(place, fake_version = nil)
1111
end
1212

1313
group :development, :unit_tests do
14-
gem 'rspec-core', '3.1.7', :require => false
14+
if RUBY_VERSION < '1.9'
15+
gem 'rspec-core', '3.1.7'
16+
else
17+
# newer version required to avoid BKR-537
18+
gem 'rspec-core', '>= 3.4'
19+
end
1520
gem 'puppetlabs_spec_helper', :require => false
1621
gem 'simplecov', :require => false
1722
gem 'puppet_facts', :require => false
1823
gem 'json', :require => false
1924
gem 'metadata-json-lint', :require => false
25+
gem 'rake', '< 11.0', :require => false
2026
end
2127

2228
group :system_tests do
23-
gem 'beaker', :git => 'https://github.com/jantman/beaker.git', :branch => 'archlinux'
29+
gem 'beaker', '~> 3.7.0'
2430
if beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION']
2531
gem 'beaker-rspec', *location_for(beaker_rspec_version)
2632
else
@@ -38,7 +44,7 @@ else
3844
gem 'facter', :require => false
3945
end
4046

41-
if puppetversion = ENV['PUPPET_GEM_VERSION']
47+
if puppetversion = ENV['PUPPET_VERSION']
4248
gem 'puppet', puppetversion, :require => false
4349
else
4450
gem 'puppet', :require => false

manifests/firewall_pre.pp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@
88
firewall { '000 accept all icmp':
99
proto => 'icmp',
1010
action => 'accept',
11-
}->
12-
firewall { '001 accept all to lo interface':
11+
}
12+
-> firewall { '001 accept all to lo interface':
1313
proto => 'all',
1414
iniface => 'lo',
1515
action => 'accept',
16-
}->
17-
firewall { '002 reject local traffic not on loopback interface':
16+
}
17+
-> firewall { '002 reject local traffic not on loopback interface':
1818
iniface => '! lo',
1919
proto => 'all',
2020
destination => '127.0.0.1/8',
2121
action => 'reject',
22-
}->
23-
firewall { '003 accept related established rules':
22+
}
23+
-> firewall { '003 accept related established rules':
2424
proto => 'all',
2525
ctstate => ['RELATED', 'ESTABLISHED'],
2626
action => 'accept',
27-
}->
28-
firewall { '004 accept SSH':
27+
}
28+
-> firewall { '004 accept SSH':
2929
dport => 22,
3030
proto => 'tcp',
3131
action => 'accept',

puppet/Puppetfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mod 'archlinux_macbookretina',
2525

2626
### module dependencies ###
2727
mod 'puppetlabs/stdlib', '4.9.0'
28-
mod 'saz/sudo', '3.1.0' # dependency of jantman/archlinux_workstation
28+
mod 'saz/sudo', '4.2.0' # dependency of jantman/archlinux_workstation
2929
mod 'saz/ssh', '2.8.1' # dependency of jantman/archlinux_macbookretina
3030
mod 'puppetlabs/concat', '1.2.4' # dependency of saz/ssh
3131
mod 'puppetlabs/firewall', '1.8.0'

puppet/hiera/user_config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ archlinux_workstation::ssh::extra_options:
1313
PubkeyAcceptedKeyTypes: +ssh-dss
1414
archlinux_workstation::ssh::allow_users:
1515
- jantman
16-
- jackie
1716

1817
classes:
1918
- privatepuppet

spec/hosts/anyhost_spec.rb

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)