Age | Commit message (Collapse) | Author |
|
As facts are always strings, quoting is required here.
|
|
Signed-off-by: Dave Simons <dave@inuits.eu>
|
|
|
|
|
|
being installed and the config file at least makes basic sense.
|
|
|
|
|
|
few missing gaps in the testing.
|
|
manage_service param.
|
|
|
|
|
|
|
|
|
|
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.
|
|
ntp: fixes #19418 - allow template override
|
|
|
|
Add test for package name and presence
Fix bad package name for Arch Linux
Fix missing comment in config template
|
|
This allows a template to be explicitly set.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(#11156) Fix module path fixtures so rspec works in most rubies
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
This commit adds some unit tests for the
ntp class.
Also adds a rakefile for running the spec tests
|
|
|