example42/puppi

Undefined variables

goetzk opened this issue · 3 comments

There are three undefined variables in puppy which need to be added to the module or defined in the role before it will function.

# 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 "::puppi_archivedir"; Undefined variable "puppi_archivedir" at [...]

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Undefined variable "::puppi_workdir"; Undefined variable "puppi_workdir" at [...]

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Undefined variable "::ntp_server"; Undefined variable "ntp_server" at  [...]

Are you using strict variables?

Yes I am.

ok, that's the reason.It can be difficult to fix this and other modules preserving functionality and compatibility.