simp-beaker-helpers 1.0.4 → 1.0.5
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 +8 -8
- data/lib/simp/beaker_helpers.rb +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGIyZGI3MjJhZmJlZDQwM2RmMjZlMDcxYzAxZGVjNzI3ZWJlOGVmNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDE1NjMzYjFkNTk5NjVjMmRlZDA1NTI3ZmU0N2VlMTA5ZWQ2MDAwZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTUwZTZlMzE5NDE3Mjc0YjUwYjRmOGNlOTAwZTA5MmFmYmYyZDQ1MzVjNmQ4
|
10
|
+
MTY0NWJhZTM2OTlhMDZmMmNkMGYwNGU3ZmYyZWI0NjA3Y2M5OGI4M2JmYzBk
|
11
|
+
NTA4YmFlMDYyMWNjODFiOTg0MGU5MDE3NzE2NDYxZWE5YjhmM2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmQ2ZTE3MDdjZmZlMzA0NTIxMTkwYzNmNWI5YTA2ZDA5ZTBjMDIxNTYyMTdl
|
14
|
+
YTM5NjZhNTFjNWI5OTY4ZTRhZDQ3N2I3MmNkODU5NmZlZTU5YjhhNmI2YTY4
|
15
|
+
ZjNlMjIxOGNlMzIxYjQwZDJlZTAzNzg0MGI2NGQ2Y2QzOThhOGY=
|
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.0.
|
4
|
+
VERSION = '1.0.5'
|
5
5
|
|
6
6
|
# Locates .fixture.yml in or above this directory.
|
7
7
|
def fixtures_yml_path
|
@@ -255,6 +255,14 @@ DEFAULT_KERNEL_TITLE=`/sbin/grubby --info=\\\${DEFAULT_KERNEL_INFO} | grep -m1 t
|
|
255
255
|
fh.puts(hieradata.to_yaml)
|
256
256
|
fh.close
|
257
257
|
|
258
|
+
# If there is already a directory on the system, the SCP below will
|
259
|
+
# add the local directory to the existing directory instead of
|
260
|
+
# replacing the contents.
|
261
|
+
apply_manifest_on(
|
262
|
+
host,
|
263
|
+
"file { '#{hiera_datadir(host)}': ensure => 'absent', force => true, recurse => true }"
|
264
|
+
)
|
265
|
+
|
258
266
|
copy_hiera_data_to(host, data_dir)
|
259
267
|
write_hiera_config_on(host, Array(data_file))
|
260
268
|
end
|