Skip to content

Instantly share code, notes, and snippets.

@brianredbeard
Created November 14, 2013 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianredbeard/7459440 to your computer and use it in GitHub Desktop.
Save brianredbeard/7459440 to your computer and use it in GitHub Desktop.
augeas sample inside of puppet for performing basic configurations
class ipa {
package { [ 'ipa-server', 'bind', 'bind-dyndb-ldap' ]:
ensure => 'installed',
}
augeas { 'nis domain name':
context => "/files/etc/sysconfig/network",
changes => [
"set NISDOMAIN example.com",
],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment