[Rdo-list] [RDO] how does RDO install package openstack-puppet-module

Kun Huang gareth at openstacker.org
Sat Jun 14 04:28:20 UTC 2014


Thanks Brady,

So if I install packstack on node1, and want to install a all-in-one
openstack on node2. Are that packstack and openstack-puppet-module
only installed on node1? And the method install_deps actually has no
relationship with the behavior of installing openstacl-puppet-module.

On Fri, Jun 13, 2014 at 6:51 PM, Pádraig Brady <pbrady at redhat.com> wrote:
> On 06/13/2014 09:20 AM, Kun Huang wrote:
>> Hi
>>
>> I need apply a very small patch for that package, so I need find the
>> place where RDO install it.
>>
>> It seems here[0]. But when testing it, I find in the line[1], variable
>> deps is [puppet, openssh-clients, tar, rc, rubygem-json] without
>> 'openstack-puppet-module'. So where is the place RDO install the
>> openstack-puppet-module?
>>
>> [0] https://github.com/stackforge/packstack/blob/master/packstack/plugins/puppet_950.py#L131-L152
>> [1] https://github.com/stackforge/packstack/blob/master/packstack/plugins/puppet_950.py#L150
>
> I think this is hinted at in:
> https://github.com/stackforge/packstack/blob/3d92f24c/packstack/plugins/puppet_950.py#L140-145
>
> The openstack-puppet-modules package is a requirement of the packstack package
> and installed when that rpm is installed automatically.
> That's on the host packstack is being run from.
> On other hosts, packstack avoids rom and distributes the (adjusted) puppet modules
> using ssh I think.
>
> So in summary if you regenerate and install the openstack-puppet-modules
> package on the host packstack is being run from, the distribution
> should happen automatically on other hosts.
>
> thanks,
> Pádraig.




More information about the dev mailing list