Created
August 24, 2012 17:18
-
-
Save handyman5/3453078 to your computer and use it in GitHub Desktop.
Using Puppet to configure ceph.conf with Augeas and the Samba lens
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
augeas { "ceph.conf": | |
lens => "Samba.lns", | |
incl => "/etc/ceph/ceph.conf", | |
changes => [ | |
"set target[. = '${name}'] '${name}'", | |
"set target[. = '${name}']/${key} '${value}'", | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment