RoushTech / puppet-teamspeak

MIT License
1 stars 9 forks source link

Fix erb puppet variables in params.pp #8

Closed milloni closed 7 years ago

milloni commented 7 years ago

Accessing puppet variables in erb templates without @ prefix is no longer allowed.

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Failed to parse inline template: undefined local variable or method `version' for #<Puppet::Parser::TemplateWrapper:0xba6754d> at /etc/puppetlabs/code/environments/production/modules/teamspeak/manifests/init.pp:90:20 at /etc/puppetlabs/code/environments/production/manifests/site.pp:2 on node teamspeak

This PR fixes this.

StrangeWill commented 7 years ago

Perfect, thanks! I'll see about accepting this and publishing the fix this weekend.

StrangeWill commented 7 years ago

Fixing this as part of PR #9