refactor client.pp to support a rhn satellite #2
Open
tosmi wants to merge 4 commits intophundisk:masterfrom
tosmi:client
Open
refactor client.pp to support a rhn satellite #2tosmi wants to merge 4 commits intophundisk:masterfrom tosmi:client
tosmi wants to merge 4 commits intophundisk:masterfrom
tosmi:client
Conversation
introduced two new options to spacewalk::client - force_registration: if set to yes, the client is going to reregister itself to the spacewalk server on the next run. use with care as this can result in the same system registered more than once on the server. - use_spacewalk_client_repo: if spacewalk::client should configure the spacewalk client repository and exec setupSpacewalkClientRepo. when using a redhat satellite server, the client repo is not needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this pull request adds rhn satelllite support to spacewalk::client. i've introduced two new parameters:
use_spacewalk_client_repo: should spacewalk::client use the client repo. when using a rhn
satellite the spacewalk client repo must not be used, as redhat already includes the required rpm's
already in the base channel.
Default is yes, so the behaviour of the class does not change
force_registration: this re-registers the client to the spacewalk server even if the systemid file exists.
thats useful if the spacewalk server changes, but currently has to be used with great care as it may
result in the same client registered more than once to the server.
i've also included some rspec tests for client .pp and updated the documentation.
thanks
toni
Default is false.