Add ability to set default restart value; add schedule and default schedule#132
Add ability to set default restart value; add schedule and default schedule#132esalberg wants to merge 1 commit intorazorsedge:developfrom
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