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.6.18 lib/chef/resource/support/sudoer.erb
chef-17.6.15-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.6.15 lib/chef/resource/support/sudoer.erb
chef-16.16.7-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-16.16.7 lib/chef/resource/support/sudoer.erb
chef-17.5.22-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.5.22 lib/chef/resource/support/sudoer.erb
chef-16.15.22-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-16.15.22 lib/chef/resource/support/sudoer.erb
chef-17.4.38-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.4.38 lib/chef/resource/support/sudoer.erb
chef-17.4.25-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.4.25 lib/chef/resource/support/sudoer.erb
chef-16.14.1-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-16.14.1 lib/chef/resource/support/sudoer.erb
chef-17.3.48-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.3.48 lib/chef/resource/support/sudoer.erb
chef-17.2.29-universal-mingw32 lib/chef/resource/support/sudoer.erb
chef-17.2.29 lib/chef/resource/support/sudoer.erb
chef-17.1.35-universal-mingw32 lib/chef/resource/support/sudoer.erb