When you are dealing with Zend Server on a puppetized machine you can run into trouble: Zend Server uses it’s own packages for maintaining things like PHP etc so when you are installing PHP, you might end up with the PHP version of your distribution instead of the ZendServer. WE actually run into trouble once where we have 3(!) different PHP versions installed on the same server. What could possible go wrong!
This means you should not install the default PHP package for your distribution when the distribution also runs on Zend Server. This Facter plugin will allow you to use the $zendserver fact inside your own manifests to check if Zend server is installed, so you can take measures against installing stuff that is taken care of by ZendServer itself.
Note: it’s a VERY crude check, nothing more a check to see if a directory exists, and we don’t return the Zend Server version (Zend Platform is not supported). However, these things can be changed quite easily.
- Download from: https://github.com/jaytaph/puppet-facter-zendserver
- Installation: through puppet off course! :-)