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 +4 -4
- data/lib/puppet_litmus/rake_tasks.rb +4 -4
- data/lib/puppet_litmus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f98913f0f6a0c9ad4060437f3d79da268611da67a03a147f79ae84ebc39f0626
|
4
|
+
data.tar.gz: 8f6f10a27f7151c7d1b6f1428f8b0b9c2976a5c63ecbc6586ee58e047f695c68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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, '
|
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, '
|
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?('
|
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
|
|
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.
|
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-
|
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.
|
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
|