aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNan Liu <nan@puppetlabs.com>2012-04-05 13:45:02 -0700
committerNan Liu <nan@puppetlabs.com>2012-04-05 13:45:02 -0700
commit73fc23bb23d0910cdb58a72f2c885c88e7a98f1d (patch)
tree22a21d86bda523deab4cc6546bf7d11166bca8fe
parent89282064ac8de35a5154a80eedc5f7f2d8c5ba8a (diff)
downloadpuppet-tftp-73fc23bb23d0910cdb58a72f2c885c88e7a98f1d.tar.gz
puppet-tftp-73fc23bb23d0910cdb58a72f2c885c88e7a98f1d.tar.bz2
Add test file and update documentation.
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4bdd512..61a3af6 100644
--- a/README.md
+++ b/README.md
@@ -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