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

Argument Error: Frequency needs to be provided. #42

Open
bab5470 opened this issue Dec 10, 2018 · 1 comment
Open

Argument Error: Frequency needs to be provided. #42

bab5470 opened this issue Dec 10, 2018 · 1 comment

Comments

@bab5470
Copy link

bab5470 commented Dec 10, 2018

I have run this chef recipe multiple times in the past without issue but for some reason I seem to be running into an issue running it recently:

[2018-12-10T11:49:44-05:00] FATAL: ArgumentError: domain_join[mydomain] (ad-join::default line 1) had an error: ArgumentError: Frequency needs to be provided. Valid frequencies are :minute, :hourly, :daily, :weekly, :monthly, :once, :on_logon, :onstart, :on_idle, :none.

I'm at a loss for what's changed. I've downloaded the latest version of the cookbook and still encountering this. Any tips or pointers?

Thanks,
Brad

@spuder
Copy link
Contributor

spuder commented Dec 10, 2018

Sounds like an incompatible version of the windows_task resource. In older versions of chef you had to use the windows cookbook. In newer versions of chef (e.g. 13), the windows task resource was moved to core. Check what version of the windows cookbook you are using.

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

No branches or pull requests

2 participants