simp-beaker-helpers 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/simp/beaker_helpers.rb +9 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mjc4ZGE2NjViYjJiOTgxOGQzNmMyMWFhM2E4MmY3NzFiM2FmZjUxYg==
4
+ MGIyZGI3MjJhZmJlZDQwM2RmMjZlMDcxYzAxZGVjNzI3ZWJlOGVmNg==
5
5
  data.tar.gz: !binary |-
6
- MGZkNzRhYzdmZDNlMmE5NjJiNzYwYWJjYWU0NmE1MmE0MWJjYjlhZg==
6
+ ZDE1NjMzYjFkNTk5NjVjMmRlZDA1NTI3ZmU0N2VlMTA5ZWQ2MDAwZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmZhZmM1MjNiYjY1NTc5N2FjN2EyZjBmNDY5Zjg2MDEyNjA3YjM1NTUzYTY5
10
- MDdiNmY5NDdhN2FhODVhODRlNzk2MTRiMzcyYjg4MTk2ZGNmY2Q3NDg1Zjky
11
- NmI4OTAyYjFkOTk2NmMxNjIzMTFiZDk0MmMwYzcyYmRmMTI4MTY=
9
+ MTUwZTZlMzE5NDE3Mjc0YjUwYjRmOGNlOTAwZTA5MmFmYmYyZDQ1MzVjNmQ4
10
+ MTY0NWJhZTM2OTlhMDZmMmNkMGYwNGU3ZmYyZWI0NjA3Y2M5OGI4M2JmYzBk
11
+ NTA4YmFlMDYyMWNjODFiOTg0MGU5MDE3NzE2NDYxZWE5YjhmM2U=
12
12
  data.tar.gz: !binary |-
13
- NTE4ZTdhMjg4NjJhNTQwYzQ1ZGNiYTAzNGRiZWRiMmIwNzBlOTNiYzFlMzM0
14
- ZTQ2YTBhM2RiM2IzOWU2Zjg5YzVmZDg4YTFmMmQyNjI5YTk4YjM4OWI2OTc0
15
- YzU5OTIwOGZjNTg0ZGQ1NjllZTlkMWFhZDc0ZTdiZTU1YWRmOGI=
13
+ ZmQ2ZTE3MDdjZmZlMzA0NTIxMTkwYzNmNWI5YTA2ZDA5ZTBjMDIxNTYyMTdl
14
+ YTM5NjZhNTFjNWI5OTY4ZTRhZDQ3N2I3MmNkODU5NmZlZTU5YjhhNmI2YTY4
15
+ ZjNlMjIxOGNlMzIxYjQwZDJlZTAzNzg0MGI2NGQ2Y2QzOThhOGY=
@@ -1,7 +1,7 @@
1
1
  module Simp; end
2
2
 
3
3
  module Simp::BeakerHelpers
4
- VERSION = '1.0.4'
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
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.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer