New to Puppet :wanted more information of VM provisioning in puppet

90 views
Skip to first unread message

Ritesh Yeole

unread,
Nov 22, 2016, 5:30:30 AM11/22/16
to Puppet Users
Hi,

I am new to puppet and have following requirement for my infrastructure :

1) Is VM provisioning possible from puppet ?

And if possible then which version will it support. ?

Can any one help me regarding this ?


Thanks in advance.

Regards,
Ritesh

Akai

unread,
Nov 22, 2016, 6:46:28 AM11/22/16
to Puppet Users
Its possible but not by Puppet OpenSource itself, Puppet OpenSource is just the configuration management.
For provisioning, you need a complete lifecycle management tool. You can choose between:

- Foreman (OpenSource and free)
- Puppet Enterprise

Iam using Puppet together with Foreman. We are provisioning CentOS and Windows Server from scratch on VMWare and Amazaon Cloud. Works great.

Andrew Langhorn

unread,
Nov 22, 2016, 7:01:27 AM11/22/16
to puppet...@googlegroups.com
Puppet can be used to provision infrastructure, but to answer this in any more depth, we'd need to know what infrastructure you want to provision.

Andrew

Martin Alfke

unread,
Nov 22, 2016, 7:03:48 AM11/22/16
to puppet...@googlegroups.com
One more tool: there is razor (from Puppet and it is open source)
https://forge.puppet.com/puppetlabs/razor/readme
https://puppet.com/product/capabilities/automated-provisioning
https://github.com/puppetlabs/razor-server
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e6760c7c-5420-43ec-87a7-8c5fbc1ad322%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Rob Nelson

unread,
Nov 22, 2016, 7:51:27 AM11/22/16
to puppet...@googlegroups.com
Whether you use Puppet Enterprise or Razor, Puppet can still be used in your provisioning pipeline. That's how it fits into Foreman, for instance. If you're a VMware shop, you can tie it into vRO/vRA workflows. You can fit into an Openstack workflow (but I'm not familiar with that to name the right project), or an AWS or Azure workflow, etc. Even if you do manual deployments, it can still be part of your provisioning process by running `puppet agent -t` on the console/ssh terminal.

As for versions it will support, check out https://docs.puppet.com/puppet/latest/reference/system_requirements.html. I believe there's a much prettier chart of supported platforms and versions but of course I can't find it right now.
On Tue, Nov 22, 2016 at 7:03 AM, Martin Alfke <tux...@gmail.com> wrote:

> On 22 Nov 2016, at 12:46, Akai <andreas....@gmail.com> wrote:
>
> Its possible but not by Puppet OpenSource itself, Puppet OpenSource is just the configuration management.
> For provisioning, you need a complete lifecycle management tool. You can choose between:
>
> - Foreman (OpenSource and free)
> - Puppet Enterprise
>
> Iam using Puppet together with Foreman. We are provisioning CentOS and Windows Server from scratch on VMWare and Amazaon Cloud. Works great.
>
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/98ED10C7-3165-46EB-8FE9-5B81A517BD90%40gmail.com.

Klavs Klavsen

unread,
Nov 23, 2016, 2:56:39 AM11/23/16
to Puppet Users
lxd module for puppet can provision lxc 'vm's - and puppet-virt module can provision kvm's.

But normally puppets place in the footchain - is NOT provisioning.. there are much better tools for this (razor etc.) - which then hands over OS system configuration to puppet.

Gareth Rushgrove

unread,
Nov 23, 2016, 10:05:50 AM11/23/16
to puppet...@googlegroups.com
So, this really depends on what you mean by 'provisioning'. It's a
common word but invariably means different things to different people
in different organisations 'provisioning' different things.

Ritesh, if you'd like to expand on what exactly you're attempting to
do then I'm sure the responses will be clearer and more relevant. But
as an overview for everyone:

Razor is a bare metal provisioning tool from Puppet, so if you're
provisioning from bare metal it's definitely worth looking at
https://docs.puppet.com/pe/latest/razor_intro.html

You mention VM's specifically, at which point it depends on the
hypervisors/platform. There are different modules for the some
different flavours here, for instance:

AWS - https://github.com/puppetlabs/puppetlabs-aws
vSphere - https://forge.puppet.com/puppetlabs/vsphere (note that this
is only available for Puppet Enterprise customers)
Azure - https://github.com/puppetlabs/puppetlabs-azure

There is also the puppet-virt module mentioned above which has some
support for Xen and KVM and the like:
https://github.com/carlasouza/puppet-virt

The modules tend to focus on exposing VMs as Puppet resources. This
means you can use the Puppet command line tools to launch or manage
VMs, but more interestingly you can also describe them in Puppet code
and have a code-first provisioning workflow which is great for
auditability and understanding your infrastructure.

Gareth

> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/ec0061c8-9463-4fa0-9405-4f17543de440%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Gareth Rushgrove
@garethr

devopsweekly.com
morethanseven.net
garethrushgrove.com
Reply all
Reply to author
Forward
0 new messages