puppet_litmus 0.26.2 → 0.26.3

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
  SHA256:
3
- metadata.gz: b54d56fe9cd63b49874f5dad0646bb656ad791f45b751315770d09e9f69f7c9d
4
- data.tar.gz: 5098a3a890f18ce448f3060323ee663834eb348b9b2000dd399e3e3678cea91f
3
+ metadata.gz: f98913f0f6a0c9ad4060437f3d79da268611da67a03a147f79ae84ebc39f0626
4
+ data.tar.gz: 8f6f10a27f7151c7d1b6f1428f8b0b9c2976a5c63ecbc6586ee58e047f695c68
5
5
  SHA512:
6
- metadata.gz: acb0fc34a9fd73f2639daada9f05a6e9d7cd47727b4b652b0da90d0249d05364f9a67dd4cfb2e3f10840b26b23aec3a867b9630d13f263ce37765d774a12c187
7
- data.tar.gz: 5ca486321dc9c226042316645cb091b35ebeb9e5ea5c6859c5a605986dae4a3552b7e88405153e3ce2238c0b1a01078c22f817763b38a2b22ee661ba5a6f41c6
6
+ metadata.gz: aef4defe588e0e2abc252ce3110fa6dea31d25dd9977809a28029eb0856e9348a134a69058089078b254b27865372ce740d5903ccbf0151fe6b8769d8e503d24
7
+ data.tar.gz: 75da654699d7820473e840ab65e998387c89ab76cf935ede3835f4fdda280669dd01af29f8de098308655ace037b1807a4ec53771e969102c97ba1965b32b11e
@@ -125,7 +125,7 @@ namespace :litmus do
125
125
 
126
126
  results = install_agent(args[:collection], targets, inventory_hash)
127
127
  results.each do |result|
128
- command_to_run = "bolt task run puppet_agent::install --targets #{result['target']} --inventoryfile inventory.yaml --modulepath #{DEFAULT_CONFIG_DATA['modulepath']}"
128
+ command_to_run = "bolt task run puppet_agent::install --targets #{result['target']} --inventoryfile spec/fixtures/litmus_inventory.yaml --modulepath #{DEFAULT_CONFIG_DATA['modulepath']}"
129
129
  raise "Failed on #{result['target']}\n#{result}\ntry running '#{command_to_run}'" if result['status'] != 'success'
130
130
 
131
131
  # validate successful install
@@ -157,7 +157,7 @@ namespace :litmus do
157
157
  end
158
158
 
159
159
  # update the inventory with the puppet-agent feature set per node
160
- write_to_inventory_file(inventory_hash, 'inventory.yaml')
160
+ write_to_inventory_file(inventory_hash, 'spec/fixtures/litmus_inventory.yaml')
161
161
  end
162
162
 
163
163
  # Add a given feature to a selection of nodes
@@ -182,7 +182,7 @@ namespace :litmus do
182
182
  inventory_hash = add_feature_to_node(inventory_hash, args[:added_feature], target)
183
183
  end
184
184
 
185
- write_to_inventory_file(inventory_hash, 'inventory.yaml')
185
+ write_to_inventory_file(inventory_hash, 'spec/fixtures/litmus_inventory.yaml')
186
186
 
187
187
  puts 'Feature added'
188
188
  end
@@ -336,7 +336,7 @@ namespace :litmus do
336
336
 
337
337
  namespace :acceptance do
338
338
  require 'rspec/core/rake_task'
339
- if File.file?('inventory.yaml')
339
+ if File.file?('spec/fixtures/litmus_inventory.yaml')
340
340
  inventory_hash = inventory_hash_from_inventory_file
341
341
  targets = find_targets(inventory_hash, nil)
342
342
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  # version of this gem
4
4
  module PuppetLitmus
5
- VERSION ||= '0.26.2'
5
+ VERSION ||= '0.26.3'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet_litmus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.2
4
+ version: 0.26.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-12 00:00:00.000000000 Z
11
+ date: 2021-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bolt
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.1.4
214
+ rubygems_version: 3.1.2
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: Providing a simple command line tool for puppet content creators, to enable