beaker-task_helper 1.7.3 → 1.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CODEOWNERS +2 -0
- data/lib/beaker-task_helper.rb +3 -1
- data/lib/beaker-task_helper/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c2198b0d254cb1b20c69583b7c46f6406f8e17cd32c988f7c1c90cb90bb013ac
|
4
|
+
data.tar.gz: 7448e26fb7aa3c7b2cd5b0f053643e2fe3d45192856a7089d963d4fc97a64dd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 133052711d275ea2d7466d1e3088fcebb0b74e2b9e6947bdfdb7ece34851c6a2f298cd57599d1b93600870dd0d1bc9ba95512e9722b302dee221be2713a3d8b7
|
7
|
+
data.tar.gz: 8d139cb50771973e933a14920fd508e4061baddb8ede1a741a0f543552bb027a21a28f33502907cfe64d75cd0734f4a78081e40ac86684b78171f32e7570b404
|
data/CODEOWNERS
ADDED
data/lib/beaker-task_helper.rb
CHANGED
@@ -65,6 +65,8 @@ INSTALL_BOLT_PP
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def run_puppet_access_login(user:, password: '~!@#$%^*-/ aZ', lifetime: '5y')
|
68
|
+
peconf_password = get_unwrapped_pe_conf_value("console_admin_password")
|
69
|
+
password = peconf_password if peconf_password != nil && peconf_password != ""
|
68
70
|
on(master, puppet('access', 'login', '--username', user, '--lifetime', lifetime), stdin: password)
|
69
71
|
end
|
70
72
|
|
@@ -115,7 +117,7 @@ INSTALL_BOLT_PP
|
|
115
117
|
def run_bolt_task(task_name:, params: nil, password: DEFAULT_PASSWORD,
|
116
118
|
host: '127.0.0.1', format: 'human', module_path: nil)
|
117
119
|
if fact_on(default, 'osfamily') == 'windows'
|
118
|
-
bolt_path = if ENV['BEAKER_PUPPET_COLLECTION'].nil? || ENV['BEAKER_PUPPET_COLLECTION'] == 'pc1' || ENV['BEAKER_PUPPET_COLLECTION'] == 'puppet5'
|
120
|
+
bolt_path = if ENV['BEAKER_PUPPET_COLLECTION'].nil? || ENV['BEAKER_PUPPET_COLLECTION'] == 'pc1' || ENV['BEAKER_PUPPET_COLLECTION'] == 'puppet5' || ENV['BEAKER_PUPPET_COLLECTION'] == 'puppet6'
|
119
121
|
'/cygdrive/c/Program\ Files/Puppet\ Labs/Puppet/sys/ruby/bin/bolt.bat'
|
120
122
|
else
|
121
123
|
'/cygdrive/c/Program\ Files/Puppet\ Labs/Puppet/puppet/bin/bolt.bat'
|
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.7.
|
4
|
+
version: 1.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- ".rubocop.yml"
|
107
107
|
- ".travis.yml"
|
108
108
|
- CHANGELOG.md
|
109
|
+
- CODEOWNERS
|
109
110
|
- CONTRIBUTING.md
|
110
111
|
- Gemfile
|
111
112
|
- LICENSE.txt
|
@@ -135,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
136
|
- !ruby/object:Gem::Version
|
136
137
|
version: '0'
|
137
138
|
requirements: []
|
138
|
-
|
139
|
-
rubygems_version: 2.5.1
|
139
|
+
rubygems_version: 3.0.6
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: Ruby gem to help testing tasks with Beaker
|