-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add ability to set default restart value; add schedule and default schedule #132
base: develop
Are you sure you want to change the base?
Conversation
I did not add any spec tests so far, because 1) I wasn't sure how to test getting a class variable specifically (the restart functionality is already spec tested), and 2) I wasn't sure how to test schedules. Please let me know what sort of testing is needed (and point me in the right direction if possible). |
In case it's useful, this is the functional testing I completed: Functional testing:
|
I know my tests are failing - I figured out how to run them locally and have fixed most of the issues. I'll update as soon as I'm done (lots of files). |
Rspec is updated. I also had to do a couple of rspec fixes for network_alias_spec.rb and network_if_static_spec.rb. I also ran into a runtime error when trying to run spec tests against all the defines at once: It looks like it's related to this ticket - but I wasn't sure when I might need to call Facter.clear - every spec test that uses facts? Just specific ones using facts in a certain way? |
FYI - if you're at PuppetConf, let me know if you want to discuss the module there. |
…); add schedule and default schedule options to enable network restarts during change windows rspec fixes
add schedule and default schedule options to enable network restarts during change windows