Initial version of tftp module.
This commit is contained in:
parent
907305bdf5
commit
2d6e4f2fca
1 changed files with 17 additions and 0 deletions
17
tftp/manifests/init.pp
Normal file
17
tftp/manifests/init.pp
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
|
||||||
|
# Install tftp server
|
||||||
|
#
|
||||||
|
class tftp::server {
|
||||||
|
|
||||||
|
include inetd::server
|
||||||
|
|
||||||
|
package { "tftp-server":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
|
||||||
|
inetd::service { "tftp":
|
||||||
|
ensure => present,
|
||||||
|
require => Package["tftp-server"],
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue