Created
August 23, 2016 18:50
-
-
Save phwelo/c3963b60fcf8ba010441fe77906e69e7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
loops through users passing vaqriable usr, which is hash of user properties | |
sudo usr[:id] do | |
user usr[:id] | |
commands ['/etc/init.d/syslog-ng *','/bin/systemctl * syslog-ng.service', '/bin/systemctl * syslog-ng'] | |
nopasswd true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment