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 © 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

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