Update upstream cookbooks
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#
|
||||
# Author:: Bryan W. Berry (<bryan.berry@gmail.com>)
|
||||
# Cookbook Name:: sudo
|
||||
# Cookbook:: sudo
|
||||
# Resource:: default
|
||||
#
|
||||
# Copyright 2011-2013, Bryan w. Berry
|
||||
# Copyright:: 2011-2016, Bryan w. Berry
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -26,6 +26,7 @@ attribute :commands, kind_of: Array, default: ['ALL']
|
||||
attribute :host, kind_of: String, default: 'ALL'
|
||||
attribute :runas, kind_of: String, default: 'ALL'
|
||||
attribute :nopasswd, equal_to: [true, false], default: false
|
||||
attribute :noexec, equal_to: [true, false], default: false
|
||||
attribute :template, kind_of: String, default: nil
|
||||
attribute :variables, kind_of: Hash, default: nil
|
||||
attribute :defaults, kind_of: Array, default: []
|
||||
@@ -46,6 +47,7 @@ state_attrs :commands,
|
||||
:group,
|
||||
:host,
|
||||
:nopasswd,
|
||||
:noexec,
|
||||
:runas,
|
||||
:template,
|
||||
:user,
|
||||
|
||||
Reference in New Issue
Block a user