puppet-php icon indicating copy to clipboard operation
puppet-php copied to clipboard

Missing variables and documentation

Open goetzk opened this issue 10 years ago • 1 comments

This role is missing some of its parameter definitions. While the work around is easy (define them) its unfortunate to find out they are missing by running the module.

I noticed that some of the missing variables (like those related to monitoring) are also missing from the documentation at the top of init.pp - I'm guessing some integration has gone awry somewhere.

# puppet agent --test --verbose
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Undefined variable "::php::params::monitor_tool"; Undefined variable "monitor_tool" at [...]
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Undefined variable "::php::params::monitor_target"; Undefined variable "monitor_target" at [...]
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Undefined variable "::php::params::config_file_init"; Undefined variable "config_file_init" at [...]
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Undefined variable "::php::params::pid_file"; Undefined variable "pid_file" at [...]

There might be others missing but this was the point where i stopped for today.

goetzk avatar Apr 26 '15 04:04 goetzk

As for the issue on puppi, the error should arise if you enable strict variables.

alvagante avatar Apr 26 '15 09:04 alvagante