simp-beaker-helpers 1.10.1 → 1.10.2

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
- SHA1:
3
- metadata.gz: a1d1eb122dfdfbd6989cae5cbef06ec1119865d7
4
- data.tar.gz: 2ad2c18bca49cc95e2c27ee645bd9c685be371f0
2
+ SHA256:
3
+ metadata.gz: 1efcc524131a3d50836b92a745c9820975f0471ba6c7a348cb26c2e983167095
4
+ data.tar.gz: 8a8bed81f857e41d8a95c5a7240f01bf0e70092d21cd30366ec517e28d3d1ca5
5
5
  SHA512:
6
- metadata.gz: 808ddb4239625739e2597e91808d07ab20f81e5e8cf2f9b0b294af03c32deaa121716a229cc5d18ff4aaf670398c3791adaa147f63aa1115872df8a256d5b699
7
- data.tar.gz: 3bd93d0bd84f3922cf5a03a228cfc6780892b262170852c6e18f55e1e020b804c878f64b535b1b0cd6ea2adeb2eb1395d366d29f9202fd8429652eee1dac0cf1
6
+ metadata.gz: 27a0ebae42fd185b67c9603139dad57d26a490f2ea417e7997f03b77aade6cb02dc6be32cb227b341fedd247e6f3bb0e4395c7f615bbbe4fcae4fd57ae733409
7
+ data.tar.gz: 0d603e482af1f09c1bf9083ab1f4181fb363eaf5b205ddb29dc6e9cacc48ac037e841e646ce870ef267248c4cb490b91356ff4821a562e3d22764e5b0abdcdb8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### 1.10.2 / 2018-03-04
2
+ * Reimplemented `pluginsync_on` with a Puppet manifest to completely mimic
3
+ a native pluginsync
4
+ - Syncs _all_ assets (e.g., augeas lenses) instead of just the facts
5
+ - Simpler
6
+ - Much faster, especially with many modules or SUTs
7
+
1
8
  ### 1.10.1 / 2018-02-13
2
9
  * Updated the Puppet version mapping list for Puppet 5
3
10
  * Fixed a bug in the way that the latest Puppet 5 version was being determined
@@ -664,15 +664,17 @@ done
664
664
  # pluginsync custom facts for all modules
665
665
  def pluginsync_on( suts = hosts )
666
666
  puts "== pluginsync_on'" if ENV['BEAKER_helpers_verbose']
667
- suts.each do |sut|
668
- puts " ** pluginsync_on: '#{sut}'" if ENV['BEAKER_helpers_verbose']
669
- fact_path = on(sut, %q(puppet config print factpath)).output.strip.split(':').first
670
- on(sut, %q(puppet config print modulepath)).output.strip.split(':').each do |mod_path|
671
- sut.mkdir_p(fact_path)
672
- next if on(sut, "ls #{mod_path}/*/lib/facter 2>/dev/null ", :accept_all_exit_codes => true).exit_code != 0
673
- on(sut, %Q(find #{mod_path}/*/lib/facter -type f -name '*.rb' -exec cp -a {} '#{fact_path}/' \\; ))
674
- end
675
- end
667
+ pluginsync_manifest =<<-PLUGINSYNC_MANIFEST
668
+ file { $::settings::libdir:
669
+ ensure => directory,
670
+ source => 'puppet:///plugins',
671
+ recurse => true,
672
+ purge => true,
673
+ backup => false,
674
+ noop => false
675
+ }
676
+ PLUGINSYNC_MANIFEST
677
+ apply_manifest_on(hosts, pluginsync_manifest)
676
678
  end
677
679
 
678
680
 
@@ -1,5 +1,5 @@
1
1
  module Simp; end
2
2
 
3
3
  module Simp::BeakerHelpers
4
- VERSION = '1.10.1'
4
+ VERSION = '1.10.2'
5
5
  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.10.1
4
+ version: 1.10.2
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: 2018-02-19 00:00:00.000000000 Z
12
+ date: 2018-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: beaker
@@ -111,17 +111,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.4.8
114
+ rubygems_version: 2.7.6
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: beaker helper methods for SIMP
118
- test_files:
119
- - spec/acceptance/check_puppet_version_spec.rb
120
- - spec/acceptance/enable_fips_spec.rb
121
- - spec/acceptance/fixture_modules_spec.rb
122
- - spec/acceptance/nodesets/default.yml
123
- - spec/acceptance/nodesets/puppet5.yml
124
- - spec/acceptance/pki_tests_spec.rb
125
- - spec/acceptance/set_hieradata_on_spec.rb
126
- - spec/acceptance/write_hieradata_to_spec.rb
127
- - spec/spec_helper_acceptance.rb
118
+ test_files: []