Re: [Puppet-dev] Speculative Syntax: Varargs & Matchers

2014-07-04 Thread Igor Galić
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 a

Re: [Puppet-dev] Speculative Syntax: Varargs & Matchers

2014-06-11 Thread Andy Parker
On Wed, Jun 11, 2014 at 6:27 AM, Igor Galić wrote: > > Hi folks, > > over the last couple of days I've been dabbling with the design > for a new module for Apache httpd: we use our own package & module > currently, which allows for multi-instance configurations, but are > trying to shift towards

[Puppet-dev] Speculative Syntax: Varargs & Matchers

2014-06-11 Thread Igor Galić
Hi folks, over the last couple of days I've been dabbling with the design for a new module for Apache httpd: we use our own package & module currently, which allows for multi-instance configurations, but are trying to shift towards "standard" Ubuntu 2.4 package (I created a ppa with a current ver