Closed nalyanyam closed 10 years ago
@nalyanyam This is awesome work! Really close to a merge.
@ghoneycutt I have now updated the code so that package provider specification only affects Solaris OS, Please check and see if this is ok.
@ghoneycutt Fixed the spec tests. Was not clear at first because of this new style spec test code. However, I find this new style to be easier in terms of adding more tests & OS support. Please check.
@Phil-Friderici would you mind testing this? I don't have access to Solaris 11.
As we wait for feedback, please do not merge yet. I would like to do some more tests with different client versions and see the behavior, and probably change the code so that provider is changed only if specified in hiera, else the defaults take place.
Actually newer puppet clients At least (3..) distinguish packages properly on Solaris 11 between the legacy packaging mode and the new packaging style - So i will have to change code to reflect this new style properly. I will close this PR & make a new commit. Thanks
@ghoneycutt sorry, still no Solaris guy ;) But I think nalyanyam is testing this with other Hubs around the globe.
Added Solaris 11 support, On older Solaris, 'sun' was always the default init provider, but on a newly installed Solaris 11, 'sun' seems not to be the default provider - and package check fails.
Not sure if this implementation is in the best way.