diff options
author | Nan Liu <nan@puppetlabs.com> | 2012-04-05 13:46:28 -0700 |
---|---|---|
committer | Nan Liu <nan@puppetlabs.com> | 2012-04-05 13:46:28 -0700 |
commit | df6c470fd39e6e4e92968d414ae9021b4ec67205 (patch) | |
tree | fe18d3bf2f3c25f5b09314574cf73fad4ce066ce | |
parent | 73fc23bb23d0910cdb58a72f2c885c88e7a98f1d (diff) | |
download | puppet-tftp-df6c470fd39e6e4e92968d414ae9021b4ec67205.tar.gz puppet-tftp-df6c470fd39e6e4e92968d414ae9021b4ec67205.tar.bz2 |
Add test files.
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | tests/init.pp | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,7 @@ Parameters: * port: bind port, default 69. * options: service option, default --secure. +Example: class tftp { directory => '/opt/tftp', @@ -34,6 +35,7 @@ Parameters: * content: file content. * source: file source. +Example: tftp::file { 'pxelinux.0': source => 'puppet:///modules/acme/pxelinux.0', @@ -52,6 +54,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. +Example: file { '/opt/tftp': ensure => directory, diff --git a/tests/init.pp b/tests/init.pp new file mode 100644 index 0000000..d9c6f76 --- /dev/null +++ b/tests/init.pp @@ -0,0 +1,3 @@ +class { 'tftp': + address => $::ipaddress, +} |