summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
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-09Add service checks.Ashley Penney
2013-07-09Improve the rspec-system tests, making sure we test for the packageAshley Penney
being installed and the config file at least makes basic sense.
2013-07-09Add some basic tests.Ashley Penney
2013-07-09Add rspec-system framework.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-05Ensure that users can pass in templates from outside of the ntp module.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.
2013-02-13Update Documentation and Purge ExtrasRyan Coleman
Commit message from laurenrother Before alterations, this content was the module author-determined description of and instructions for use of the module. As part of a joint Forge/Docs team effort to standardize formatting and encourage quality module documentation, a best practices README template was created via internal and external user testing. That template was then applied to this module. I pulled in content from the original README on GitHub as well as the Forge Module Description. Standard headings were added (Overview, Module Description, Setup, Usage, Implementation, etc.) to organize content, existent content was moved under its appropriate heading and edited for tone/flow/clarity, and basic formatting was done to adhere to template standards. Extraneous, empty READMEs were deleted.
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-31Replace hardcoded recursive symlink with .fixtures.ymlBranan Purvine-Riley
2012-05-31Switch to using puppetlabs_spec_helper as a gemBranan Purvine-Riley
2012-05-14Merge pull request #17 from kbarber/ticket/master/11156-fix_rspec-puppet_testsJustin Stoller
(#11156) Fix module path fixtures so rspec works in most rubies
2012-05-14(#11156) Fix module path fixtures so rspec works in most rubiesKen Barber
Previously this module was using an experimental pattern using mktmpdir for creating its module path for rspec-puppet to use, which has since been deprecated in favour of a static directory. This was largely because ntp was one of the earlier modules we tried to make work in Jenkins. This change aligns the module to use the same pattern used in the rspec- puppet setup stage: https://github.com/rodjek/rspec-puppet/blob/master/lib/rspec-puppet/setup.rb This should stop the problems with Ruby 1.8.5 complaining about a lack of mktmpdir, and also make it more consistent with other modules in the wild.
2012-05-13(#14457) Add FreeBSD support for the NTP classWill Hopper
2012-03-29(#13439) Make spec_helper work with Puppet masterJeff McCune
Without this patch the spec_helper does not invoke Puppet.settings.send(:initialize_everything_for_tests) This is necessary to set default configuration settings, otherwise exceptions are raised when testing against the Puppet master branch.
2011-12-04(#11152) Create temporary puppetconf area with empty manifests/site.ppKen Barber
Without a manifests/site.pp file for Puppet to read we get rspec testing errors. This patch creates a temporary directory and creates an empty site.pp to avoid this.
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
2011-02-23Initial commitJeff McCune