Created
October 18, 2018 10:00
-
-
Save raphink/8def5f5b3103035949cd51395996da64 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$foo = Deferred('augeas::get', ["/files/etc/default/toto/FOO"]) | |
augeas { 'add to FOO': | |
context => '/files/etc/default/toto', | |
changes => Deferred('sprintf', ["set FOO '%s,bar'", $foo]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment