I have this:
class foo::foobar ($version) {
}
which is called like this:
class facility::sanjose inherits facility::common {
class { foo::foobar: version => "1.3.13" }
}
puppet complains with this on the client:
Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type 'facility::sanjose' of type
hostclass in production at
/etc/puppet/modules/facility/manifests/sanjose/logserver.pp:1 on node
slog01.pax.xxx.com
and this on the server:
Syntax error at 'foo::foobar'; expected '}' at
/etc/puppet/modules/facility/manifests/sanjose.pp:32 on node
slog01.pax.xxx.com
I suspect that it doesn't like the '::', but I can't test it without
that because removing the module qualifier and the '::' means the
autoloading doesn't work. So... what's the deal? Can't we use class
names qualified with the module name anymore? I tried putting the
class and module name in single and double quotes too:
class { "foo::foobar": version => "1.3.13" }
class { 'foo::foobar': version => "1.3.13" }
.... same error.
Doug.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.