beaker-task_helper 1.7.3 → 1.7.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 11e6da54dee9c02d812faa375f869b66c1db835f
4
- data.tar.gz: fe5eec15e0f32ad8baa8440880e3a0a04fec19f4
2
+ SHA256:
3
+ metadata.gz: c2198b0d254cb1b20c69583b7c46f6406f8e17cd32c988f7c1c90cb90bb013ac
4
+ data.tar.gz: 7448e26fb7aa3c7b2cd5b0f053643e2fe3d45192856a7089d963d4fc97a64dd7
5
5
  SHA512:
6
- metadata.gz: 54ad0a15fb23f6a0b5aebe1a67cdd34b4019af7bf3114b9260b0605ca9d03a5e3cbfd17df0e22ae6b5c89130fb9f9216efeefbc00a751da2f046d216087c6607
7
- data.tar.gz: 74e7f86db2f40746fcdae43139e06d4543740c450988035f34acece84d966e9a30653996b5f0c26f172b6596ecac3297b55f7f16ab891b38515606ef798e486a
6
+ metadata.gz: 133052711d275ea2d7466d1e3088fcebb0b74e2b9e6947bdfdb7ece34851c6a2f298cd57599d1b93600870dd0d1bc9ba95512e9722b302dee221be2713a3d8b7
7
+ data.tar.gz: 8d139cb50771973e933a14920fd508e4061baddb8ede1a741a0f543552bb027a21a28f33502907cfe64d75cd0734f4a78081e40ac86684b78171f32e7570b404
@@ -0,0 +1,2 @@
1
+ # This repo is owned by the Installer team
2
+ * @puppetlabs/installer-and-management
@@ -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'
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module TaskHelper
3
- VERSION = '1.7.3'.freeze
3
+ VERSION = '1.7.4'.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.7.3
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: 2019-02-25 00:00:00.000000000 Z
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
- rubyforge_project:
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