onceover 3.13.0 → 3.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/lib/onceover/controlrepo.rb +5 -3
- data/onceover.gemspec +2 -2
- data/spec/fixtures/controlrepos/basic/environment.conf +6 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f8920ed5a1afa3942e0012f21ec49ef5fb6596cec5c57bca55a11da1b393324
|
4
|
+
data.tar.gz: b8d27d282ed8d35d989a56598959f8371763e013f60eee9a27671c204cc71f89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d93ef0787d387a1b35ff0234bc29b7daf62a1a410eaa8576309bd249f6881f6b5250c62b5923dcf60268b9d3aaeca6ef6ed2debd2120e60cf302e109d362314a
|
7
|
+
data.tar.gz: b99f5e7d3ca96c1c6b0db3c98d0ce88355c307dbb919cfa1f02544e21535720eafda4c578ba0fbff5621c38ce66456c39d5da2b63dd1c19e0650016e290fa349
|
data/Gemfile
CHANGED
data/lib/onceover/controlrepo.rb
CHANGED
@@ -399,7 +399,6 @@ class Onceover
|
|
399
399
|
end
|
400
400
|
|
401
401
|
def config
|
402
|
-
# Parse the file
|
403
402
|
logger.debug "Reading #{@environment_conf}"
|
404
403
|
env_conf = File.read(@environment_conf)
|
405
404
|
env_conf = env_conf.split("\n")
|
@@ -410,7 +409,9 @@ class Onceover
|
|
410
409
|
# Map the lines into a hash
|
411
410
|
environment_config = {}
|
412
411
|
env_conf.each do |line|
|
413
|
-
|
412
|
+
if matches = line.match(/^(\S+)\s*=(.*)$/)
|
413
|
+
environment_config[matches[1]] = matches[2].strip
|
414
|
+
end
|
414
415
|
end
|
415
416
|
|
416
417
|
# Finally, split the modulepath values and return
|
@@ -419,7 +420,8 @@ class Onceover
|
|
419
420
|
rescue
|
420
421
|
raise "modulepath was not found in environment.conf, don't know where to look for roles & profiles"
|
421
422
|
end
|
422
|
-
|
423
|
+
|
424
|
+
environment_config
|
423
425
|
end
|
424
426
|
|
425
427
|
def r10k_config_file
|
data/onceover.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "onceover"
|
7
|
-
s.version = "3.13.
|
7
|
+
s.version = "3.13.1"
|
8
8
|
s.authors = ["Dylan Ratcliffe"]
|
9
9
|
s.email = ["dylan.ratcliffe@puppet.com"]
|
10
10
|
s.homepage = "https://github.com/dylanratcliffe/onceover"
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_runtime_dependency 'r10k', '>=2.1.0'
|
29
29
|
s.add_runtime_dependency 'puppet', '>=3.4.0'
|
30
30
|
s.add_runtime_dependency 'git'
|
31
|
-
s.add_runtime_dependency 'cri', '>= 2.6'
|
31
|
+
s.add_runtime_dependency 'cri', '>= 2.6', '<= 2.15.5'
|
32
32
|
s.add_runtime_dependency 'colored', '~> 1.2'
|
33
33
|
s.add_runtime_dependency 'logging', '>= 2.0.0'
|
34
34
|
s.add_runtime_dependency 'deep_merge', '>= 1.0.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.13.
|
4
|
+
version: 3.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Ratcliffe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -157,6 +157,9 @@ dependencies:
|
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '2.6'
|
160
|
+
- - "<="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 2.15.5
|
160
163
|
type: :runtime
|
161
164
|
prerelease: false
|
162
165
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -164,6 +167,9 @@ dependencies:
|
|
164
167
|
- - ">="
|
165
168
|
- !ruby/object:Gem::Version
|
166
169
|
version: '2.6'
|
170
|
+
- - "<="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 2.15.5
|
167
173
|
- !ruby/object:Gem::Dependency
|
168
174
|
name: colored
|
169
175
|
requirement: !ruby/object:Gem::Requirement
|