example42 / puppet-splunk

Splunk Puppet Module
http://www.example42.com
Other
12 stars 29 forks source link

Deprecation warning regarding variable access #5

Closed gvt closed 11 years ago

gvt commented 11 years ago

When I run puppet while using the puppet-splunk module, included in the puppet output to stderr is this:

Warning: Variable access via 'monitor_path' is deprecated. Use '@monitor_path' instead. template[/etc/puppet/modules/splunk/templates/add_monitor.erb]:10 (at /etc/puppet/modules/splunk/templates/add_monitor.erb:10:inresult')`

Adding the @ character should fix.