I found an issue with salt/module/puppet.py
It won't work if puppet enterprise is installed, because puppet enterprise is configured differently
line 60 and 61:
self.vardir = '/var/lib/puppet'
self.confdir = '/etc/puppet'
This values are only for puppet opensource not for puppet enterprise:
For puppet enterprise it should be:
self.vardir = '/var/opt/lib/pe-puppet'
self.confdir = '/etc/puppetlabs/puppet'
If these could be refactored as defines like the one in rabbitmq.py
and only called when added to the salt puppet.cmd it would enable
puppet enterprise support
Or these could be dynamic with:
puppet agent --configprint vardir
puppet agent --configprint confdir
I'm willing to test the new module in our test environment:
sles 11 sp2 master
sles 11 sp2 minion
both build from same template with latest puppet enterprise version
fix implemented and tested.
Thanks for testing that @aboe76 . It would have taken a long time for me to get a testing environment going.