Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem was with my puppet version, somehow version 3.6 acts weird when creating resources, for instance it was failing on the following line,:

create_resources('::ssh::client::config::user', $fin_users_client_options)

The exception was thrown when the parameter parser = future was set in the config file

I cannot iterate using each without setting future as the parser, therefore I decided to change my source as follow:

I created a new class:

define test::install_modules {
php::module { $name: }
}

and then I changed the config config_php to:

class test::config_php (
$php_version,
$php_modules = [],
){

class { 'php':
version => $php_version,
}

install_modules { $php_modules: }
}

Everything seems to be much better now.