Created
January 18, 2013 16:17
-
-
Save gbkersey/4565705 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
bundle agent app_foobar | |
{ | |
files: | |
"/etc/passwd" | |
comment => "ensure +:::::: is the last line in /etc/passwd", | |
edit_line => append_to_passwd; | |
} | |
bundle edit_line append_to_passwd | |
{ | |
insert_lines: | |
"+::::::", | |
location => last_line; | |
} | |
body location last_line | |
{ | |
before_after => "after"; | |
first_last => "last"; | |
select_line_matching => ".*"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment