Skip to content
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

puppet throws error when system is already registered #13

Open
logicminds opened this issue Oct 15, 2015 · 1 comment
Open

puppet throws error when system is already registered #13

logicminds opened this issue Oct 15, 2015 · 1 comment

Comments

@logicminds
Copy link

I am getting an error in my puppet report after a system is registered. The error code returned is 255 so I think we should not fail if the error code is 255.

@logicminds
Copy link
Author

Upon further inspection the code below looks for this file /etc/sysconfig/rhn/systemid.

https://github.com/strider/puppet-rhnreg_ks/blob/master/lib/puppet/provider/rhn_register/rhnreg_ks.rb#L65

However this file is slightly different on my system in that it uses /etc/sysconfig/rhn/systemid.hostname_of_rhn_server. I am not sure if this is configurable or different on satellite 6.

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

No branches or pull requests

1 participant