onceover 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/lib/onceover/controlrepo.rb +4 -0
- data/onceover.gemspec +1 -1
- data/templates/spec_helper.rb.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ff59bf1f83e427cce7214bce17bb465c91d7f44
|
|
4
|
+
data.tar.gz: 2e297d36639571c1f41b04c8c76a7c2c664455bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a0f437ece3e1d045d8650e49e2d0566ea4146f6249297667b9af9fd4f554da230a6e14348a898bf502046986d26d3c45d4f0c3e4b11828951fc38b69756064e
|
|
7
|
+
data.tar.gz: 106802f9adc91a447be750339e51540cb44a65d63ac17c23f2041c80f857e46151c26a0ebb1de14d70212929dca20a837405b978067e13bd88a1105a4090babf
|
data/.gitignore
CHANGED
data/lib/onceover/controlrepo.rb
CHANGED
|
@@ -340,6 +340,10 @@ class Onceover
|
|
|
340
340
|
hiera_config_file
|
|
341
341
|
end
|
|
342
342
|
|
|
343
|
+
def hiera_config_file_relative_path
|
|
344
|
+
Pathname.new(hiera_config_file).relative_path_from(Pathname.new(root)).to_s
|
|
345
|
+
end
|
|
346
|
+
|
|
343
347
|
def hiera_config
|
|
344
348
|
begin
|
|
345
349
|
YAML.load_file(hiera_config_file)
|
data/onceover.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "onceover"
|
|
6
|
-
s.version = "3.2.
|
|
6
|
+
s.version = "3.2.2"
|
|
7
7
|
s.authors = ["Dylan Ratcliffe"]
|
|
8
8
|
s.email = ["dylan.ratcliffe@puppet.com"]
|
|
9
9
|
s.homepage = "https://github.com/dylanratcliffe/onceover"
|
|
@@ -11,7 +11,7 @@ RSpec.configure do |c|
|
|
|
11
11
|
|
|
12
12
|
c.environmentpath = '<%= environmentpath %>'
|
|
13
13
|
c.module_path = '<%= modulepath %>'
|
|
14
|
-
c.hiera_config = '<%= environmentpath %>/production
|
|
14
|
+
c.hiera_config = '<%= environmentpath %>/production/<%= repo.hiera_config_file_relative_path %>'
|
|
15
15
|
c.manifest = '<%= repo.temp_manifest %>'
|
|
16
16
|
ENV['STRICT_VARIABLES'] = '<%= self.strict_variables %>'
|
|
17
17
|
<% if ENV['SHOW_PUPPET_OUTPUT'] and ENV['SHOW_PUPPET_OUTPUT'].downcase == 'true' %>
|