In this case, puppetresources will assign undef to $globals_postgis_version instead of the expected 2.1:
WARNING: pgserver_testing: Resolving the keyword `undef` to the string "undef" at ./modules/application/manifests/role/pgserver.pp
WARNING: pgserver_testing: Resolving the keyword `undef` to the string "undef" at ./modules/application/manifests/role/pgserver.pp
WARNING: pgserver_testing: Resolving the keyword `undef` to the string "undef" at ./modules/application/manifests/role/pgserver.pp
WARNING: pgserver_testing: Resolving the keyword `undef` to the string "undef" at ./modules/application/manifests/role/pgserver.pp
class {
application::role::pgserver: # "./manifests/site.pp" (line 12, column 5) pgserver_testing [Scope []]
;
}
notify {
global_postgis_version is undef : # "./modules/application/manifests/role/pgserver.pp" (line 9, column 11) pgserver_testing [Scope [class application::role::pgserver]]
}
In this puppetlabs postgresql PR there is a specific request for this construct:
In this case,
puppetresources
will assignundef
to$globals_postgis_version
instead of the expected2.1
: