Age | Commit message (Collapse) | Author |
|
Require the package on the tftp xinetd service.
|
|
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.
|
|
Update for 0.2.1 release
|
|
|
|
Fix xinetd user/group permission.
|
|
|
|
* Remove xinetd defaults for user/group.
* Fix spec tests.
|
|
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
|
|
Update for 0.2.0 release
|
|
|
|
Fix README for xinetd parameter.
|
|
xinetd is default to true. The fix should simply to match readme with
rest of the parameter style.
|
|
Update xinetd updates
|
|
|
|
* Switched the inetd parameter to default to true
* Moved the value into params.pp
* Updated tests
* Updated README
|
|
Update redhat tftp file owner.
|
|
This update address file owner to nobody by default for RHEL family.
|
|
(#15462) Redhat/CentOS support and replacement of inetd with xinetd.
|
|
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.
|
|
* the problem is with the test not the code
This reverts commit b5fce3cce34c5ff01243a4dfe9205d26f3c98857.
|
|
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
|
|
|
|
This reverts commit ce162ee814bfe2e98d845118e9e3fbcef8817abf.
|
|
* as originally submitted in https://github.com/puppetlabs/puppetlabs-tftp/pull/10...
* Only use one it block per test to improve performance
|
|
This default isn't needed while debian and ubuntu are the only things in osfamily Debian.
|
|
|
|
|
|
|
|
* 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
|
|
variable instead.
|
|
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.
|
|
Replaced with xinetd::service to set up the xinetd configuration
|
|
* 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
|
|
Update module for 0.1.1 release.
|
|
Add default module path for tftp::file
|
|
|
|
|
|
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.
|
|
Add recurse parameter to tftp::file definition
|
|
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.
|
|
Owner/group/mode seem to make more sense above these.
|
|
The purge, replace, and recurselimit defaults are now undef.
|
|
|
|
spec/fixtures/modules dir."
This reverts commit 4d4d6f96e6e4e10d812c75fbf279e05269eef06e.
|
|
Update module for the puppetlabs_spec_helper gem
|
|
|
|
|
|
Update rspec tests to assert the value of recurse in various cases.
|
|
* Use `rake spec` in the travis config
* Load Rakefile and spec_helper from the common code in the gem
|
|
Update for new module template
|