]> gitweb.fluxo.info Git - puppet-tftp.git/log
puppet-tftp.git
13 years agoMerge pull request #20 from benburkert/master master
Nan Liu [Fri, 14 Sep 2012 22:45:14 +0000 (15:45 -0700)]
Merge pull request #20 from benburkert/master

Require the package on the tftp xinetd service.

13 years agoRequire the package on the tftp xinetd service.
Ben Burkert [Thu, 30 Aug 2012 15:13:01 +0000 (08:13 -0700)]
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.

13 years agoMerge pull request #19 from nanliu/tb/release
Nan Liu [Mon, 20 Aug 2012 18:24:24 +0000 (11:24 -0700)]
Merge pull request #19 from nanliu/tb/release

Update for 0.2.1 release

13 years agoUpdate for 0.2.1 release
Nan Liu [Mon, 20 Aug 2012 18:23:48 +0000 (11:23 -0700)]
Update for 0.2.1 release

13 years agoMerge pull request #18 from nanliu/tb/xinetd
Branan Purvine-Riley [Mon, 20 Aug 2012 18:14:32 +0000 (11:14 -0700)]
Merge pull request #18 from nanliu/tb/xinetd

Fix xinetd user/group permission.

13 years agoWhitespace changes in rspec file.
Nan Liu [Mon, 20 Aug 2012 17:22:04 +0000 (10:22 -0700)]
Whitespace changes in rspec file.

13 years agoUpdate tftp xinetd fix.
Nan Liu [Mon, 20 Aug 2012 17:21:25 +0000 (10:21 -0700)]
Update tftp xinetd fix.

* Remove xinetd defaults for user/group.
* Fix spec tests.

13 years agolet tftpd-hpa change the uid and gid of the process
Mehdi Abaakouk [Thu, 9 Aug 2012 08:08:33 +0000 (10:08 +0200)]
let tftpd-hpa change the uid and gid of the process

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

13 years agoMerge pull request #13 from branan/release_0.2.0
Nan Liu [Fri, 27 Jul 2012 23:15:14 +0000 (16:15 -0700)]
Merge pull request #13 from branan/release_0.2.0

Update for 0.2.0 release

13 years agoUpdate for 0.2.0 release
Branan Purvine-Riley [Fri, 13 Jul 2012 22:55:29 +0000 (15:55 -0700)]
Update for 0.2.0 release

13 years agoMerge pull request #16 from nanliu/tb/inetd
Branan Purvine-Riley [Fri, 27 Jul 2012 23:14:04 +0000 (16:14 -0700)]
Merge pull request #16 from nanliu/tb/inetd

Fix README for xinetd parameter.

13 years agoFix README for xinetd parameter.
Nan Liu [Fri, 27 Jul 2012 23:10:31 +0000 (16:10 -0700)]
Fix README for xinetd parameter.

xinetd is default to true. The fix should simply to match readme with
rest of the parameter style.

13 years agoMerge pull request #15 from nanliu/tb/inetd
Branan Purvine-Riley [Fri, 27 Jul 2012 23:07:55 +0000 (16:07 -0700)]
Merge pull request #15 from nanliu/tb/inetd

Update xinetd updates

13 years agoFix whitespace and readme.
Nan Liu [Fri, 27 Jul 2012 23:01:33 +0000 (16:01 -0700)]
Fix whitespace and readme.

13 years agoMake xinetd the default method for installing tftp
crayfishx [Mon, 16 Jul 2012 18:54:20 +0000 (11:54 -0700)]
Make xinetd the default method for installing tftp

* Switched the inetd parameter to default to true
* Moved the value into params.pp
* Updated tests
* Updated README

13 years agoMerge pull request #12 from nanliu/tb/file
Branan Purvine-Riley [Wed, 11 Jul 2012 23:44:22 +0000 (16:44 -0700)]
Merge pull request #12 from nanliu/tb/file

Update redhat tftp file owner.

13 years agoUpdate redhat tftp file owner.
Nan Liu [Wed, 11 Jul 2012 23:41:17 +0000 (16:41 -0700)]
Update redhat tftp file owner.

This update address file owner to nobody by default for RHEL family.

13 years agoMerge pull request #11 from crayfishx/master
Nan Liu [Wed, 11 Jul 2012 23:21:46 +0000 (16:21 -0700)]
Merge pull request #11 from crayfishx/master

(#15462) Redhat/CentOS support and replacement of inetd with xinetd.

13 years agoChanged rspec test for calling outside of module
crayfishx [Wed, 11 Jul 2012 19:11:40 +0000 (12:11 -0700)]
Changed rspec test for calling outside of module
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.

13 years agoRevert "Fully qualify $::caller_module_name fact."
crayfishx [Wed, 11 Jul 2012 18:51:39 +0000 (11:51 -0700)]
Revert "Fully qualify $::caller_module_name fact."
* the problem is with the test not the code

This reverts commit b5fce3cce34c5ff01243a4dfe9205d26f3c98857.

13 years agoFully qualify $::caller_module_name fact.
crayfishx [Wed, 11 Jul 2012 17:51:18 +0000 (10:51 -0700)]
Fully qualify $::caller_module_name fact.

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

13 years agoAdded module dependancy to puppetlabs-xinetd
crayfishx [Wed, 11 Jul 2012 17:40:49 +0000 (10:40 -0700)]
Added module dependancy to puppetlabs-xinetd

13 years agoRevert "Bumped version to 0.2.0 and added dependancy to puppetlabs-xinetd"
crayfishx [Wed, 11 Jul 2012 17:39:18 +0000 (10:39 -0700)]
Revert "Bumped version to 0.2.0 and added dependancy to puppetlabs-xinetd"

This reverts commit ce162ee814bfe2e98d845118e9e3fbcef8817abf.

13 years agoSingle it block per test
crayfishx [Wed, 11 Jul 2012 17:30:36 +0000 (10:30 -0700)]
Single it block per test
* as originally submitted in https://github.com/puppetlabs/puppetlabs-tftp/pull/10...
* Only use one it block per test to improve performance

13 years agoRemoved unneeded default
crayfishx [Wed, 11 Jul 2012 16:41:43 +0000 (09:41 -0700)]
Removed unneeded default
This default isn't needed while debian and ubuntu are the only things in osfamily Debian.

13 years agoBumped version to 0.2.0 and added dependancy to puppetlabs-xinetd
crayfishx [Tue, 10 Jul 2012 23:59:30 +0000 (16:59 -0700)]
Bumped version to 0.2.0 and added dependancy to puppetlabs-xinetd

13 years agoTweaked documentation to add Redhat and show inet changes
crayfishx [Tue, 10 Jul 2012 23:51:52 +0000 (16:51 -0700)]
Tweaked documentation to add Redhat and show inet changes

13 years ago* remove old references to inetd_conf
crayfishx [Tue, 10 Jul 2012 23:48:50 +0000 (16:48 -0700)]
* remove old references to inetd_conf

13 years agoUpdated rspec tests for new functionality
crayfishx [Tue, 10 Jul 2012 23:41:06 +0000 (16:41 -0700)]
Updated rspec tests for new functionality

* 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

13 years agoNo need to set binary to undef for debian now we evaluate the provider variable instead.
crayfishx [Tue, 10 Jul 2012 21:31:42 +0000 (14:31 -0700)]
No need to set binary to undef for debian now we evaluate the provider variable instead.

13 years agoAccording to the man pages and examples I've seen there is no reason
crayfishx [Tue, 10 Jul 2012 21:28:08 +0000 (14:28 -0700)]
According to the man pages and examples I've seen there is no reason
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.

13 years agoRemoving dependancy on 'inetd' which doesn't exist in the forge...
crayfishx [Tue, 10 Jul 2012 21:27:10 +0000 (14:27 -0700)]
Removing dependancy on 'inetd' which doesn't exist in the forge...

Replaced with xinetd::service to set up the xinetd configuration

13 years agoAdd EL (RHEL/CentOS) support for tftp.
crayfishx [Tue, 10 Jul 2012 19:51:23 +0000 (12:51 -0700)]
Add EL (RHEL/CentOS) support for tftp.
 * 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

13 years agoMerge pull request #9 from nanliu/tb/release
Branan Purvine-Riley [Mon, 25 Jun 2012 21:36:49 +0000 (14:36 -0700)]
Merge pull request #9 from nanliu/tb/release

Update module for 0.1.1 release.

13 years agoMerge pull request #8 from nanliu/tb/defaults
Branan Purvine-Riley [Mon, 25 Jun 2012 21:35:29 +0000 (14:35 -0700)]
Merge pull request #8 from nanliu/tb/defaults

Add default module path for tftp::file

13 years agoUpdate documentation and README.
Nan Liu [Mon, 25 Jun 2012 20:43:26 +0000 (13:43 -0700)]
Update documentation and README.

13 years agoUpdate module for 0.1.1 release.
Nan Liu [Mon, 25 Jun 2012 19:20:52 +0000 (12:20 -0700)]
Update module for 0.1.1 release.

13 years agoAdd default module path for tftp::file
Nan Liu [Mon, 25 Jun 2012 19:12:06 +0000 (12:12 -0700)]
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.

13 years agoMerge pull request #7 from thomasvandoren/add-recurse-to-file
Nan Liu [Mon, 25 Jun 2012 19:03:46 +0000 (12:03 -0700)]
Merge pull request #7 from thomasvandoren/add-recurse-to-file

Add recurse parameter to tftp::file definition

13 years agoAdd spec tests for recurse params.
Thomas Van Doren [Sat, 16 Jun 2012 02:34:53 +0000 (19:34 -0700)]
Add spec tests for recurse params.

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.

13 years agoMove purge, replace, recurselimit params down.
Thomas Van Doren [Fri, 15 Jun 2012 22:56:24 +0000 (15:56 -0700)]
Move purge, replace, recurselimit params down.

Owner/group/mode seem to make more sense above these.

13 years agoFix spacing to meet puppet style guide and update new param defaults.
Thomas Van Doren [Fri, 15 Jun 2012 22:54:32 +0000 (15:54 -0700)]
Fix spacing to meet puppet style guide and update new param defaults.

The purge, replace, and recurselimit defaults are now undef.

13 years agoAdd purge, replace, and recurselimit params to tftp::file definition.
Thomas Van Doren [Fri, 15 Jun 2012 22:52:04 +0000 (15:52 -0700)]
Add purge, replace, and recurselimit params to tftp::file definition.

13 years agoRevert "Add .gitignore to avoid accidentally committing the spec/fixtures/modules...
Thomas Van Doren [Fri, 15 Jun 2012 22:32:37 +0000 (15:32 -0700)]
Revert "Add .gitignore to avoid accidentally committing the spec/fixtures/modules dir."

This reverts commit 4d4d6f96e6e4e10d812c75fbf279e05269eef06e.

13 years agoMerge pull request #6 from branan/use_spechelper_gem
Nan Liu [Fri, 8 Jun 2012 20:41:42 +0000 (13:41 -0700)]
Merge pull request #6 from branan/use_spechelper_gem

Update module for the puppetlabs_spec_helper gem

13 years agoAdd recurse tftp::file param to README.
Thomas Van Doren [Tue, 5 Jun 2012 04:06:26 +0000 (21:06 -0700)]
Add recurse tftp::file param to README.

13 years agoAdd .gitignore to avoid accidentally committing the spec/fixtures/modules dir.
Thomas Van Doren [Tue, 5 Jun 2012 03:45:59 +0000 (20:45 -0700)]
Add .gitignore to avoid accidentally committing the spec/fixtures/modules dir.

13 years agoAdd recurse option to tftp::file class.
Thomas Van Doren [Tue, 5 Jun 2012 03:45:19 +0000 (20:45 -0700)]
Add recurse option to tftp::file class.

Update rspec tests to assert the value of recurse in various cases.

13 years agoUpdate module for the puppetlabs_spec_helper gem
Branan Purvine-Riley [Thu, 31 May 2012 23:48:44 +0000 (16:48 -0700)]
Update module for the puppetlabs_spec_helper gem

* Use `rake spec` in the travis config
* Load Rakefile and spec_helper from the common code in the gem

13 years agoMerge pull request #5 from branan/update_module_layout
Dan Bode [Fri, 25 May 2012 21:04:05 +0000 (14:04 -0700)]
Merge pull request #5 from branan/update_module_layout

Update for new module template

13 years agoUpdate for the new module template
Branan Purvine-Riley [Fri, 25 May 2012 19:07:36 +0000 (12:07 -0700)]
Update for the new module template

* Add `rake spec_full` and friends
* Remove recursive symlink
* Prepend fixtures modulepath instead of overriding
* Update travis config to use spec_full

13 years agoMerge pull request #4 from branan/tb/14465
Nan Liu [Thu, 17 May 2012 16:11:53 +0000 (09:11 -0700)]
Merge pull request #4 from branan/tb/14465

(#14465) Add inetd option for tftpd.

13 years agoAdd inetd to the travis config
Branan Purvine-Riley [Thu, 17 May 2012 16:03:28 +0000 (09:03 -0700)]
Add inetd to the travis config

13 years ago(#14465) Add inetd option tftpd.
Nan Liu [Mon, 14 May 2012 18:10:55 +0000 (11:10 -0700)]
(#14465) Add inetd option tftpd.

This adds the ability to use inetd for tftpd service. This merges the
functionality provided in the puppet-tftp module to puppetlabs-tftp.

13 years agoMerge pull request #2 from branan/travsci
Nan Liu [Mon, 14 May 2012 17:04:14 +0000 (10:04 -0700)]
Merge pull request #2 from branan/travsci

Add files for Travis CI

13 years agoAdd files for Travis CI
Branan Purvine-Riley [Tue, 8 May 2012 18:54:33 +0000 (11:54 -0700)]
Add files for Travis CI

13 years agoMerge pull request #1 from nanliu/master
Nan Liu [Tue, 1 May 2012 23:20:12 +0000 (16:20 -0700)]
Merge pull request #1 from nanliu/master

Add support files for initial module release.

13 years agoAdd support files for initial release.
Nan Liu [Tue, 1 May 2012 23:16:10 +0000 (16:16 -0700)]
Add support files for initial release.

* Update documentation.
* Fix puppet-lint 80 char issues.
* Add spec tests.
* Add modulefile, changelog, rakefile, and license.

13 years agoAdd test files.
Nan Liu [Thu, 5 Apr 2012 20:46:28 +0000 (13:46 -0700)]
Add test files.

13 years agoAdd test file and update documentation.
Nan Liu [Thu, 5 Apr 2012 20:45:02 +0000 (13:45 -0700)]
Add test file and update documentation.

13 years agoInitial commit.
Nan Liu [Thu, 5 Apr 2012 20:42:52 +0000 (13:42 -0700)]
Initial commit.