Different versions for server and agents

1,642 views
Skip to first unread message

Julien C.

unread,
Mar 12, 2012, 10:03:53 AM3/12/12
to puppet...@googlegroups.com
Hi,

Due to severe heterogeneity among my servers (OS and version), I started my puppet infrastructure by deploying agents by hand (from the tarball). That way, I'm sure that I have the same version everywhere.

Having found up-to-date repositories for most of my systems, I'm now questioning that decision. Is it safe to have different versions of puppet :
- in the same major version (eg 2.7.x) ?
- in different major versions ?
- master older that some agents ?

Cheers

Peter Bukowinski

unread,
Mar 12, 2012, 10:16:32 AM3/12/12
to puppet...@googlegroups.com
Your master's version should always be equal to or greater than the latest client version you're using. You can count on a newer master working with older clients, but don't count on newer clients working with older masters.

-- 
Peter M. Bukowinski
Sr. Systems Engineer
Janelia Farm Research Campus, HHMI

Julien C.

unread,
Mar 12, 2012, 10:33:14 AM3/12/12
to puppet...@googlegroups.com
Well, that's more than I expected. I can easily ensure that my server is up-to-date, and then use whatever package I find for the agents...

Thanks.

vagn scott

unread,
Mar 12, 2012, 7:22:11 PM3/12/12
to puppet...@googlegroups.com
On 03/12/2012 10:16 AM, Peter Bukowinski wrote:
>
> Your master's version should always be equal to or greater than the
> latest client version you're using. You can count on a newer master
> working with older clients, but don't count on newer clients working
> with older masters.
>

So, no problems with 0.24.5 agent and 2.7.x master?
What about with 2.8 master and beyond?

How far will you let the versions skew? Where is the limit?

--
vagn

Markus Falb

unread,
Mar 16, 2012, 5:42:08 PM3/16/12
to puppet...@googlegroups.com
On 13.3.2012 00:22, vagn scott wrote:
> On 03/12/2012 10:16 AM, Peter Bukowinski wrote:
>>
>> Your master's version should always be equal to or greater than the
>> latest client version you're using. You can count on a newer master
>> working with older clients, but don't count on newer clients working
>> with older masters.
>>
>
> So, no problems with 0.24.5 agent and 2.7.x master?
> What about with 2.8 master and beyond?

I would love to ask another compatibility question.
How compatible are different master versions?

If things are working with a 2.7.x master and 2.6.14 agents, would
things working with with 2.6.14 master (agents unchanged)?

--
Kind Regards, Markus Falb

signature.asc

Peter Bukowinski

unread,
Mar 16, 2012, 5:50:21 PM3/16/12
to puppet...@googlegroups.com
Markus, yes. As long as the master's version is equal to or greater than the agents, it will work. I can't speak for future master releases, though.

-- Peter (from phone)

Gary Larizza

unread,
Mar 16, 2012, 7:00:07 PM3/16/12
to puppet...@googlegroups.com
The general rule of thumb is that your master must be at a version , like Peter said, greater-than-or-equal-to your clients.

As far as backward compatibility, we strive to maintain a single major release for backwards compatibility (i.e. a 2.7.x master would be backwards-compatible with 2.6.x clients).  Now, a 2.7 master may work with 0.25 or 0.24 clients, but we don't guarantee full compatibility there.  

Some versions have their own feature sets that are introduced AT that version and aren't available to versions prior (I believe 0.25 introduced REST calls and file streaming versus XMLRPC in version 0.24, and Puppet Faces was released in version 2.7).

Always check the release notes for specific gotchas --> http://projects.puppetlabs.com/projects/1/wiki/Release_Notes

Hope this helps!

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




--

Gary Larizza
Professional Services Engineer
Puppet Labs

Reply all
Reply to author
Forward
0 new messages