Denis
unread,Jul 24, 2014, 10:02:04 AM7/24/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to help-c...@googlegroups.com
Hello,
I need to make 3 similar files, with only one option different.
bundle agent my_agent {
vars:
"my_list_var" slist => {"l1","l2","l2"};
files:
"/etc/file.$(my_list_var).conf"
perms => m("0640"),
create => "true",
edit_defaults => empty,
edit_line => expand_template("/tmp/my_file.tmpl");
}
inside file I have value
var = $(my_agent.my_list_var)
After run I get 3 files, as intended /etc/file.l1.conf and so on, but inside I get "$(my_agent.my_list_var)"
Can anyone point me to right direction please ?
Thanks in advance.
--
Denis