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/binlog',
                 $mysql_expire_logs_days = '10',
                 $mysql_max_binlog_size = '100M',
                 $mysql_binlog_do_db = []
                ) {
...
}

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.

Regards
Oli

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to