Skip to content

Instantly share code, notes, and snippets.

@handyman5
Created August 24, 2012 17:18
Show Gist options
  • Save handyman5/3453078 to your computer and use it in GitHub Desktop.
Save handyman5/3453078 to your computer and use it in GitHub Desktop.
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