[Puppet Users] How to get package version to use it in template ?

2014-10-30 Thread Alexandre Barth
Hello ! I have a problem generating different configuration in a template depending on package version installed. For example, in my httpd module, i'd like to generate configuration using Order, Allow from and Deny from if httpd < 2.4 and Require ip if httpd > 2.4. I know i can create custom fa

[Puppet Users] CentOS 7.1 : facter problem

2015-04-01 Thread Alexandre Barth
OS informations are broken using facter in CentOS 7.1 : os variable is not populated as it should be, and so operatingsystemmajrelease and operatingsystemrelease are not created at all. I think this comes from the /etc/redhat-release file in centos 7.1 In Centos 7.0, /etc/redhat-release is a sy

[Puppet Users] Re: CentOS 7.1 : facter problem

2015-04-01 Thread Alexandre Barth
centos-release package has been updated this night and fixes the problem :) Le mercredi 1 avril 2015 09:59:14 UTC+2, Alexandre Barth a écrit : > > OS informations are broken using facter in CentOS 7.1 : os variable is not > populated as it should be, and so operatingsystemmajre