Does r10k play nicely with Puppet Enterprise gems?

135 views
Skip to first unread message

Steven James

unread,
Feb 25, 2014, 5:06:42 AM2/25/14
to puppet...@googlegroups.com, pe-u...@googlegroups.com
As r10k is a gem install, and has quite a few gem dependencies....does anybody know if it plays nicely with Puppet Enterprise?

As long as I use PE's /opt/puppet/bin/{bundle,rake} when doing the builds, should all be fine?

Anybody have any stories or woe and dispair, or just lots of associated happiness?

Thanks for your input!

StevenJ
PS R10K....well done Adrien! Great product!

Adrien Thebo

unread,
Feb 25, 2014, 6:41:28 PM2/25/14
to puppet...@googlegroups.com, pe-u...@googlegroups.com
Hi Steven,

I'm glad that you've found r10k useful!

r10k has pretty a lightweight set dependencies that should play nicely with the rest of Puppet Enterprise, and it's important to me that r10k can easily be installed and behave well in PE. I know that r10k is frequently deployed in PE environments and I haven't heard of any issues with r10k that are due to being installed in the PE rubygems environment. Installing r10k via `/opt/puppet/bin/gem install r10k` should work, and Zack Smith's r10k module has first class support for PE (https://github.com/acidprime/r10k/blob/master/manifests/params.pp#L29-L39) which are pretty encouraging indications that it should work well for you if you install it into the PE stack.

Steven James

unread,
Feb 26, 2014, 12:56:40 AM2/26/14
to puppet...@googlegroups.com, pe-u...@googlegroups.com
Thanks Adrien!

Steven James

unread,
Feb 26, 2014, 4:17:53 AM2/26/14
to puppet...@googlegroups.com
Another r10k related question - is repo sync (or will repo sync) from SVN be supported?

There appears to be some evidence that it was in the codebase a while back, but may have been removed e.g. https://github.com/adrienthebo/r10k/issues/58

If no SVN support now, I suppose alternate workaround may be to install https://github.com/drrb/puppet-library to act as a local Forge repo, publishing our modules there for Puppetfile to find?

e.g.
forge 'forge.internalmydomain.com'

# Install joeblow-module from the local Forge
mod 'joeblow/module', '2.5.1'
Your feedback appreciated!

Thanks

Steven


--
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/GFXaLYXZOgI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d36eb856-69c6-4465-8420-e74c1a59ecd3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Adrien Thebo

unread,
Mar 3, 2014, 7:25:15 PM3/3/14
to puppet...@googlegroups.com
Support for SVN in r10k is actually brand new and is going to be released shortly. It'll be available in 1.2.0 which is currently in RC; if all goes well then 1.2.0 final should be released on Thursday. The CHANGELOG (https://github.com/adrienthebo/r10k/blob/master/CHANGELOG#L11-L12) gives a brief example of the preliminary support and the Puppetfile documentation (https://github.com/adrienthebo/r10k/blob/master/doc/puppetfile.markdown#svn) shows the usage for SVN based modules. Support for environment sources should be added in 1.3.0, depending on if I have enough information to add an implementation of dynamic environments that works well with SVN.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAB_ORUvGyu60%3DRL0XMRpgmp1NPwRNejZ-OJ0FGc91fvENGEd_Q%40mail.gmail.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Adrien Thebo | Puppet Labs
Reply all
Reply to author
Forward
0 new messages