beaker-task_helper 1.4.4 → 1.4.5

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
  SHA1:
3
- metadata.gz: 4d878200c6c5b7c0bd57240d2914aeaaad926d72
4
- data.tar.gz: ffce9e83378d3b2486f79eac959ee4edcb08512e
3
+ metadata.gz: 76f7f2abc04ea89a553a933a1069c7780a5dcebd
4
+ data.tar.gz: 1848aafc1bfa6525b06efb236c4799dfa4272bd3
5
5
  SHA512:
6
- metadata.gz: 3f660564b6d17c6d86f48e338a37b152b7ead8525b79ef0998396908e7293bd803cc352fd87732561236f171b7aa65f6351ac5b06d39b8b038aecf929f2027ec
7
- data.tar.gz: e43110847a9dd8b6a18b5b95f282cbc5f8bab0af523ef39f572e31cf91ed064db94f87534dd2d61b9cabffda388d334ca52f06f0928730225a06aed05c15330e
6
+ metadata.gz: 7acbce1d62f03acfea5502423a7750e473710ceac4cd77d992b0b4c97764eb374237553aa1ad588c79dce0c10c0b5c642597091582d5e144d2fcd24f42868d2e
7
+ data.tar.gz: db152f9ffd9ac8531f520c7412ca814224349eeb497fcad9775a15913f872fe4b1ff8fadf8a3cec34ed94255083d0f81e99d2bfd740ce5c21f03942238987cc1
data/CHANGELOG.md CHANGED
@@ -1,32 +1,58 @@
1
1
  # Change Log
2
2
 
3
- ### 1.4.0
4
-
5
- * Added `BEAKER_password` variable for remote tasks.
6
- * Fix windows on bolt >=0.16.0
7
- * Fix json output format.
8
-
9
- ### 1.3.0
10
-
11
- * Cleaning up the README
12
- * Making compatible with bolt versions greater than 0.15.0
13
- * Pinning bolt install version to 0.16.1
14
-
15
- ### 1.2.0
16
-
17
- * run_task now takes host as a parameter.
18
- * task_summary_line provides a generic way for checking bolt or pe success.
19
- * Tests added
20
-
21
- ### 1.1.0
22
-
23
- * Better windows support.
24
- * Make source for gem an argument.
25
-
26
- ### 1.0.1
27
-
28
- * Fix license and point to the correct github URL.
29
-
30
- ### 1.0.0
31
-
32
- * Initial release, helper methods to run bolt or pe tasks.
3
+ ## 1.4.5
4
+ ### Fixed
5
+ - Windows path to bolt
6
+
7
+ ## 1.4.4
8
+ This version is not semver.
9
+ ### Added
10
+ - Ability to pass a custom path to bolt
11
+ - `setup_ssh_access` method to setup task ssh access on linux hosts.
12
+
13
+ ## 1.4.3
14
+ ### Fixed
15
+ - Handle default password when no host has a "default" role.
16
+
17
+ ## 1.4.2
18
+ No changes.
19
+
20
+ ## 1.4.1
21
+ This version is not semver.
22
+ ### Changed
23
+ - Require `beaker-task_helper` instead of `beaker/task_helper` now.
24
+
25
+ ### Fixed
26
+ - Use beaker's version_is_less rather than puppet's versioncmp
27
+
28
+ ## v1.4.0
29
+ ### Added
30
+ - `BEAKER_password` variable for remote tasks.
31
+
32
+ ### Fixed
33
+ - Fix windows on bolt >=0.16.0
34
+ - Fix json output format.
35
+
36
+ ## v1.3.0
37
+ ### Added
38
+ - Cleaning up the README
39
+ - Making compatible with bolt versions greater than 0.15.0
40
+ - Pinning bolt install version to 0.16.1
41
+
42
+ ## 1.2.0
43
+ ### Added
44
+ - run_task now takes host as a parameter.
45
+ - task_summary_line provides a generic way for checking bolt or pe success.
46
+ - Tests added
47
+
48
+ ## 1.1.0
49
+ ### Added
50
+ - Better windows support.
51
+ - Make source for gem an argument.
52
+
53
+ ## 1.0.1
54
+ ### Fixed
55
+ - Fix license and point to the correct github URL.
56
+
57
+ ## 1.0.0
58
+ - Initial release, helper methods to run bolt or pe tasks.
@@ -83,12 +83,10 @@ INSTALL_BOLT_PP
83
83
  end
84
84
 
85
85
  def run_bolt_task(task_name:, params: nil, password: DEFAULT_PASSWORD,
86
- host: 'localhost', format: 'human', module_path: '/etc/puppetlabs/code/modules')
86
+ host: 'localhost', format: 'human', module_path: nil)
87
87
  if fact_on(default, 'osfamily') == 'windows'
88
88
  bolt_path = '/cygdrive/c/Program\ Files/Puppet\ Labs/Puppet/sys/ruby/bin/bolt.bat'
89
- unless module_path
90
- module_path = 'C:/ProgramData/PuppetLabs/code/modules'
91
- end
89
+ module_path ||= 'C:/ProgramData/PuppetLabs/code/modules'
92
90
 
93
91
  if version_is_less('0.15.0', BOLT_VERSION)
94
92
  check = '--no-ssl'
@@ -97,6 +95,7 @@ INSTALL_BOLT_PP
97
95
  end
98
96
  else
99
97
  bolt_path = '/opt/puppetlabs/puppet/bin/bolt'
98
+ module_path ||='/etc/puppetlabs/code/modules'
100
99
 
101
100
  if version_is_less('0.15.0', BOLT_VERSION)
102
101
  check = '--no-host-key-check'
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module TaskHelper
3
- VERSION = '1.4.4'.freeze
3
+ VERSION = '1.4.5'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-task_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - puppet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-05 00:00:00.000000000 Z
11
+ date: 2018-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.5.1
138
+ rubygems_version: 2.6.14
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Ruby gem to help testing tasks with Beaker