Fixed status check from tftp daemon on ubuntu/debian systems.
This commit is contained in:
parent
c0d58fb318
commit
9cf570fe13
1 changed files with 4 additions and 2 deletions
|
@ -76,8 +76,10 @@ class tftp::server {
|
||||||
case $operatingsystem {
|
case $operatingsystem {
|
||||||
debian,ubuntu: {
|
debian,ubuntu: {
|
||||||
service { "tftpd-hpa":
|
service { "tftpd-hpa":
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
hasstatus => true,
|
||||||
|
enable => true,
|
||||||
|
require => Package["tftp-server"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue