On Tue, Nov 20, 2012 at 10:40 AM, Laurence Cope <amitywebsoluti...@gmail.com> wrote: > So does that mean I still have to manually setup server and install what I > need, then just use Puppet to keep them all configured the way I want them? > > So I would still copy my virtual servers to create a new one (because it > takes too long to setup a virtual server from scratch and install everything > I need). > > I was hoping to find some sort of "server setup" automation tool so I can > create a new CentOS VM for example, then just have something install all the > software I need automatically.
Puppet can certainly do the 'install all the software I need automatically' bit for you, but its and your job is made much easier by asking/telling it to install software in your OSes 'native' packaging format. As you mention CentOS, that would be RPM. RPMs for Virtualmin can be found at http://www.webmin.com/vdownload.html. In order to have Puppet install that for you, you will need to create your own Yum repository, have Puppet configure yum to make use of that repo, then create a manifest that installs the package. Hope this helps, Matt. > > Thanks > > > On Monday, November 19, 2012 7:57:33 PM UTC, Laurence Cope wrote: >> >> HI >> >> Forgive me if this is such a newbie issue. I am learning Puppet to manage >> several servers we have. The tutorials on manifests etc. seem a bit >> simplistic for I want, if what I want can be achieved with Puppet. >> >> Our servers are web hosting servers. We use Virtualmin (and Webmin) to >> manage the server and virtual servers. installing Virtualmin takes care of >> installing all the software required for virtual servers and websites, like >> Apache MySQL, PHP, BIND, Postfix etc. So we dont install those separately. >> Virtualmin does it. >> >> To setup a server we create the VPS, install Virtualmin, configure it, >> install CSF (Firewall), configure it and then our monitoring system agent. >> This is the minimum. We may want to then install something like Varnish >> perhaps, or anything else. At the moment I copy another server and delete >> its virtual servers as I have everything configured. But in time the configs >> just move away from each other. So I also want a way to manage all the >> configs on all servers, so they are the same. CSF in particular. >> >> I wondered if all this can be done in Puppet. I have no idea if it can >> because I cannot find any examples of this. >> >> I wondered if this is very possible with Puppet so I can continue to >> learn, OR if not then I will give up now as I already spent a while on this. >> >> Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/fsdRJsMHrT8J. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.