beaker-task_helper 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +56 -30
- data/lib/beaker-task_helper.rb +3 -4
- data/lib/beaker-task_helper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76f7f2abc04ea89a553a933a1069c7780a5dcebd
|
4
|
+
data.tar.gz: 1848aafc1bfa6525b06efb236c4799dfa4272bd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7acbce1d62f03acfea5502423a7750e473710ceac4cd77d992b0b4c97764eb374237553aa1ad588c79dce0c10c0b5c642597091582d5e144d2fcd24f42868d2e
|
7
|
+
data.tar.gz: db152f9ffd9ac8531f520c7412ca814224349eeb497fcad9775a15913f872fe4b1ff8fadf8a3cec34ed94255083d0f81e99d2bfd740ce5c21f03942238987cc1
|
data/CHANGELOG.md
CHANGED
@@ -1,32 +1,58 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
###
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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.
|
data/lib/beaker-task_helper.rb
CHANGED
@@ -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:
|
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
|
-
|
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'
|
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
|
+
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-
|
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.
|
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
|