hiera-puppet 1.0.0rc2 → 1.0.0rc3
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.
- data/spec/unit/hiera_puppet_spec.rb +1 -1
- data/spec/unit/puppet/parser/functions/hiera_array_spec.rb +1 -1
- data/spec/unit/puppet/parser/functions/hiera_hash_spec.rb +1 -1
- data/spec/unit/puppet/parser/functions/hiera_include_spec.rb +1 -1
- data/spec/unit/puppet/parser/functions/hiera_spec.rb +1 -1
- metadata +9 -7
@@ -69,7 +69,7 @@ describe 'HieraPuppet' do
|
|
69
69
|
end
|
70
70
|
|
71
71
|
describe 'HieraPuppet#lookup' do
|
72
|
-
let(:scope) { PuppetlabsSpec::
|
72
|
+
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
|
73
73
|
|
74
74
|
it "should return the value from Hiera" do
|
75
75
|
Hiera.any_instance.stubs(:lookup).returns('8080')
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe 'Puppet::Parser::Functions#hiera_array' do
|
4
|
-
let(:scope) { PuppetlabsSpec::
|
4
|
+
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
|
5
5
|
|
6
6
|
it 'should require a key argument' do
|
7
7
|
expect { scope.function_hiera_array([]) }.to raise_error(Puppet::ParseError)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe 'Puppet::Parser::Functions#hiera_hash' do
|
4
|
-
let(:scope) { PuppetlabsSpec::
|
4
|
+
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
|
5
5
|
|
6
6
|
it 'should require a key argument' do
|
7
7
|
expect { scope.function_hiera_hash([]) }.to raise_error(Puppet::ParseError)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe 'Puppet::Parser::Functions#hiera_include' do
|
4
|
-
let(:scope) { PuppetlabsSpec::
|
4
|
+
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
|
5
5
|
|
6
6
|
it 'should require a key argument' do
|
7
7
|
expect { scope.function_hiera_include([]) }.to raise_error(Puppet::ParseError)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
5
|
describe 'Puppet::Parser::Functions#hiera' do
|
6
|
-
let(:scope) { PuppetlabsSpec::
|
6
|
+
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
|
7
7
|
|
8
8
|
it 'should require a key argument' do
|
9
9
|
expect { scope.function_hiera([]) }.to raise_error(Puppet::ParseError)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiera-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 945403065
|
5
5
|
prerelease: 5
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 1.0.
|
11
|
+
- 3
|
12
|
+
version: 1.0.0rc3
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Puppet Labs
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-
|
20
|
+
date: 2012-08-14 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: hiera
|
@@ -25,13 +25,15 @@ dependencies:
|
|
25
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 472701519
|
31
31
|
segments:
|
32
32
|
- 1
|
33
33
|
- 0
|
34
|
-
|
34
|
+
- 0
|
35
|
+
- rc
|
36
|
+
version: 1.0.0rc
|
35
37
|
type: :runtime
|
36
38
|
version_requirements: *id001
|
37
39
|
description: Store and query Hiera data from Puppet
|