Undefined variables
goetzk opened this issue · 3 comments
goetzk commented
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 [...]
alvagante commented
Are you using strict variables?
goetzk commented
Yes I am.
alvagante commented
ok, that's the reason.It can be difficult to fix this and other modules preserving functionality and compatibility.