Hi John, That makes complete sense, and thank you. I had scripted the 
install of the repository and modules and forgot the important parts of the 
script, namely:

    wget -O /tmp/havana.zip  
https://github.com/puppetlabs/puppetlabs-havana/archive/master.zip
    unzip -d /etc/puppet/modules /tmp/havana.zip
    mv /etc/puppet/modules/puppetlabs-havana-master 
/etc/puppet/modules/havana
    .
    .
    puppet module install puppetlabs-ntp
    puppet module install puppetlabs/openstack
    puppet module install puppetlabs/mongodb

I will be reviewing the puppet modules and making sure I have compatible 
(havana for now) versions.

Colin.
On Thursday, May 8, 2014 6:39:32 AM UTC-7, jcbollinger wrote:
>
> On Wednesday, May 7, 2014 6:19:57 PM UTC-5, Colin Leavett-Brown wrote:
>>
>> Using the modules provided by this rpm, "puppet apply" results in "Could 
>> not find declared class ::openstack::repo at 
>> /etc/puppet/modules/havana/manifests/profile/base.pp:7". If we change 
>> /etc/puppet/modules/havana/manifests/profile/base.pp, line 7 to read "class 
>> { '::openstack::resources::repo': }", then a subsequent puppet apply 
>> results in "Error: Could not find class mysql::python". Apparently, this 
>> manifest has been moved to a subdirectory "bindings" (or is it in "tests" 
>> ?). Please can we have a workable rpm. 
>>
>
>
> You have a module compatibility problem.  The RPM named in your subject 
> line just sets up one of PL's YUM package repositories on your system.  
> That doesn't provide any Puppet modules, and neither do any of the RPMs 
> available from the repository thereby configured.  Your problem has nothing 
> whatever to do with PuppetLabs's RPMs or the YUM repository in which they 
> reside
>
> You can manage the modules installed on your master with the Puppet 
> module 
> tool<http://docs.puppetlabs.com/puppet/latest/reference/modules_installing.html>.
>   
> If you are using the Enterprise version then there may be additional 
> options available for that, too.
>
> I am inclined to dislike the 'havana' module you are using purely on the 
> basis that it has exposure to such issues in the first place, but in 
> fairness, it is not always possible to altogether avoid such exposure.  At 
> minimum, the 'havana' module should document its dependencies on other 
> modules, in detail.  If you are using the puppetlabs-havana 
> module<https://forge.puppetlabs.com/puppetlabs/havana>, 
> then I note that its documentation specifies that it works only with 
> version 3 of the puppetlabs-openstack module.  I conclude that you have a 
> different version of puppetlabs-openstack installed.
>
>
> John
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/82e7798b-1c53-468f-866d-6199601f0149%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to