Add information about reinstall puppet-agent-oauth#619
Add information about reinstall puppet-agent-oauth#619TuningYourCode wants to merge 1 commit intovoxpupuli:masterfrom
Conversation
ekohl
left a comment
There was a problem hiding this comment.
In foreman-installer there's a hook that automates it:
https://github.com/theforeman/foreman-installer/blob/develop/hooks/pre/31-puppet_agent_oauth.rb
But those who use their installation directly without foreman-installer need to make sure the oauth gem is available. Either by installing puppet-agent-oauth, a manual gem install oauth in the right Ruby environment or some other way.
|
we use the foreman puppet modules to manage the foreman installation by puppet (kind of chicken & egg issue ;)) not sure how common that setup is. |
|
It's not that uncommon and I wanted to provide some context there are multiple ways of achieving it. In https://github.com/theforeman/puppet-foreman/blob/master/manifests/providers.pp we only support the package method, but in I think you can also use package { 'oauth':
ensure => installed,
provider => 'puppet_gem',
} |
As i had this problem and got the answer in slack i wanted to contribute the solution to the website.