Last active
February 14, 2017 11:03
-
-
Save wandernauta/dd457d97e1cf99de2c362d21f2afd4d5 to your computer and use it in GitHub Desktop.
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 { "add sss to nsswitch": | |
context => "/files/etc/nsswitch.conf", | |
changes => [ | |
"set database[. = 'passwd']/service[last()+1] 'sss'", | |
], | |
onlyif => "match database[. = 'passwd']/service[. = 'sss'] size == 0", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment