Puppet and Ruby 1.9

263 views
Skip to first unread message

Forrie

unread,
Jun 18, 2012, 2:32:08 PM6/18/12
to Puppet Users
What is the status of compatibility with Puppet 2.7.16+ and Ruby
1.9? I searched through this group and found some older posts. I am
not certain what the core issues are (and there's probably a
PuppetLabs page for it, I bet).

Thanks.

Ohad Levy

unread,
Jun 18, 2012, 3:02:10 PM6/18/12
to puppet...@googlegroups.com
afair, there is an issue with ssl requests on fedora 17 which is ruby 1.93.

Ohad 

Thanks.

--
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.


Stefan Schulte

unread,
Jun 18, 2012, 3:27:57 PM6/18/12
to puppet...@googlegroups.com
On Mon, Jun 18, 2012 at 10:02:10PM +0300, Ohad Levy wrote:
> On Mon, Jun 18, 2012 at 9:32 PM, Forrie <for...@gmail.com> wrote:
>
> > What is the status of compatibility with Puppet 2.7.16+ and Ruby
> > 1.9? I searched through this group and found some older posts. I am
> > not certain what the core issues are (and there's probably a
> > PuppetLabs page for it, I bet).
> >
>
> afair, there is an issue with ssl requests on fedora 17 which is ruby 1.93.
>
> Ohad
>

According to redmine there are also a few other issues that might matter
for you:
http://projects.puppetlabs.com/projects/puppet/issues?query_id=107

-Stefan

Kinzel, David

unread,
Jun 18, 2012, 3:27:03 PM6/18/12
to puppet...@googlegroups.com

>On Mon, Jun 18, 2012 at 10:02:10PM +0300, Ohad Levy wrote:
>> On Mon, Jun 18, 2012 at 9:32 PM, Forrie <for...@gmail.com> wrote:
>>
>> > What is the status of compatibility with Puppet 2.7.16+ and Ruby
>> > 1.9? I searched through this group and found some older
>posts. I am
>> > not certain what the core issues are (and there's probably a
>> > PuppetLabs page for it, I bet).
>> >
>>
>> afair, there is an issue with ssl requests on fedora 17
>which is ruby 1.93.

The certificate verify issue was just recently fixed in puppet.

We've had no show-stoppers with an fairly modern puppet 2.7.x and ruby 1.9 in our environment.

>>
>> Ohad
>>
>


This email communication and any files transmitted with it may contain
confidential and or proprietary information and is provided for the use of the
intended recipient only. Any review, retransmission or dissemination of this
information by anyone other than the intended recipient is prohibited. If you
receive this email in error, please contact the sender and delete this
communication and any copies immediately. Thank you.

http://www.encana.com

Ohad Levy

unread,
Jun 19, 2012, 10:13:09 AM6/19/12
to puppet...@googlegroups.com
On Mon, Jun 18, 2012 at 10:27 PM, Kinzel, David <David....@encana.com> wrote:

>On Mon, Jun 18, 2012 at 10:02:10PM +0300, Ohad Levy wrote:
>> On Mon, Jun 18, 2012 at 9:32 PM, Forrie <for...@gmail.com> wrote:
>>
>> > What is the status of compatibility with Puppet 2.7.16+ and Ruby
>> > 1.9?   I searched through this group and found some older
>posts.  I am
>> > not certain what the core issues are (and there's probably a
>> > PuppetLabs page for it, I bet).
>> >
>>
>> afair, there is an issue with ssl requests on fedora 17
>which is ruby 1.93.

The certificate verify issue was just recently fixed in puppet.

Do you know which version of puppet solves the issue?

thanks,
Ohad 

We've had no show-stoppers with an fairly modern puppet 2.7.x and ruby 1.9 in our environment.

>>
>> Ohad
>>
>


This email communication and any files transmitted with it may contain
confidential and or proprietary information and is provided for the use of the
intended recipient only. Any review, retransmission or dissemination of this
information by anyone other than the intended recipient is prohibited. If you
receive this email in error, please contact the sender and delete this
communication and any copies immediately. Thank you.

http://www.encana.com

Kinzel, David

unread,
Jun 19, 2012, 10:37:58 AM6/19/12
to puppet...@googlegroups.com
From: puppet...@googlegroups.com [mailto:puppet...@googlegroups.com] On Behalf Of Ohad Levy
Sent: Tuesday, June 19, 2012 8:13 AM
To: puppet...@googlegroups.com
Subject: Re: [Puppet Users] Puppet and Ruby 1.9

Do you know which version of puppet solves the issue?

thanks,
Ohad


2.7.16 should be good: https://projects.puppetlabs.com/issues/8858

Forrie

unread,
Jun 19, 2012, 1:05:13 PM6/19/12
to Puppet Users
Thanks everyone for your replies. I've been waiting to upgrade our
infrastructure to 1.9.

We don't do any esoterica, it's just a simple puppet setup (for the
time being) - not even marionette.

I switched our config to use an NFS mount for puppet and ruby (configs
stored locally on each machine, still) and so far it's worked fine.
So I don't anticipate any version conflict with ruby and puppet.

The SSL bug didn't show up on the redmine page. The others seem like
they might not affect me at this time.

Ohad Levy

unread,
Jun 19, 2012, 3:13:27 PM6/19/12
to puppet...@googlegroups.com
On Tue, Jun 19, 2012 at 5:37 PM, Kinzel, David <David....@encana.com> wrote:
       From: puppet...@googlegroups.com [mailto:puppet...@googlegroups.com] On Behalf Of Ohad Levy
       Sent: Tuesday, June 19, 2012 8:13 AM
       To: puppet...@googlegroups.com
       Subject: Re: [Puppet Users] Puppet and Ruby 1.9

       Do you know which version of puppet solves the issue?

       thanks,
       Ohad


2.7.16 should be good: https://projects.puppetlabs.com/issues/8858

hmm.. it looks like  https://projects.puppetlabs.com/issues/9084 which is targeted for puppet 3.x

Ohad

This email communication and any files transmitted with it may contain
confidential and or proprietary information and is provided for the use of the
intended recipient only. Any review, retransmission or dissemination of this
information by anyone other than the intended recipient is prohibited. If you
receive this email in error, please contact the sender and delete this
communication and any copies immediately. Thank you.

http://www.encana.com

Nick Fagerlund

unread,
Jun 19, 2012, 4:36:29 PM6/19/12
to puppet...@googlegroups.com
The official word from us is documented here: http://docs.puppetlabs.com/guides/platforms.html#ruby-versions

Basically: you should try to stick with 1.8.7 through the 2.7 series, but 3.0 (which is in RC now) and higher will fully and unconditionally support 1.9.3.

- To my knowledge, the whole 2.7.x series has significant issues under 1.9.3 -- issues big enough to interfere with important functionality. It might work! It won't be surprising if it doesn't.
- There are some known issues with 3.x and Ruby 1.9.2; it will likely mostly work, but we don't do testing on it, since the major distros largely skipped 1.9.2. (1.9.1 and 1.9.0 are, of course, right out.)

Michael Stahnke

unread,
Jun 19, 2012, 6:35:30 PM6/19/12
to puppet...@googlegroups.com
I've used 2.7.13 and higher with Ruby 1.9.3. The only real problem I
remember having was around reports. I wasn't doing anything super
complicated though.

Mike
Reply all
Reply to author
Forward
0 new messages