-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes windows masterless installation #1
Conversation
Setting up a masterless windows client would fail with the following error: Exited: 1 /usr/local/rvm/gems/ruby-2.2.1/gems/beaker-2.37.0/lib/beaker/host.rb:330:in `exec': Host 'sxrwjhkia9gzo03' exited with 1 running: (Beaker::Host::CommandFailure) cmd.exe /c puppet config set server Last 10 lines of output were: Error: puppet config set takes 2 arguments, but you gave 1 Error: Try 'puppet help config set' for usage As far as I could see this error is caused by the 'setup_defaults_and_config_helper_on' function which tries to set the master configuration setting in puppet.conf. But since there is no master varaible available this failes. This patch should fix that by only calling setup_defaults_and_config_helper_on whern we're not doing a masterless installation.
Can one of the admins verify this patch? |
@puppetlabs-jenkins test this please |
Can one of the admins verify this patch? |
@puppetlabs-jenkins retest this please |
Refer to this link for build results (access rights to CI server needed): |
@puppetlabs-jenkins retest this please |
Refer to this link for build results (access rights to CI server needed): |
As I have no access to the CI server can anyone help me to get this corrected? |
Same failure in Ruby 1.9.3, 2.0 and 2.1
|
@Renelast and @glennsarti ,we just merged in a PR, commit c1ea366, that should address the |
… fix/windows_masterless
@tvpartytonight updated my PR as requested |
@puppetlabs-jenkins test this please |
Setting up a masterless windows client would fail with the following error:
Exited: 1
/usr/local/rvm/gems/ruby-2.2.1/gems/beaker-2.37.0/lib/beaker/host.rb:330:in `exec': Host 'sxrwjhkia9gzo03' exited with 1 running: (Beaker::Host::CommandFailure)
cmd.exe /c puppet config set server
Last 10 lines of output were:
Error: puppet config set takes 2 arguments, but you gave 1
Error: Try 'puppet help config set' for usage
As far as I could see this error is caused by the 'setup_defaults_and_config_helper_on' function which tries to set the master configuration setting in puppet.conf. But since there is no master varaible available this failes.
This patch should fix that by only calling setup_defaults_and_config_helper_on whern we're not doing a masterless installation.