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

Windows scheduled task fails if Chef log directory doesn't exist #741

Open
splatteredbits opened this issue Apr 5, 2022 · 0 comments
Open

Comments

@splatteredbits
Copy link

splatteredbits commented Apr 5, 2022

If the log directory specified in the client.rb file doesn't exist, the Chef client fails. Because there's no where to log, we get no indication anywhere that the task has failed.

Given this client.rb:

log_location 'C:\Windows\Logs\Chef/client.log'

and the C:\Windows\Logs\Chef directory doesn't exist, Chef client fails.

@splatteredbits splatteredbits changed the title Windows scheduled ask fails if Chef log directory doesn't exist Windows scheduled task fails if Chef log directory doesn't exist Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant