templates/agent-conf.d/cacti.yaml.erb (9 lines of code) (raw):

# # MANAGED BY PUPPET # init_config: instances: - mysql_host: <%= @mysql_host %> mysql_user: <%= @mysql_user %> mysql_password: <%= @mysql_password %> rrd_path: <%= @rrd_path %>