perhaps a better way to summarize this issue is this:

    define httpd::mod (
      $ensure   = 'enabled',
      $instance = 'default',
      $module   = $title,
      $package  = undef,
    ) {

    }

This definition of httpd::mod's interface is static.
it's a static map (Hash). If we pass any additional parameters
it'll blow up, and rightfully so.

What I wanted with this:

> 
>     define httpd::mod (
>       $ensure   = 'enabled',
>       $instance = 'default',
>       $module   = $title,
>       $package  = undef,
>       $*  # all others
>     ) {

(or whatever the syntax) was a dynamic interface. A way to
programmatically define that map.



(came up in a discussion with daff/antaflos today, so I thought
I'd like to clarify my now seemingly more clear thoughts on that ;)


~bye, o/~
-- i
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/
GPG: 8716 7A9F 989B ABD5 100F  4008 F266 55D6 2998 1641

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/8889271.75730.1404505755998.JavaMail.zimbra%40brainsware.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to