On 10-12-28 01:31 PM, cyrus wrote:
> [...]
> But Puppet complains
> 
> err: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
> Invalid resource type luser.
> 
> I know this definition works since I can call it directly from within
> the class main. I even tried calling luser using main::luser but same
> error.
> 

If your code is in a module, try invoking it in a fully qualified manner:

    module_name::main::luser { "blah": ... }

hope it helps.

-- 
Gabriel Filion

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to