Skip to content

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 #2
tosmi wants to merge 4 commits intophundisk:masterfrom
tosmi:client

Conversation

@tosmi
Copy link
Copy Markdown
Contributor

@tosmi tosmi commented Mar 6, 2014

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.

tosmi added 4 commits March 3, 2014 12:34
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant