Are definitions inherited?

By that I mean I have the following:

class main {

    ....

    define luser (....) {
        ... some code ...
    }

    ....
}

class inetd inherits main {


     /* call luser definition */
     luser {
          $name:
          ....
     }
}

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.

-- 
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