Skip to content

Instantly share code, notes, and snippets.

@handyman5
Created Aug 24, 2012
Embed
What would you like to do?
Using Puppet to configure ceph.conf with Augeas and the Samba lens
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