Sha256: 9531d65a13bc189d27a13d09d48573353a46b0220ec73606326a2ae0dfd0c5a4

Contents?: true

Size: 754 Bytes

Versions: 115

Compression:

Stored size: 754 Bytes

Contents

# This file is managed by <%= ChefUtils::Dist::Infra::PRODUCT %>. Changes will be overwritten.

<% @command_aliases.each do |a| -%>
Cmnd_Alias <%= a[:name].upcase %> = <%= a[:command_list].join(', ') %>
<% end -%>
<% @env_keep_add.each do |env_keep| -%>
Defaults    env_keep += "<%= env_keep %>"
<% end -%>
<% @env_keep_subtract.each do |env_keep| -%>
Defaults    env_keep -= "<%= env_keep %>"
<% end -%>
<% @commands.each do |command| -%>
<% unless @sudoer.empty? %><%= @sudoer %> <%= @host %>=(<%= @runas %>) <%= 'NOEXEC:' if @noexec %><%= 'NOPASSWD:' if @nopasswd.to_s == 'true' %><%= 'SETENV:' if @setenv.to_s == 'true' %><%= command %><% end -%>
<% end -%>
<% unless @defaults.empty? %>
Defaults:<%= @sudoer %> <%= @defaults.join(',') %>
<% end -%>

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
chef-17.10.163-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.10.163 lib/chef/resource/support/sudoer.erb
chef-18.5.0-x64-mingw-ucrt lib/chef/resource/support/sudoer.erb
chef-18.5.0 lib/chef/resource/support/sudoer.erb
chef-18.4.12-x64-mingw-ucrt lib/chef/resource/support/sudoer.erb
chef-18.4.12 lib/chef/resource/support/sudoer.erb
chef-17.10.122-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.10.122 lib/chef/resource/support/sudoer.erb
chef-17.10.114-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.10.114 lib/chef/resource/support/sudoer.erb
chef-18.4.2-x64-mingw-ucrt lib/chef/resource/support/sudoer.erb
chef-18.4.2 lib/chef/resource/support/sudoer.erb
chef-17.10.95-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.10.95 lib/chef/resource/support/sudoer.erb
chef-18.3.0-x64-mingw-ucrt lib/chef/resource/support/sudoer.erb
chef-18.3.0 lib/chef/resource/support/sudoer.erb
chef-17.10.68-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-18.2.7-x64-mingw-ucrt lib/chef/resource/support/sudoer.erb
chef-18.2.7 lib/chef/resource/support/sudoer.erb
chef-18.1.29 lib/chef/resource/support/sudoer.erb