Skip to content

Commit f8ea80c

Browse files
committed
Merge branch 'production' into feature/expanded_custom_facts
2 parents bcca8dd + 68d7516 commit f8ea80c

25 files changed

Lines changed: 303 additions & 132 deletions

.fixtures.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fixtures:
55
ref: "1.4.1"
66
concat:
77
repo: "puppetlabs/concat"
8-
ref: "1.2.0"
8+
ref: "1.2.2"
99
stdlib:
1010
repo: "puppetlabs/stdlib"
1111
ref: "4.6.0"

.travis.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,23 @@ script: bundle exec rake test
66
matrix:
77
fast_finish: true
88
include:
9-
- rvm: 1.9.3
10-
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.1" HIERA_GEM_VERSION="~> 1.3"
119
- rvm: 1.9.3
1210
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.2" HIERA_GEM_VERSION="~> 1.3"
13-
- rvm: 2.0.0
14-
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.1" HIERA_GEM_VERSION="~> 1.3"
1511
- rvm: 2.0.0
1612
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.2" HIERA_GEM_VERSION="~> 1.3"
1713
- rvm: 2.1.7
18-
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.1" HIERA_GEM_VERSION="~> 1.3"
19-
- rvm: 2.1.7
20-
env: PUPPET_GEM_VERSION="3.8.5" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 1.3" FUTURE_PARSER="yes"
14+
env: PUPPET_GEM_VERSION="~> 3.0" FACTER_GEM_VERSION="~> 2.2" HIERA_GEM_VERSION="~> 1.3"
2115
- rvm: 2.1.7
22-
env: PUPPET_GEM_VERSION="4.3.2" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.0"
23-
notifications:
24-
slack:
25-
secure: EwJDWYpcaMh5Ebb4EbsVu+nc1QPff/OTT0aYyExl5i7e8YFKUAL6oTNtupo3s/RO1CUBUOcKGvYUmbhuTxo1o/MfKNFviR8xaYNS2sktZ0961jpd5JtLYxaZd91JKLb2ZrMuAckejM17+lMxivu8+PKZnuF7S78DHNLDLVJkBrY=
26-
email: false
16+
env: PUPPET_GEM_VERSION="~> 3.8.5" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 1.3" FUTURE_PARSER="yes"
17+
- rvm: 2.1.9
18+
env: PUPPET_GEM_VERSION="~> 4.5.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.2.0"
19+
- rvm: 2.1.9
20+
env: PUPPET_GEM_VERSION="~> 4.7.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.2.0"
21+
- rvm: 2.1.9
22+
env: PUPPET_GEM_VERSION="~> 4.8.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.2.0"
23+
- rvm: 2.1.9
24+
env: PUPPET_GEM_VERSION="~> 4.9.0" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.3.0"
25+
2726
deploy:
2827
provider: puppetforge
2928
user: abstractit

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
##2016-10-10 - Pete Brown <pete@abstractit.com.au> 2.3.0-alpha
2+
###Summary
3+
Numerous bugfixes.
4+
Feature: Configure agents using SRV records @aaron-miller
5+
Feature: Added parameter manage_dbserver to profiles/master @chrisowensboston
6+
7+
####Bugfixes
8+
Fix puppet group in puppet 4 @seanscottking
9+
Update Puppetlabs apt keys @rdvh
10+
Fix puppetserver should connect to non SSL puppetdb via http not https @divansantana
11+
Update metadata.json to allow use of zack-r10k version 3.2.0 @rpkish
12+
Define relationship between sysconfig and service in agent @toepi
13+
Deploy puppetdb ssl certs when ssl is enabled @divansantana
14+
Fix r10k manage_ruby_dependency error @divansantana
15+
Fix could not find init script in some cases @divansantana
16+
Support for strict_variables mode @tequeter
17+
define relationship between vhost an package puppetmaster-passenger @toepi
18+
distinguish between Debian and Ubuntu for puppetmaster-passenger setup @toepi
19+
Add support for splay and splaylimit parameters in puppet.conf @paulseward
20+
Fix syntax error on readme @jordigg
21+
in manifests/repo.pp added include ::puppet, to fix unknown variable puppet::manage_repos @chrisowensboston
22+
in manifests/init.pp added "+ 0" after calls to fqdn_rand, to force conversion to integer. @chrisowensboston
23+
in spec/classes/puppet_agent_spec.rb, Changed tests for interpolated minute values to accommodate different versions of fqdn_rand using different entropy sources. Changed host name from "testy" to "testy2" because "testy" happened to give a 0 using fqdn_rand(14)
24+
In .fixtures.yml, changed puppetlabs/concat version requirement from '1.2.0' to '>= 1.2.2 < 2.0.0', to fix "uknown variable ::is_pe" bug @chrisowensboston
25+
in Gemfile, forced json_pure to be < 2.0.1 when ruby < 2.0 @chrisowensboston
26+
in .travis.yml, added a line for rvm 2.2.0, puppet gem 4.7.0, facter gem 2.4.6, hiera gem 3.2.1 @chrisowensboston
27+
28+
129
##2016-02-11 - Pete Brown <pete@abstractit.com.au> 2.2.1
230
###Summary
331

Gemfile

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

1313
group :test do
14-
gem "rspec-core", '3.5.1', :require => false
15-
gem "rspec-puppet", '2.4.0', :require => false
16-
gem 'puppetlabs_spec_helper', '1.1.1', :require => false
17-
gem 'rspec-puppet-facts', '1.3.0', :require => false
18-
gem "puppet-syntax", :require => false
14+
gem "rspec-core", '3.5.4', :require => false
15+
gem "rspec-puppet", '2.5.0', :require => false
16+
gem 'puppetlabs_spec_helper', '2.1.0', :require => false
17+
gem 'rspec-puppet-facts', '1.7.1', :require => false
18+
gem "puppet-syntax", '2.1.0', :require => false
1919
gem 'metadata-json-lint', :require => false
2020
gem 'simplecov', :require => false
21-
gem 'json', '1.8.3', :require => false
22-
gem 'json_pure', '1.8.3', :require => false
23-
gem 'rubocop', '0.41.2', :require => false
21+
gem 'json', '1.8.5', :require => false
2422
gem "puppet-blacksmith", :require => false
2523
gem 'pry', '<= 0.9.8', :require => false
26-
gem 'puppet-lint', :require => false
24+
gem 'puppet-lint', '2.0.2', :require => false
2725
gem 'puppet-lint-unquoted_string-check', :require => false
2826
gem 'puppet-lint-empty_string-check', :require => false
2927
gem 'puppet-lint-leading_zero-check', :require => false
@@ -56,6 +54,10 @@ end
5654
# gem 'beaker-puppet_install_helper', :require => false
5755
# end
5856

57+
# puppet requires json_pure; json_pure > 2.0.1 requires Ruby 2
58+
# so force the older json_pure in the case of older ruby
59+
gem 'json_pure', '< 2.0.2', :require => false, :platforms => [:ruby_18, :ruby_19]
60+
5961
if puppetversion = ENV['PUPPET_GEM_VERSION']
6062
gem 'puppet', puppetversion, :require => false
6163
else

Gemfile.lock

Lines changed: 64 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,62 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (2.2.8)
54
addressable (2.4.0)
6-
ast (2.3.0)
75
backports (3.6.8)
86
coderay (1.0.9)
9-
diff-lcs (1.2.5)
7+
diff-lcs (1.3)
108
docile (1.1.5)
11-
domain_name (0.5.20160615)
9+
domain_name (0.5.20170223)
1210
unf (>= 0.0.5, < 1.0.0)
13-
ethon (0.9.0)
11+
ethon (0.10.1)
1412
ffi (>= 1.3.0)
1513
facter (2.4.6)
16-
CFPropertyList (~> 2.2.6)
17-
facterdb (0.3.6)
14+
facterdb (0.3.10)
1815
facter
1916
jgrep
20-
faraday (0.9.2)
17+
faraday (0.11.0)
2118
multipart-post (>= 1.2, < 3)
22-
faraday_middleware (0.10.0)
23-
faraday (>= 0.7.4, < 0.10)
24-
ffi (1.9.14)
25-
gh (0.14.0)
26-
addressable
19+
faraday_middleware (0.11.0.1)
20+
faraday (>= 0.7.4, < 1.0)
21+
fast_gettext (1.1.0)
22+
ffi (1.9.18)
23+
gettext (3.2.2)
24+
locale (>= 2.0.5)
25+
text (>= 1.3.0)
26+
gettext-setup (0.18)
27+
fast_gettext (~> 1.1.0)
28+
gettext (>= 3.0.2)
29+
locale
30+
gh (0.15.1)
31+
addressable (~> 2.4.0)
2732
backports
2833
faraday (~> 0.8)
2934
multi_json (~> 1.0)
30-
net-http-persistent (>= 2.7)
35+
net-http-persistent (~> 2.9)
3136
net-http-pipeline
32-
hiera (3.2.1)
37+
hiera (3.2.2)
3338
highline (1.7.8)
34-
http-cookie (1.0.2)
39+
http-cookie (1.0.3)
3540
domain_name (~> 0.5)
3641
jgrep (1.4.1)
3742
json
38-
json (1.8.3)
39-
json_pure (1.8.3)
43+
json (1.8.5)
44+
json_pure (1.8.6)
4045
launchy (2.4.3)
4146
addressable (~> 2.3)
47+
locale (2.1.2)
48+
mcollective-client (2.10.2)
49+
json
50+
stomp
51+
systemu
4252
metaclass (0.0.4)
43-
metadata-json-lint (0.0.11)
53+
metadata-json-lint (1.1.0)
4454
json
55+
semantic_puppet (>= 0.1.2, < 2.0.0)
4556
spdx-licenses (~> 1.0)
4657
method_source (0.8.2)
47-
mime-types (2.99.2)
48-
mocha (1.1.0)
58+
mime-types (2.99.3)
59+
mocha (1.2.1)
4960
metaclass (~> 0.0.1)
5061
multi_json (1.12.1)
5162
multipart-post (2.0.0)
@@ -59,44 +70,41 @@ GEM
5970
coderay (~> 1.0.5)
6071
method_source (~> 0.7)
6172
slop (>= 2.4.3, < 3)
62-
puppet (4.3.2)
63-
CFPropertyList (~> 2.2.6)
73+
puppet (4.7.0)
6474
facter (> 2.0, < 4)
6575
hiera (>= 2.0, < 4)
6676
json_pure (~> 1.8)
6777
puppet-blacksmith (3.4.0)
6878
puppet (>= 2.7.16)
6979
rest-client (~> 1.8.0)
70-
puppet-lint (1.1.0)
80+
puppet-lint (2.0.2)
7181
puppet-lint-absolute_classname-check (0.2.4)
7282
puppet-lint (>= 1.0, < 3.0)
7383
puppet-lint-empty_string-check (0.2.2)
7484
puppet-lint (>= 1.0, < 3.0)
7585
puppet-lint-leading_zero-check (0.1.1)
7686
puppet-lint (>= 1.0, < 3.0)
77-
puppet-lint-roles_and_profiles-check (0.1.0)
78-
puppet-lint (~> 1.0)
87+
puppet-lint-roles_and_profiles-check (0.1.1)
88+
puppet-lint (>= 1.0, < 3.0)
7989
puppet-lint-spaceship_operator_without_tag-check (0.1.1)
8090
puppet-lint (>= 1.0, < 3.0)
8191
puppet-lint-undef_in_function-check (0.2.1)
8292
puppet-lint (>= 1.0, < 3.0)
8393
puppet-lint-unquoted_string-check (0.3.0)
8494
puppet-lint (>= 1.0, < 3.0)
85-
puppet-lint-variable_contains_upcase (1.0.1)
95+
puppet-lint-variable_contains_upcase (1.2.0)
8696
puppet-lint (>= 1.0, < 3.0)
8797
puppet-syntax (2.1.0)
8898
rake
89-
puppetlabs_spec_helper (1.1.1)
90-
mocha
91-
puppet-lint
92-
puppet-syntax
93-
rake
94-
rspec-puppet
99+
puppetlabs_spec_helper (2.1.0)
100+
mocha (~> 1.0)
101+
puppet-lint (~> 2.0)
102+
puppet-syntax (~> 2.0)
103+
rspec-puppet (~> 2.0)
95104
pusher-client (0.6.2)
96105
json
97106
websocket (~> 1.0)
98-
rainbow (2.1.0)
99-
rake (11.2.2)
107+
rake (12.0.0)
100108
rest-client (1.8.0)
101109
http-cookie (>= 1.0.2, < 2.0)
102110
mime-types (>= 1.16, < 3.0)
@@ -105,37 +113,36 @@ GEM
105113
rspec-core (~> 3.5.0)
106114
rspec-expectations (~> 3.5.0)
107115
rspec-mocks (~> 3.5.0)
108-
rspec-core (3.5.1)
116+
rspec-core (3.5.4)
109117
rspec-support (~> 3.5.0)
110118
rspec-expectations (3.5.0)
111119
diff-lcs (>= 1.2.0, < 2.0)
112120
rspec-support (~> 3.5.0)
113121
rspec-mocks (3.5.0)
114122
diff-lcs (>= 1.2.0, < 2.0)
115123
rspec-support (~> 3.5.0)
116-
rspec-puppet (2.4.0)
124+
rspec-puppet (2.5.0)
117125
rspec
118-
rspec-puppet-facts (1.3.0)
126+
rspec-puppet-facts (1.7.1)
119127
facter
120128
facterdb (>= 0.3.0)
121129
json
130+
mcollective-client
122131
puppet
123132
rspec-support (3.5.0)
124-
rubocop (0.41.2)
125-
parser (>= 2.3.1.1, < 3.0)
126-
powerpack (~> 0.1)
127-
rainbow (>= 1.99.1, < 3.0)
128-
ruby-progressbar (~> 1.7)
129-
unicode-display_width (~> 1.0, >= 1.0.1)
130-
ruby-progressbar (1.8.1)
131-
simplecov (0.12.0)
133+
semantic_puppet (0.1.4)
134+
gettext-setup (>= 0.3)
135+
simplecov (0.14.1)
132136
docile (~> 1.1.0)
133137
json (>= 1.8, < 3)
134138
simplecov-html (~> 0.10.0)
135139
simplecov-html (0.10.0)
136140
slop (2.4.4)
137141
spdx-licenses (1.1.0)
138-
travis (1.8.2)
142+
stomp (1.4.3)
143+
systemu (2.6.5)
144+
text (1.3.1)
145+
travis (1.8.8)
139146
backports
140147
faraday (~> 0.9)
141148
faraday_middleware (~> 0.9, >= 0.9.1)
@@ -151,22 +158,21 @@ GEM
151158
unf (0.1.4)
152159
unf_ext
153160
unf_ext (0.0.7.2)
154-
unicode-display_width (1.1.0)
155-
websocket (1.2.3)
161+
websocket (1.2.4)
156162

157163
PLATFORMS
158164
ruby
159165

160166
DEPENDENCIES
161167
facter
162168
hiera
163-
json (= 1.8.3)
164-
json_pure (= 1.8.3)
169+
json (= 1.8.5)
170+
json_pure (< 2.0.2)
165171
metadata-json-lint
166172
pry (<= 0.9.8)
167173
puppet
168174
puppet-blacksmith
169-
puppet-lint
175+
puppet-lint (= 2.0.2)
170176
puppet-lint-absolute_classname-check
171177
puppet-lint-empty_string-check
172178
puppet-lint-leading_zero-check
@@ -175,15 +181,14 @@ DEPENDENCIES
175181
puppet-lint-undef_in_function-check
176182
puppet-lint-unquoted_string-check
177183
puppet-lint-variable_contains_upcase
178-
puppet-syntax
179-
puppetlabs_spec_helper (= 1.1.1)
180-
rspec-core (= 3.5.1)
181-
rspec-puppet (= 2.4.0)
182-
rspec-puppet-facts (= 1.3.0)
183-
rubocop (= 0.41.2)
184+
puppet-syntax (= 2.1.0)
185+
puppetlabs_spec_helper (= 2.1.0)
186+
rspec-core (= 3.5.4)
187+
rspec-puppet (= 2.5.0)
188+
rspec-puppet-facts (= 1.7.1)
184189
simplecov
185190
travis
186191
travis-lint
187192

188193
BUNDLED WITH
189-
1.11.2
194+
1.14.6

Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ PuppetLint.configuration.send('disable_class_inherits_from_params_class')
1616
# PuppetLint.configuration.send('disable_class_parameter_defaults')
1717
PuppetLint.configuration.send('disable_documentation')
1818
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
19-
PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}"
2019

2120
exclude_paths = [
2221
"pkg/**/*",
@@ -77,4 +76,4 @@ if RUBY_VERSION >= "2.1.0" then
7776
fail "Unable to find a CHANGELOG.md entry for the #{v} release."
7877
end
7978
end
80-
end
79+
end

manifests/defaults.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
$puppetdb_etcdir = '/etc/puppetlabs/puppetdb'
4444
$puppetdb_test_url = '/pdb/meta/v1/version'
4545
$gem_provider = 'puppetserver_gem'
46+
$puppet_group = 'root'
4647
} else {
4748
$server_type = 'passenger'
4849
$confdir = '/etc/puppet'
@@ -59,6 +60,7 @@
5960
$puppetdb_etcdir = '/etc/puppetdb'
6061
$puppetdb_test_url = '/v3/version'
6162
$gem_provider = 'gem'
63+
$puppet_group = 'puppet'
6264
}
6365
$puppetdb_confdir = "${puppetdb_etcdir}/conf.d"
6466
$puppetdb_ssl_dir = "${puppetdb_etcdir}/ssl"

0 commit comments

Comments
 (0)