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

api: change --disable-sudo to --sudo #185

Merged
merged 2 commits into from
Nov 2, 2015
Merged

api: change --disable-sudo to --sudo #185

merged 2 commits into from
Nov 2, 2015

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Nov 2, 2015

Remove the old default and use:

--sudo
--no-sudo

for configuration. By default, sudo is now disabled (as it is in train).

Align with options in train. This also prevents unexpected behavior where sudo is used, without being requested. Example:

```
command('uname -a')
```

This command will not run if no sudo information is given and e.g. a sudo password is configured on the node. The user can activate sudo usage with `--sudo` now.
@chris-rock
Copy link
Contributor

yeah, that is simpler @arlimus

@chef-delivery
Copy link
Contributor

This PR has passed 'Verify' and is ready for review and approval!
Use: '@delivery approve' when code review is complete.

@chris-rock
Copy link
Contributor

@delivery approve

chef-delivery added a commit that referenced this pull request Nov 2, 2015
Merged change 8d2ada5d-1492-43ca-9655-93ca593cd900

From review branch sudo into master

Signed-off-by: chartmann <chartmann@chef.io>
@chef-delivery chef-delivery merged commit 28b3b8a into master Nov 2, 2015
@chef-delivery chef-delivery deleted the sudo branch November 2, 2015 00:32
@chef-delivery
Copy link
Contributor

Change: 8d2ada5d-1492-43ca-9655-93ca593cd900 approved by: @chris-rock

@chef-delivery
Copy link
Contributor

This PR has passed 'Acceptance' and is ready to be delivered!
Use: '@delivery deliver' when validated in acceptance.

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.

None yet

3 participants