diff options
author | Nan Liu <nan@puppetlabs.com> | 2012-04-05 13:45:02 -0700 |
---|---|---|
committer | Nan Liu <nan@puppetlabs.com> | 2012-04-05 13:45:02 -0700 |
commit | 73fc23bb23d0910cdb58a72f2c885c88e7a98f1d (patch) | |
tree | 22a21d86bda523deab4cc6546bf7d11166bca8fe | |
parent | 89282064ac8de35a5154a80eedc5f7f2d8c5ba8a (diff) | |
download | puppet-tftp-73fc23bb23d0910cdb58a72f2c885c88e7a98f1d.tar.gz puppet-tftp-73fc23bb23d0910cdb58a72f2c885c88e7a98f1d.tar.bz2 |
Add test file and update documentation.
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -16,6 +16,7 @@ Parameters: * port: bind port, default 69. * options: service option, default --secure. + class tftp { directory => '/opt/tftp', address => $::ipaddress, @@ -33,6 +34,7 @@ Parameters: * content: file content. * source: file source. + tftp::file { 'pxelinux.0': source => 'puppet:///modules/acme/pxelinux.0', } @@ -50,6 +52,7 @@ Parameters: 1. tftp directories not in the OS package defaults should be managed as file resources. 2. customization for the class tftp must be declared before using tftp::file resources. + file { '/opt/tftp': ensure => directory, } @@ -69,5 +72,5 @@ The examples use a module acme and the tftp files should be placed in calling mo The module have been tested on the following operating systems. Testing and patches for other platforms are welcomed. -Debian Wheezy -Ubuntu Oneiric +* Debian Wheezy +* Ubuntu Oneiric |