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/0e108e10-4ae8-41b3-bdce-2d207d07d2f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.