Revision c0bc540d
Added by Greg Petras over 9 years ago
manifests/init.pp | ||
---|---|---|
# Manage TFTP
|
||
class tftp inherits tftp::params {
|
||
# == Class: tftp
|
||
#
|
||
# This class installs and configures a TFTP server
|
||
#
|
||
# === Parameters
|
||
#
|
||
# $root:: Configures the root directory for the TFTP server
|
||
#
|
||
# === Usage
|
||
#
|
||
# * Simple usage:
|
||
#
|
||
# include tftp
|
||
#
|
||
# * Configure a TFTP server with a non-default root directory:
|
||
#
|
||
# class { 'tftp':
|
||
# root => '/tftpboot',
|
||
# }
|
||
#
|
||
class tftp (
|
||
$root = $tftp::params::root,
|
||
) inherits tftp::params {
|
||
class {'tftp::install':} ->
|
||
class {'tftp::config':} ~>
|
||
class {'tftp::service':} ->
|
Also available in: Unified diff
fixes #8942 - ability to override tftp root parameter