Forge Home

tftp

Manage the tftp service

9,782 downloads

9,083 latest version

5.0 quality score

Version information

  • 1.0.2 (latest)
  • 1.0.1
  • 1.0.0
released Jan 10th 2015
This version is compatible with:
  • , , Fedora, RedHat, OpenSUSE, Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'foolean-tftp', '1.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add foolean-tftp
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install foolean-tftp --version 1.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

foolean/tftp — version 1.0.2 Jan 10th 2015

tftp

This module handles the installation and configuration of the tftp server and client.

Examples

node myclientnode {
    class { 'tftp::client': }
}

node myservernode {
    class { 'tftp::server':
        ensure     => 'present',
        address    => '0.0.0.0:69',
        create     => true,
        listen     => true,
        permissive => true,
        secure     => true,
        umask      => '007',
        verbosity  => 3,
        tftproot   => '/srv/tftp',
    }
}

Supported Operating Systems

Primary development is done on Debian and then validated against other operating systems. The current list of supported operating systems is:

* CentOS
* Debian
* Fedora
* RedHat
* OpenSUSE
* Ubuntu

Packaging

Creating the package (tarball) that can be installed using puppet's module function is simple. Run the following command while in the top of the module directory (e.g. /usr/src/puppet-tftp).

puppet module build .

The resulting tarball will be named foolean-tftp-$VER.tar.gz and can be found in the "pkg" directory within the source tree.

PuppetForge Installation

Foolean TFTP is on PuppetLab's PuppetForge making installation as simple as:

puppet module install foolean/tftp

Manual Installation

When we're installing from a tarball the installation and upgrade process is the same. You'll need to set --modulepath if you're installing the module in a path other than the location defined in puppet.conf.

MODULEPATH=/var/lib/puppet/modules
puppet module install         \
    --force                   \
    --ignore-dependencies     \
    --module-path $MODULEPATH \
    $PATHTO/foolean-tftp-$VER.tar.gz

License

Copyright (c) 2013 Foolean.org

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contact

bennett@foolean.org