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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
Luc Suryo wrote:> > and is there any restriction on the define name?There shouldn''t be - what version is this? Regards James Turnbull -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
the latest version 2.6.1 On Thu, Sep 16, 2010 at 9:50 AM, James Turnbull <james@puppetlabs.com>wrote:> Luc Suryo wrote: > >> >> and is there any restriction on the define name? >> > > There shouldn''t be - what version is this? > > Regards > > James Turnbull > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- -ls -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Luc Suryo wrote:> the latest version 2.6.1 > >Then it''s definitely a bug and can you please log it? PLease include your manifests and as much detail in the log output. Thanks James Turnbull -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
will do can it a be a tar file ? (gz?) Thanks! On Thu, Sep 16, 2010 at 9:55 AM, James Turnbull <james@puppetlabs.com>wrote:> Luc Suryo wrote: > >> the latest version 2.6.1 >> >> >> Then it''s definitely a bug and can you please log it? PLease include > your manifests and as much detail in the log output. > > Thanks > > > James Turnbull > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- -ls -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.