puppet on Xen Server

1,039 views
Skip to first unread message

John Guthrie

unread,
May 31, 2012, 1:56:59 PM5/31/12
to Puppet Users
Has anyone had any luck installing puppet on Citrix Xenserver? It
appears that there is no ruby package for the OS itself, and we ran into
dependency issues when we tried to compile our own ruby.

Thanks.

John Guthrie
jgut...@book.com

This electronic mail message contains information that (a) is or
may be CONFIDENTIAL, PROPRIETARY IN NATURE, OR OTHERWISE
PROTECTED
BY LAW FROM DISCLOSURE, and (b) is intended only for the use of
the addressee(s) named herein. If you are not an intended
recipient, please contact the sender immediately and take the
steps necessary to delete the message completely from your
computer system.

Not Intended as a Substitute for a Writing: Notwithstanding the
Uniform Electronic Transaction Act or any other law of similar
effect, absent an express statement to the contrary, this e-mail
message, its contents, and any attachments hereto are not
intended
to represent an offer or acceptance to enter into a contract and
are not otherwise intended to bind this sender,
barnesandnoble.com
llc, barnesandnoble.com inc. or any other person or entity.

Timothy Sutton

unread,
May 31, 2012, 6:42:41 PM5/31/12
to <puppet-users@googlegroups.com>
I've only ever installed a handful of 3rd-party tools on XenServer,
but it was usually a matter of finding EL5-compatible rpms from an
external repo and installing those.

Tim
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>

Martin Willemsma

unread,
May 31, 2012, 7:34:47 PM5/31/12
to puppet...@googlegroups.com
Hi John,

We have puppet running on Xenserver. Please note that Citrix can start
complaining about 'unsupported custom modifications' to the host in
case you have a technical support contract.

ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-linux]

I have these packages installed on XenServer release 5.5.0

rpm -qa | grep ruby
ruby-libs-1.8.7.299-4.el5.kb
ruby-irb-1.8.7.299-4.el5.kb
ruby-ri-1.8.7.299-4.el5.kb
ruby-1.8.7.299-4.el5.kb
ruby-rdoc-1.8.7.299-4.el5.kb

cat /etc/redhat-release
XenServer release 5.5.0-15119p (xenenterprise)

Also rolled our own for CentOS those are not installed yet on this machine.

---

Best regards

Martin

2012/6/1 Timothy Sutton <t...@synthist.net>:

John Guthrie

unread,
Jun 12, 2012, 11:49:45 AM6/12/12
to puppet...@googlegroups.com
Martin,

Thank you for providing that information. We were wondering which
repository you were using to get those RPMs. We used yum to search for
those RPMs on XenServer 5.6 (the earliest that we have) and we weren't
able to find any of those RPMs. We weren't able to find them on our
distribution CDs either.

Thanks again.

John Guthrie
jgut...@book.com

Martin Willemsma

unread,
Aug 9, 2012, 11:51:01 AM8/9/12
to puppet...@googlegroups.com
I install and upgrade puppet from gems

gem install puppet --no-rdoc --no-ri

2012/8/9 vioilly <olive...@gmail.com>
Hi,

I am also looking at getting puppet on xenserver

I used this repo http://centos.karan.org/el5/ruby187/i386/ and ran wget on each of the 5 rpms and then used rpm -i

not a pretty way of doing things but I do have ruby installed now, then same as martin. However hitting brick walls with yum install puppet using the puppetlabs repo

Anyone else got a solution to this thread.. would help others i assume?

Vioilly
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/D0cbgbA006MJ.

To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.



--
---
Met vriendelijke groet,

Martin Willemsma

vioilly

unread,
Aug 9, 2012, 5:23:09 PM8/9/12
to puppet...@googlegroups.com
ok.. so (roughly) here's what I did to get the puppet client to install on xenserver

Installed ruby from this repo

http://centos.karan.org/el5/ruby187/i386/

you need these rpms installed for ruby


rpm -qa | grep ruby
ruby-libs-1.8.7.299-4.el5.kb
ruby-irb-1.8.7.299-4.el5.kb
ruby-ri-1.8.7.299-4.el5.kb
ruby-1.8.7.299-4.el5.kb
ruby-rdoc-1.8.7.299-4.el5.kb

run ruby -v to check you have ruby install

[user@xenserver ~]# ruby -v

ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-linux]

installed gem using

yum install rubygem-gem2rpm 

installed puppet using

gem install puppet --no-rdoc --no-ri
Hope that helps someone else. Thanks to Martin for his help on this..

Zane Williamson

unread,
Apr 5, 2013, 8:37:21 PM4/5/13
to puppet...@googlegroups.com
Looks like I got it to install, but curious where the configuration information for puppet agent lives when installing it via ruby gems.  Could you point me in the right direction? 

Martin Willemsma

unread,
Apr 6, 2013, 8:55:52 AM4/6/13
to Puppet Users
Hi Zane,

Because you installed from gems you do not have the config files set up for you. You need to place a config in /etc/puppet/puppet.conf to control the binary. Also create an init script in /etc/init.d/puppet for the start stop restart.

Just out of curiosity are you using Citrix Xenserver or opensource xen?


2013/4/6 Zane Williamson <zane.wi...@gmail.com>
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.

To post to this group, send email to puppet...@googlegroups.com.



--
Met vriendelijke groet, Kind Regards,

Martin Willemsma

Zane Williamson

unread,
Apr 6, 2013, 11:15:34 AM4/6/13
to puppet...@googlegroups.com
Thanks Marin,

I have XCP 1.6 installed now.  I wanted to see if I could use my default puppet manifests on it but it appears it will be a pain to integrate.  

-Zane


--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/ofodyPt2x8U/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.

To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Zane
Reply all
Reply to author
Forward
0 new messages