Ask Your Question
1

Using Puppet to install XenServer Tools?

asked 2013-08-28 16:13:18 -0500

Hi All,

We use XenServer for most of our virtualization needs.

I'd like to build a Puppet module to install the XenServer Tools that allow XenServer to manage VMs and didn't see any such thing in Puppet Forge or github.

Problem is that the install requires a reboot and I can't find any good documentation on how to do this with Puppet as part of the install.

Please let me know if you have any insights into how to best do this.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-08-28 20:53:35 -0500

GregLarkin gravatar image

As long as the puppet agent runs automatically at boot time, you can force a reboot and still have the machine under puppet control after it comes back up. There are some techniques for issuing a reboot here: https://groups.google.com/forum/#!topic/puppet-users/Y_WBiXmHmyI

Basically, you have to create an exec resource to call /sbin/reboot and make sure that it correctly subscribes to another resource that triggers the reboot. In your case, it might be a package resource that performs the XenServer Tools installation.

Some of the postings I read online discourage the idea of Puppet issuing ... (more)

edit flag offensive delete link more

Comments

Thanks, Greg. I was hoping that Puppet would have a built in method of doing this in a controlled way, but it sounds like the answer is not yet.

ITBlogger gravatar imageITBlogger ( 2013-08-29 12:35:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-08-28 16:13:18 -0500

Seen: 604 times

Last updated: Aug 28 '13