Open unixmind opened 7 years ago
For fix this on xenserver I'd use facts that work both on 3.x and 4.x Puppet versions such as $operatingsystemmajrel and $osfamily or $operatingsysystem
I'd start to use the $os fact only in a Puppet 4 only compatible module. m2c.
Question : could we use new fact "os" in order to manage Puppet repositories for XenServer hosts ?
Expected Behavior
manage EL7 packages for XenServer 7.0 (and EL5 for XenServer 6.x) we should use "os.name" and "os.release.major" facts
Actual Behavior
on all XenServer releases, Puppet packages are for EL5