We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5.3
13.7.16
enterprise linux 7
https://github.com/chef-cookbooks/sudo/blob/master/providers/default.rb#L84 doesn't proper prepend group-marker to group list in string.
sudo 'app_admins' do group 'web_admins,db_admins' commands ['/sbin/service httpd restart'] end
-> /etc/sudoers.d/app_admins
%web_admins,db_admins ALL(ALL)=ALL /sbin/service httpd restart
as in scenario
%web_admins,%db_admins ALL(ALL)=ALL /sbin/service httpd restart
(with the % prepended on the second group)
as in scenario - one leading % only
Hmm. It doesn't accept group=>['group1','group2'] right?
group=>['group1','group2']
The text was updated successfully, but these errors were encountered:
This is also solved by 0375f15
Sorry, something went wrong.
No branches or pull requests
Cookbook version
3.5.3
Chef-client version
13.7.16
Platform Details
enterprise linux 7
Scenario:
https://github.com/chef-cookbooks/sudo/blob/master/providers/default.rb#L84 doesn't proper prepend group-marker to group list in string.
-> /etc/sudoers.d/app_admins
Steps to Reproduce:
as in scenario
Expected Result:
(with the % prepended on the second group)
Actual Result:
as in scenario - one leading % only
Hmm. It doesn't accept
group=>['group1','group2']
right?The text was updated successfully, but these errors were encountered: