Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo #1

Open
wants to merge 134 commits into
base: master
Choose a base branch
from
Open

sudo #1

wants to merge 134 commits into from

Conversation

strawberrybitch69
Copy link

Description

[Describe what this change achieves]

Issues Resolved

[List any existing issues this PR resolves]

Check List

tas50 and others added 30 commits July 9, 2017 22:34
Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
We shouldn't be setting anything here out of the box. If users want this they can set it themselves. This will be a major version bump.

Signed-off-by: Tim Smith <[email protected]>
It was straight out of Debian

Signed-off-by: Tim Smith <[email protected]>
Enable sudoers.d out of the box on Linux
Remove sysdadmin group from the default groups attribute
Switch to dokken images and test on Debian 9
Signed-off-by: Robinson, Patrick, NMD-A3 (Extern) <[email protected]>
FIX: Setenv ignored in command list user & group
Added a new `visudo_path` attribute to the sudo resource to allow users
to specify the installed path of visudo.

In addition, the setting for the PATH environment variable on SLES and
Solaris does not include the sbin path in which the visudo command is
installed. This ensures the correct path value is inserted into the
PATH environment variable automatically before executing the command.

Fixes chef-boneyard#116

Signed-off-by: Ryan Hass <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
FIX: in templates the attribute "passwordless" and other with data ty…
Signed-off-by: michael.sgarbossa <[email protected]>
New attribute for defining /etc/sudoers.d mode
Signed-off-by: Tim Smith <[email protected]>
Don't use a node attribute to store the config_prefix information. Do it with the same case statement, but allow the user to override it.

Signed-off-by: Tim Smith <[email protected]>
sclark007 and others added 30 commits April 25, 2018 09:14
disables wiring up the resource on chef >= 14.0 and avoids deprecation
warning.

Signed-off-by: Lamont Granquist <[email protected]>
…sion-for-provides

add chef_version_for_provides
also bonus fix for removing use of node.set in chefspec tests

Signed-off-by: Lamont Granquist <[email protected]>
Signed-off-by: Lamont Granquist <[email protected]>
This reverts commit 2d2cf0a.
Signed-off-by: Lamont Granquist <[email protected]>
…sion-for-provides2

fix chef_version_for_provides
Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
If you use a non absolute path (or a `Cmnd_Alias` which is represented in ALL_CAPS) the sudoers validation will fail it but not tell you why. This makes it easier/quicker to spot the issue.

Signed-off-by: Ben Abrams <[email protected]>
…-commands-with-paths

adds better validation for commands passed in
Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
No need for any of this anymore

Signed-off-by: Tim Smith <[email protected]>
Metadata syntax issue cookbook failed in chef:12
Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants