example42 / puppi

Puppet module to manage applications deployments and servers local management
http://www.example42.com
Other
142 stars 84 forks source link

Undefined variables #122

Open goetzk opened 9 years ago

goetzk commented 9 years ago

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 9 years ago

Are you using strict variables?

goetzk commented 9 years ago

Yes I am.

alvagante commented 9 years ago

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