[Openstack-operators] How do I install specific versions of openstack/puppet-keystone

Sam Morrison sorrison at gmail.com
Wed Nov 25 23:35:20 UTC 2015


Can you get R10k to NOT install dependencies listed in metadata etc.?  
We use puppet-librarian and it can’t and so we have to change every puppet module eg. [1] as some of the dependencies break things for us.

Sam


[1] https://github.com/NeCTAR-RC/puppet-glance/commit/818e876eafe24252d9847474f68300bc0f706b22 <https://github.com/NeCTAR-RC/puppet-glance/commit/818e876eafe24252d9847474f68300bc0f706b22>



> On 26 Nov 2015, at 6:46 AM, Kris G. Lindgren <klindgren at godaddy.com> wrote:
> 
> We use R10k as well.
> 
> ___________________________________________________________________
> Kris Lindgren
> Senior Linux Systems Engineer
> GoDaddy
> 
> From: Matt Fischer <matt at mattfischer.com <mailto:matt at mattfischer.com>>
> Date: Wednesday, November 25, 2015 at 12:16 PM
> To: Saverio Proto <zioproto at gmail.com <mailto:zioproto at gmail.com>>
> Cc: "openstack-operators at lists.openstack.org <mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org <mailto:openstack-operators at lists.openstack.org>>
> Subject: Re: [Openstack-operators] How do I install specific versions of openstack/puppet-keystone
> 
> I'd second the vote for r10k. You need to do this however otherwise you'll get the master branch:
> 
> mod 'nova',
>   :git => 'https://github.com/openstack/puppet-nova.git <https://github.com/openstack/puppet-nova.git>',
>   :ref => 'stable/kilo'
> 
> mod 'glance',
>   :git => 'https://github.com/openstack/puppet-glance.git <https://github.com/openstack/puppet-glance.git>',
>   :ref => 'stable/kilo'
> 
> mod 'cinder',
>   :git => 'https://github.com/openstack/puppet-cinder.git <https://github.com/openstack/puppet-cinder.git>',
>   :ref => 'stable/kilo'
> 
> ...
> 
> 
> On Wed, Nov 25, 2015 at 11:34 AM, Saverio Proto <zioproto at gmail.com <mailto:zioproto at gmail.com>> wrote:
> Hello,
> 
> you can use r10k
> 
> go in a empty folder, create a file called Puppetfile with this content:
> 
> mod 'openstack-ceilometer'
> mod 'openstack-cinder'
> mod 'openstack-glance'
> mod 'openstack-heat'
> mod 'openstack-horizon'
> mod 'openstack-keystone'
> mod 'openstack-neutron'
> mod 'openstack-nova'
> mod 'openstack-openstack_extras'
> mod 'openstack-openstacklib'
> mod 'openstack-vswitch'
> 
> the type the commands:
> gem install r10k
> r10k puppetfile install -v
> 
> Look at r10k documentation for howto specify a version number of the modules.
> 
> Saverio
> 
> 
> 
> 2015-11-25 18:43 GMT+01:00 Oleksiy Molchanov <omolchanov at mirantis.com <mailto:omolchanov at mirantis.com>>:
> > Hi,
> >
> > You can provide --version parameter to 'puppet module install' or even use
> > puppet-librarian with puppet in standalone mode. This tool is solving all
> > your issues described.
> >
> > BR,
> > Oleksiy.
> >
> > On Wed, Nov 25, 2015 at 6:16 PM, Russell Cecala <red.cricket.blog at gmail.com <mailto:red.cricket.blog at gmail.com>>
> > wrote:
> >>
> >> Hi,
> >>
> >> I am struggling with setting up OpenStack via the OpenStack community
> >> puppet modules.  For example
> >> https://github.com/openstack/puppet-keystone/tree/stable/kilo <https://github.com/openstack/puppet-keystone/tree/stable/kilo>
> >>
> >> If I do what the README.md file says to do ...
> >>
> >> example% puppet module install puppetlabs/keystone
> >>
> >> What release of the module would I get?  Do I get Liberty, Kilo, Juno?
> >> And what if I needed to be able to install the Liberty version on one
> >> system
> >> but need the Juno version for yet another system?  How can I ensure the
> >> the right dependencies like cprice404-inifile and puppetlabs-mysql get
> >> installed?
> >>
> >> Thanks
> >>
> >> _______________________________________________
> >> OpenStack-operators mailing list
> >> OpenStack-operators at lists.openstack.org <mailto:OpenStack-operators at lists.openstack.org>
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators>
> >>
> >
> >
> > _______________________________________________
> > OpenStack-operators mailing list
> > OpenStack-operators at lists.openstack.org <mailto:OpenStack-operators at lists.openstack.org>
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators>
> >
> 
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org <mailto:OpenStack-operators at lists.openstack.org>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators>
> 
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20151126/89a1ffb8/attachment.html>


More information about the OpenStack-operators mailing list