Sha256: 72652c2a3a2b1f5cabc77e1ed81e6d8f3c8df291d58f20cfea68cd14f7c034e1

Contents?: true

Size: 902 Bytes

Versions: 46

Compression:

Stored size: 902 Bytes

Contents

#
# Cookbook Name:: sudo
# Recipe:: default
#
# Copyright 2008, 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

46 entries across 46 versions & 3 rubygems

Version Path
poolparty-1.3.8 test/fixtures/chef/recipes/sudo/recipes/default.rb
poolparty-1.3.7 test/fixtures/chef/recipes/sudo/recipes/default.rb
poolparty-1.3.6 test/fixtures/chef/recipes/sudo/recipes/default.rb
poolparty-1.3.4 test/fixtures/chef/recipes/sudo/recipes/default.rb
poolparty-1.3.3 test/fixtures/chef/recipes/sudo/recipes/default.rb
poolparty-1.3.1 test/fixtures/chef/recipes/sudo/recipes/default.rb