Forked from Szparki/gist:8dff778602b615c80b3df492dd0b0db0
Last active
August 14, 2018 21:36
-
-
Save nickanderson/9d96fc8486b4877924ec83ddbfa89344 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat test | |
$(sys.fqhost) | |
bundle agent main | |
{ | |
files: | |
"/etc/test.tpl" | |
copy_from => secure_cp("$(g.configfiles)/etc/test", "$(g.host)"), | |
comment => "We must have a template that we can use to dynamically | |
render our final config file."; | |
"/etc/test" | |
perms => mog("644", "root", "$(g.root_group)"), | |
edit_template => "/etc/test.tpl", | |
comment => "Render our final config file using the legacy template"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment