Use native service provider on OpenBSD
This commit is contained in:
parent
a0c2c84e0d
commit
b0bec99e0c
12 changed files with 17 additions and 197 deletions
|
@ -124,11 +124,9 @@ class tftp::server {
|
|||
}
|
||||
} else {
|
||||
service { "tftpd":
|
||||
ensure => running,
|
||||
hasstatus => true,
|
||||
enable => true,
|
||||
start => "/usr/sbin/tftpd /tftpboot",
|
||||
require => File["/tftpboot"],
|
||||
ensure => running,
|
||||
enable => true,
|
||||
require => File["/tftpboot"],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue