Re: [Puppet Users] Default parameters for classes with parameters

2011-04-22 Thread Nan Liu
On Fri, Apr 22, 2011 at 8:26 AM, Oliver Schad wrote: > Am Thursday 21 April 2011 schrieb mir Martin Alfke: >> On Apr 21, 2011, at 10:58 AM, Oliver Schad wrote: >> > Inside I use a template which shows me "undef" as value for the >> > parameters above. If I define the same parameters inside the cla

Re: [Puppet Users] Default parameters for classes with parameters

2011-04-22 Thread Oliver Schad
Am Thursday 21 April 2011 schrieb mir Martin Alfke: > On Apr 21, 2011, at 10:58 AM, Oliver Schad wrote: > > Inside I use a template which shows me "undef" as value for the > > parameters above. If I define the same parameters inside the class, > > it works. > > How do you use your parameterized cl

Re: [Puppet Users] Default parameters for classes with parameters

2011-04-21 Thread Martin Alfke
Hi On Apr 21, 2011, at 10:58 AM, Oliver Schad wrote: > Hi all, > > does somebody know if default parameters in classes with parameters work? I > tried it with puppet v2.6.7 i.e.: this is possible according to documentation: http://docs.puppetlabs.com/guides/parameterized_classes.html#using-para

[Puppet Users] Default parameters for classes with parameters

2011-04-21 Thread Oliver Schad
Hi all, does somebody know if default parameters in classes with parameters work? I tried it with puppet v2.6.7 i.e.: class app::mysql( $mysql_data_dir = '/data/mysql/data', $mysql_log_dir = '/data/mysql/log', $mysql_binlog_dir = '/data/mysql/bi