Sha256: 46201d69f38e875d6fb5b58cb09683649b9ffb817310e1eef3132b6123629dd6

Contents?: true

Size: 906 Bytes

Versions: 26

Compression:

Stored size: 906 Bytes

Contents

#
# Cookbook Name:: sudo
# Recipe:: default
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

package "sudo" do
  action :upgrade
end

template "/etc/sudoers" do
  source "sudoers.erb"
  mode 0440
  owner "root"
  group "root"
  variables(
    :sudoers_groups => node[:authorization][:sudo][:groups], 
    :sudoers_users => node[:authorization][:sudo][:users]
  )
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
solokit-0.1.17 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.16 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.15 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.14 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.13 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.12 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.11 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.10 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.9 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.8 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.7 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.6 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.5 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.4 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.3 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.2 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.1 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.1.0 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.0.9 cookbooks/upstream/sudo/recipes/default.rb
solokit-0.0.8 cookbooks/upstream/sudo/recipes/default.rb