Skip to content

Commit 711c0e2

Browse files
authored
BKR-1465 - install_puppet_on -"opts" defaults "options"
Parameter "opts" on Method "install_puppet_on" now defaults to "options", which contains the information gained from the CONFIG section in the nodeset definition. This has been copied from "install_puppetlabs_release_repo_on"
1 parent 417b4bf commit 711c0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/beaker-puppet/install_utils/foss_utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def install_puppet(opts = {})
252252
# @return nil
253253
# @raise [StandardError] When encountering an unsupported platform by default, or if gem cannot be found when default_action => 'gem_install'
254254
# @raise [FailTest] When error occurs during the actual installation process
255-
def install_puppet_on(hosts, opts={})
255+
def install_puppet_on(hosts, opts = options)
256256
opts = FOSS_DEFAULT_DOWNLOAD_URLS.merge(opts)
257257

258258
# If version isn't specified assume the latest in the 3.x series

0 commit comments

Comments
 (0)