fix a deprecation warning introduced by puppet issue 19058

Feature#19058 deprecates the var/method call syntax