stdmod/stdmod — pull request #4 by lermit (2014-11-06 09:19:50+00:00)
Title: Fix : Default value for pickx should be undef

Hi,

When using the puppet-limits module I had an error with the following line

```
$manage_require = pickx($config_file_require, $limits::config_file_require)
....
file { "limits_conf_${name}":
...
require => $manage_require,
}
...
```

If no $config_file_require nor $limits::config_file_require is defined the value for $manage_require become 'indefined'. When processing puppet throw this exception :

```
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[limits_conf_mysql.conf] { require => undefined }, because undefined doesn't seem to be in the correct format. Resource references should be formatted as: Classname['title'] or Modulename::Classname['title'] (take careful note of the capitalization).
```

So, I think the default value for the pickx function should be 'undef'.

Regards,