summaryrefslogtreecommitdiff
path: root/spec/classes
AgeCommit message (Collapse)Author
2013-07-30Rewrite the spec testing.Ashley Penney
A lot of changes here, primarily to unify the spec testing in a single spec file to reflect the changes to the private ntp::config and ::install classes. As a side effect make sure we properly test each supported distribution (including Gentoo properly) and prefer to use 'content' => /blah/ rather than other methods of testing file contents.
2013-07-29Add preferred_servers feature.Ashley Penney
This adds: `preferred_servers` [Array]: The servers to prefer. As requested by Erik Dalén!
2013-07-29Add tests for the new keys options.Ashley Penney
2013-07-13fix panic parameter in virtual machinesMichael Moll
As facts are always strings, quoting is required here.
2013-07-12fixup spec tests for ArchlinuxDave Simons
Signed-off-by: Dave Simons <dave@inuits.eu>
2013-07-09Add panic as a new parameter in case people want to allow clock skews.Ashley Penney
2013-07-09Rewrite the spec tests to cover the 4 different classes and improve aAshley Penney
few missing gaps in the testing.
2013-07-08Ensure the rename is done everywhere and wrap the service in aAshley Penney
manage_service param.
2013-07-05Add Gentoo support. (And reformat archlinux vars)Ashley Penney
2013-07-05Fix specs now things are renamed.Ashley Penney
2013-07-05Rework specs to pass with renamed params.Ashley Penney
2013-04-04Add test for virtual machines and local clocksRyan Coleman
This commit provides a spec test for pull request #49 and commit 01273c53f1cf2015c3ff5a9f704828225d900e03 which specifies that virtual machines should not use the local clock. This test attempts to protect against a regression on that statement.
2013-03-08Merge pull request #47 from frimik/feature-19418-ntp-templateAdrien Thebo
ntp: fixes #19418 - allow template override
2013-03-08fixes #19418 - missing fixtures for spec testsMikael Fridh
2013-02-25Add support for Arch LinuxMatt Rogers
Add test for package name and presence Fix bad package name for Arch Linux Fix missing comment in config template
2013-02-23ntp: fixes #19418 - allow template overrideMikael Fridh
This allows a template to be explicitly set.
2012-12-11fix copy/paste error in spec fileMichael Moll
2012-12-10add SuSE supportMichael Moll
2012-12-10update unit tests for osfamily factMichael Moll
2012-11-06have the module fail on unsupported osstephen
2012-05-13(#14457) Add FreeBSD support for the NTP classWill Hopper
2011-11-16(#10846) add spec tests for ntp classDan Bode
This commit adds some unit tests for the ntp class. Also adds a rakefile for running the spec tests