Puppet Quick Tip: Enabling an Apache module | Snowulf
My solution is as close to a “one liner” as it gets in puppet. You just check to see if the symlink for the loaded module exists and if it doesn’t, run a2enmod. Of course it’ll double check to make sure Apache gets restarted too.