aboutsummaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2012-08-20Whitespace changes in rspec file.Nan Liu
2012-08-20Update tftp xinetd fix.Nan Liu
* Remove xinetd defaults for user/group. * Fix spec tests.
2012-07-16Make xinetd the default method for installing tftpcrayfishx
* Switched the inetd parameter to default to true * Moved the value into params.pp * Updated tests * Updated README
2012-07-11Update redhat tftp file owner.Nan Liu
This update address file owner to nobody by default for RHEL family.
2012-07-11Changed rspec test for calling outside of modulecrayfishx
Until we decide how to simulate rspec-puppet calling this class from a different module this test has been changed to just test deploying the file.
2012-07-11Revert "Fully qualify $::caller_module_name fact."crayfishx
* the problem is with the test not the code This reverts commit b5fce3cce34c5ff01243a4dfe9205d26f3c98857.
2012-07-11Fully qualify $::caller_module_name fact.crayfishx
This fixes the following failed test: 1) tftp::file when deploying file from another module Failure/Error: }) expected that the catalogue would contain File[/srv/tftp/sample] with source set to `"puppet:///modules/acme/sample"` but it is set to `"puppet:///modules/tftp/sample"` in the catalogue # ./spec/defines/tftp_file_spec.rb:138
2012-07-11Single it block per testcrayfishx
* as originally submitted in https://github.com/puppetlabs/puppetlabs-tftp/pull/10... * Only use one it block per test to improve performance
2012-07-10Updated rspec tests for new functionalitycrayfishx
* Removed rspec-tests for inetd * Modified existing tests to work with new evaluation of :osfamily * Added tests for Redhat/CentOS boxes * Added rspec-tests for xinetd service
2012-06-25Add default module path for tftp::fileNan Liu
This change provides the convenience of using caller_module_name for tftp files, so the following manifests can be abbreviated from: tftp::file { 'foo': source => 'puppet:///modules/example/foo', } tftp::file { 'baz/bar': source => 'puppet:///modules/example/baz/bar', } to: tftp::file { [ 'foo', 'baz/bar' ]: } This simplifies declaring large number of tftp files.
2012-06-25Merge pull request #7 from thomasvandoren/add-recurse-to-fileNan Liu
Add recurse parameter to tftp::file definition
2012-06-15Add spec tests for recurse params.Thomas Van Doren
One test verifies the defaults for recurse, purge, replace, recurselimit when they are not provided. The other test ensure that setting them in the tftp:file definition correlates to the params getting set on the file.
2012-06-04Add recurse option to tftp::file class.Thomas Van Doren
Update rspec tests to assert the value of recurse in various cases.
2012-05-31Update module for the puppetlabs_spec_helper gemBranan Purvine-Riley
* Use `rake spec` in the travis config * Load Rakefile and spec_helper from the common code in the gem
2012-05-25Update for the new module templateBranan Purvine-Riley
* Add `rake spec_full` and friends * Remove recursive symlink * Prepend fixtures modulepath instead of overriding * Update travis config to use spec_full
2012-05-14(#14465) Add inetd option tftpd.Nan Liu
This adds the ability to use inetd for tftpd service. This merges the functionality provided in the puppet-tftp module to puppetlabs-tftp.
2012-05-01Add support files for initial release.Nan Liu
* Update documentation. * Fix puppet-lint 80 char issues. * Add spec tests. * Add modulefile, changelog, rakefile, and license.