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

Don't show success message if chef-client run fails #33

Closed
dougireton opened this Issue Aug 18, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@dougireton
Contributor

dougireton commented Aug 18, 2015

Starting Chef Client, version 12.4.1
[2015-08-17T22:30:45-07:00] FATAL: chef-client doesn't have administrator privileges on node my_laptop.example.com.
[2015-08-17T22:30:45-07:00] FATAL: fatal_windows_admin_check is set to TRUE.

Running handlers:
[2015-08-17T22:30:45-07:00] ERROR: Running exception handlers
Running handlers complete
[2015-08-17T22:30:45-07:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 33.885253 seconds
[2015-08-17T22:30:45-07:00] FATAL: Stacktrace dumped to C:/Users/doug/chef/local-mode-cache/cache/chef-stacktrace.out
[2015-08-17T22:30:45-07:00] FATAL: Chef::Exceptions::WindowsNotAdmin: chef-client doesn't have administrator privileges on node my_laptop.example.com


*Congrats!!! Your workstation is now set up for Chef Development!*

@dougireton dougireton added the cookbook label Aug 18, 2015

@dougireton dougireton modified the milestone: 1 Nov 16, 2015

@johndkraft

This comment has been minimized.

Show comment
Hide comment
@johndkraft

johndkraft Nov 20, 2015

Contributor

Still an issue on Windows

Contributor

johndkraft commented Nov 20, 2015

Still an issue on Windows

@johndkraft johndkraft reopened this Nov 20, 2015

johndkraft pushed a commit that referenced this issue Dec 8, 2015

Kraft, John
v1.3.2 - Windows bootstrap cleanup
Check for Admin rights or exit (#49)
Die with errors when they occur (ie: chef-client run, #33)
Use temporary folder under $ENV:TEMP (#56)
Install targeted version of omnitruck ChefDK, idempotently
@dougireton

This comment has been minimized.

Show comment
Hide comment
@dougireton

dougireton Jan 4, 2016

Contributor

Closed with v1.3.2

Contributor

dougireton commented Jan 4, 2016

Closed with v1.3.2

@dougireton dougireton closed this Jan 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment