Hello,
I do not not whatever this is a bug or somewhere in the docs (could not find
it)
if I define is named:
define add_file_exec_bin
I get the error
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid
resource type add_file_exec_bin at
/var/lib/puppet/fly/modules/fly-mongo/manifests/server.pp:12
if I define is named:
define add_file_ebin
it work just fine... bug or as design? the function is not part of any
class, is just something I import like
class mongo::server inherits mongo::base {
...
}
class mongo::base (
import "functions.pp"
}
would it better and advisable to put those in a class and then do an
'include' and rename them as
class_name::define_name () { }
and is there any restriction on the define name?
thanks
--
-ls
--
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.