Re: [Puppet Users] How to take a (VMWare) Virtual Machine's Snapshot using Puppet

151 views
Skip to first unread message

Marco Shaw

unread,
Feb 11, 2013, 9:12:29 PM2/11/13
to puppet...@googlegroups.com
> but cannot find puppet samples, where a user can get permissions to create
> a VM SnapShot, and also revert it, without having root access, or admin
> rights.

I would consider 2 possible approaches:
1. You have to get a restricted user created by a VMware administrator.
2. You consider creating a "push service" to have this done.

"push service": I can't think of a better name, but you basically
create a service with admin/root access that scans maybe a particular
directory. Your puppet scripts, for example, simply drop a file that
special directory. Your service scans this directory regularly and
takes the appropriate action(s). The file could contain a name and an
action: "vm_foo":"create_snapshot". This would be enough information
for the service to act accordingly.

Marco
Reply all
Reply to author
Forward
0 new messages