beaker-puppet_install_helper 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be59c64ddf1bbf2d6467a1dcf22efb203441323b
4
- data.tar.gz: e838e73da0145c0f8181572ca105114c1189acca
3
+ metadata.gz: b1634202fd5a2d74c1a6c865c1b2e0d15be6a94c
4
+ data.tar.gz: a312db3863c03ce13989e52f1c592461ff2ece88
5
5
  SHA512:
6
- metadata.gz: 04bb1747fd6ca6591807da4b9fc0785d2a3a0a178b114034de7621a04053998e51699e55c20012d9871cb1c56c9e456e04fc35c7ee8a9285ec978a7c4d057d24
7
- data.tar.gz: 3b1c6beed2aa8f5fc2f0b2242d4e4a5cf5847d5e71e420c225c6f7c8b98b93c6ad46925baa2487865a1b63ff649d16af39858c76ff8c2f835435b0ec5318c0c6
6
+ metadata.gz: f8b9749673452f4a24300967786253557df3f439f0f0294d010bc41583c0251b7aae357206ba0ce61fd33d2b6faf5f35be1bd36ec43c2f9f12130bb25de487a3
7
+ data.tar.gz: 81abf1eb8574e583c7427799d0874235a28ba0a11ee447bd2ca9cde791d29e403b3ec89418f6f4e796bcc2078f8b8e5987591c0f6a165b933e400064766aac84
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "beaker-puppet_install_helper"
3
- s.version = '0.4.0'
3
+ s.version = '0.4.1'
4
4
  s.authors = ["Puppetlabs"]
5
5
  s.email = ["hunter@puppetlabs.com"]
6
6
  s.homepage = "https://github.com/puppetlabs/beaker-puppet_install_helper"
@@ -20,8 +20,9 @@ module Beaker::CaCertHelper
20
20
  create_cert_on_host(host, cert_name, ca)
21
21
  if host['platform'] =~ /windows/i
22
22
  add_windows_cert host, cert_name
23
- elsif host['platform'] =~ /solaris/i
24
- add_solaris_cert host, cert_name
23
+ # No longer needed, apparently.
24
+ #elsif host['platform'] =~ /solaris/i
25
+ # add_solaris_cert host, cert_name
25
26
  end
26
27
  end
27
28
  end
@@ -23,15 +23,15 @@ describe 'beaker::ca_cert_helper' do
23
23
  subject.install_ca_certs_on w2k3
24
24
  end
25
25
 
26
- it "solaris 11 node" do
27
- sol = {"platform" => 'solaris-11-x86_64', 'distmoduledir' => '/dne', 'hieraconf' => '/dne'}
28
-
29
- expect(subject).to receive(:add_solaris_cert).with(sol, 'geotrustglobal.pem')
30
- expect(subject).to receive(:create_cert_on_host).with(sol, 'geotrustglobal.pem', 'my cert string')
31
- expect(subject).to receive(:add_solaris_cert).with(sol, 'usertrust-network.pem')
32
- expect(subject).to receive(:create_cert_on_host).with(sol, 'usertrust-network.pem', 'my user trust cert')
33
- subject.install_ca_certs_on sol
34
- end
26
+ #it "solaris 11 node" do
27
+ # sol = {"platform" => 'solaris-11-x86_64', 'distmoduledir' => '/dne', 'hieraconf' => '/dne'}
28
+
29
+ # expect(subject).to receive(:add_solaris_cert).with(sol, 'geotrustglobal.pem')
30
+ # expect(subject).to receive(:create_cert_on_host).with(sol, 'geotrustglobal.pem', 'my cert string')
31
+ # expect(subject).to receive(:add_solaris_cert).with(sol, 'usertrust-network.pem')
32
+ # expect(subject).to receive(:create_cert_on_host).with(sol, 'usertrust-network.pem', 'my user trust cert')
33
+ # subject.install_ca_certs_on sol
34
+ #end
35
35
  end
36
36
 
37
37
  describe 'add_windows_cert' do
@@ -42,14 +42,14 @@ describe 'beaker::ca_cert_helper' do
42
42
  }
43
43
  end
44
44
 
45
- describe 'add_solaris_cert' do
46
- it {
47
- host = {"platform" => 'solaris-11-x86_64', 'distmoduledir' => '/dne', 'hieraconf' => '/dne'}
48
- expect(subject).to receive(:on).with(host, 'echo \'# geotrustglobal.pem\' >> /opt/puppet/ssl/cert.pem')
49
- expect(subject).to receive(:on).with(host, 'cat geotrustglobal.pem >> /opt/puppet/ssl/cert.pem')
50
- subject.add_solaris_cert host, 'geotrustglobal.pem'
51
- }
52
- end
45
+ #describe 'add_solaris_cert' do
46
+ # it {
47
+ # host = {"platform" => 'solaris-11-x86_64', 'distmoduledir' => '/dne', 'hieraconf' => '/dne'}
48
+ # expect(subject).to receive(:on).with(host, 'echo \'# geotrustglobal.pem\' >> /opt/puppet/ssl/cert.pem')
49
+ # expect(subject).to receive(:on).with(host, 'cat geotrustglobal.pem >> /opt/puppet/ssl/cert.pem')
50
+ # subject.add_solaris_cert host, 'geotrustglobal.pem'
51
+ # }
52
+ #end
53
53
 
54
54
  describe 'get_cert_hash' do
55
55
  it 'should contain 3 certs' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet_install_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-18 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubyforge_project:
80
- rubygems_version: 2.2.3
80
+ rubygems_version: 2.2.5
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: Puppet install helper for Beaker