simp-beaker-helpers 1.5.4 → 1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simp/beaker_helpers.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ba9384c22def9cd5c3e88c7298533a61e9d8277
|
4
|
+
data.tar.gz: 4e7cba748d9a2cb2293c0eddc5cc021d636dcf7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bdb0cb88a262d8e2cfc44ce412a7d1b4de292db036fc503a7e4776259aa49f15e892255857b9f7ab7bb3624ff238938fa32b9b58ed3678bb8d5b4893c97059b
|
7
|
+
data.tar.gz: f206d78e24d4f5a46dc13d4369c45c9fa2cff961da229c198d9e041776bdf2960369f780116831dff9ecf6e96229cf4613b4cedd30833459c019ed67d3d9ce0e
|
data/lib/simp/beaker_helpers.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Simp; end
|
2
2
|
|
3
3
|
module Simp::BeakerHelpers
|
4
|
-
VERSION = '1.5.
|
4
|
+
VERSION = '1.5.5'
|
5
5
|
|
6
6
|
# use the `puppet fact` face to look up facts on an SUT
|
7
7
|
def pfact_on(sut, fact_name)
|
@@ -367,6 +367,9 @@ DEFAULT_KERNEL_TITLE=`/sbin/grubby --info=\\\${DEFAULT_KERNEL_INFO} | grep -m1 t
|
|
367
367
|
# SUT_BASE_DIR/
|
368
368
|
# pki/
|
369
369
|
# cacerts/cacerts.pem
|
370
|
+
# # This is a copy of cacerts.pem since cacerts.pem is a
|
371
|
+
# # collection of the CA certificates in pupmod-simp-pki
|
372
|
+
# cacerts/simp_auto_ca.pem
|
370
373
|
# public/fdqn.pub
|
371
374
|
# private/fdqn.pem
|
372
375
|
def copy_pki_to(sut, local_pki_dir, sut_base_dir = '/etc/pki/simp-testing')
|
@@ -379,6 +382,8 @@ DEFAULT_KERNEL_TITLE=`/sbin/grubby --info=\\\${DEFAULT_KERNEL_INFO} | grep -m1 t
|
|
379
382
|
scp_to(sut, "#{local_host_pki_tree}/#{fqdn}.pem", "#{sut_pki_dir}/private/")
|
380
383
|
scp_to(sut, "#{local_host_pki_tree}/#{fqdn}.pub", "#{sut_pki_dir}/public/")
|
381
384
|
|
385
|
+
scp_to(sut, local_cacert, "#{sut_pki_dir}/cacerts/simp_auto_ca.pem")
|
386
|
+
|
382
387
|
# NOTE: to match pki::copy, 'cacert.pem' is copied to 'cacerts.pem'
|
383
388
|
scp_to(sut, local_cacert, "#{sut_pki_dir}/cacerts/cacerts.pem")
|
384
389
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simp-beaker-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Tessmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: beaker
|