puppetlabs / puppetlabs-satellite_pe_tools

Other
2 stars 15 forks source link

Katello default cert RPM is now managed on RHEL systems. #11

Closed jonnytdevops closed 9 years ago

jonnytdevops commented 9 years ago

We have to use an exec here to install the RPM as the package name is different from the rpm name, and we can't predict it easily as it has the hostname of the remote satellite server in it....

ccaum commented 9 years ago

This seems reasonable, but it occurred to me it might be more reasonable to use a package resource than an exec. The package rpm provider accepts http sources for RPMs.

jonnytdevops commented 9 years ago

Hi Carl,

I tried the package resource. It doesn't work as per my opening comment. I.e., puppet tries to install the RPM everytime.

jonnytdevops commented 9 years ago

...and we have no way of reliably deducing the package name beforehand.

ccaum commented 9 years ago

Oh weird. ok then. Ship it. 👍

jonnytdevops commented 9 years ago

I've also updated the test script to now use this new code :)

jonnytdevops commented 9 years ago

Closed due to #13