aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-14Merge pull request #20 from benburkert/masterHEADmasterNan Liu
Require the package on the tftp xinetd service.
2012-08-30Require the package on the tftp xinetd service.Ben Burkert
The xinetd::service type drops an xinetd config. That config is invalid before the tftp package is installed and during that window xinetd may be started. xinetd will start with tftp ignored, and will need to be manually restarted to enable tftp. This change eliminates that window.
2012-08-20Merge pull request #19 from nanliu/tb/releaseNan Liu
Update for 0.2.1 release
2012-08-20Update for 0.2.1 releaseNan Liu
2012-08-20Merge pull request #18 from nanliu/tb/xinetdBranan Purvine-Riley
Fix xinetd user/group permission.
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-08-09let tftpd-hpa change the uid and gid of the processMehdi Abaakouk
tftpd-hpa try to change the uid and gid of the process before serving a file and it can't if xinetd start the process with a user other than root. This result to this following message and tftp can't serve file in.tftpd[17609]: cannot set groups for user nobody To customise user/group of the running process we need to use -u option
2012-07-27Merge pull request #13 from branan/release_0.2.0Nan Liu
Update for 0.2.0 release
2012-07-27Update for 0.2.0 releaseBranan Purvine-Riley
2012-07-27Merge pull request #16 from nanliu/tb/inetdBranan Purvine-Riley
Fix README for xinetd parameter.
2012-07-27Fix README for xinetd parameter.Nan Liu
xinetd is default to true. The fix should simply to match readme with rest of the parameter style.
2012-07-27Merge pull request #15 from nanliu/tb/inetdBranan Purvine-Riley
Update xinetd updates
2012-07-27Fix whitespace and readme.Nan Liu
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-11Merge pull request #12 from nanliu/tb/fileBranan Purvine-Riley
Update redhat tftp file owner.
2012-07-11Update redhat tftp file owner.Nan Liu
This update address file owner to nobody by default for RHEL family.
2012-07-11Merge pull request #11 from crayfishx/masterNan Liu
(#15462) Redhat/CentOS support and replacement of inetd with xinetd.
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-11Added module dependancy to puppetlabs-xinetdcrayfishx
2012-07-11Revert "Bumped version to 0.2.0 and added dependancy to puppetlabs-xinetd"crayfishx
This reverts commit ce162ee814bfe2e98d845118e9e3fbcef8817abf.
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-11Removed unneeded defaultcrayfishx
This default isn't needed while debian and ubuntu are the only things in osfamily Debian.
2012-07-10Bumped version to 0.2.0 and added dependancy to puppetlabs-xinetdcrayfishx
2012-07-10Tweaked documentation to add Redhat and show inet changescrayfishx
2012-07-10* remove old references to inetd_confcrayfishx
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-07-10No need to set binary to undef for debian now we evaluate the provider ↵crayfishx
variable instead.
2012-07-10According to the man pages and examples I've seen there is no reasoncrayfishx
why server_args can't be used to pass in extra options to in.tftpd If this is not the case, please let me know.
2012-07-10Removing dependancy on 'inetd' which doesn't exist in the forge...crayfishx
Replaced with xinetd::service to set up the xinetd configuration
2012-07-10Add EL (RHEL/CentOS) support for tftp.crayfishx
* EL tftpd-hpa package is called tftp-server * Distributed RPM doesn't provide an init file so the base provider is needed * Default username for tftp-server on RHEL is nobody * no /etc/default/tftpd-hpa should be pushed for EL systems
2012-06-25Merge pull request #9 from nanliu/tb/releaseBranan Purvine-Riley
Update module for 0.1.1 release.
2012-06-25Merge pull request #8 from nanliu/tb/defaultsBranan Purvine-Riley
Add default module path for tftp::file
2012-06-25Update documentation and README.Nan Liu
2012-06-25Update module for 0.1.1 release.Nan Liu
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-15Move purge, replace, recurselimit params down.Thomas Van Doren
Owner/group/mode seem to make more sense above these.
2012-06-15Fix spacing to meet puppet style guide and update new param defaults.Thomas Van Doren
The purge, replace, and recurselimit defaults are now undef.
2012-06-15Add purge, replace, and recurselimit params to tftp::file definition.Thomas Van Doren
2012-06-15Revert "Add .gitignore to avoid accidentally committing the ↵Thomas Van Doren
spec/fixtures/modules dir." This reverts commit 4d4d6f96e6e4e10d812c75fbf279e05269eef06e.
2012-06-08Merge pull request #6 from branan/use_spechelper_gemNan Liu
Update module for the puppetlabs_spec_helper gem
2012-06-04Add recurse tftp::file param to README.Thomas Van Doren
2012-06-04Add .gitignore to avoid accidentally committing the spec/fixtures/modules dir.Thomas Van Doren
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-25Merge pull request #5 from branan/update_module_layoutDan Bode
Update for new module template