Alexandre Barth
2014-Oct-30 14:33 UTC
[Puppet Users] How to get package version to use it in template ?
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 fact to get a package version, but package installation and configuration append during the same puppet run so custom fact is empty for the template and the good configuration is only applied during next run. Any idea ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/473cac2d-7042-4ddf-8f31-c43c28b21a02%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.