• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Managing Plesk with puppet

Christian Garling

New Pleskian
Hi there,

we are using puppet to manage our systems. Does anyone know, if there is a module around to manage Plesk? I searched several times but can't find anything.

If there is not such a module, I will write my own one. In this case, do you have any suggestions how to deal with Plesk best? In detail I want to manage the installation and the configuration (licenses, package definitions and so on) with puppet.

Any help is welcome.

Regards, Christian
 
What is the benefit to using two systems for server management? Why is one system not enough? What about possible conflicts in configuration?
 
Puppet is our standard for system management. From our sight Plesk is just an application to install and configure. I know that Plesk is even more like that.
But anyway, I still need a safe way to handle Plesk with puppet. Actually I have a lot of exec statements with a couple of status files. Only if a status file does not exist, the exec block will be executed.
This is not puppet style, so I am looking for a better way.

Regards, Christian
 
Puppet is our standard for system management. From our sight Plesk is just an application to install and configure. I know that Plesk is even more like that.
But anyway, I still need a safe way to handle Plesk with puppet. Actually I have a lot of exec statements with a couple of status files. Only if a status file does not exist, the exec block will be executed.
This is not puppet style, so I am looking for a better way.
It is really not good idea to use Plesk under another management system. Actually, we strongly do not recommend to use Plesk on the same server with installed third-party management software. Consequences are unpredictable for such kind of mixed configuration.
 
Hi, actually puppet is used with Plesk at least in some hosting companies and it runs ok. Puppet can do a range of tasks which are not covered by Plesk, including to some degree mass-management of multiple Plesks. i.e. one of applications would be a consistent servers configuration according to some template/standard.

Safety rules are generally similar to regular server administration:
  • don't ever directly change files managed by Plesk (they would have a warning on top) - work with predefined include-files instead, or call Plesk CLI for a target configuration
  • use Plesk CLI when it comes to change Plesk setup. Avoid changes in Plesk DB by all means
Also
  • when Plesk CLI is called to bring an item to a desired state, sometimes (as I have been told) it might cause unnecessary service restart/reconfiguration even though the state hasn't been changed. It might impact performance of a server where such "syncs" are frequent and domains are numerous. It is resolved by getting current status from Plesk CLI and comparing it to the current status. If you face such cases, feel free to report to us and indicate that it complicates puppet usage
I will be curious to know how it all worked for you if you can share the results later
Regards
 
Back
Top