Project

General

Profile

« Previous | Next » 

Revision 807e29bc

Added by Michael Moll almost 9 years ago

Support FreeBSD

View differences:

manifests/config.pp
class tftp::config {
case $::tftp::params::daemon {
default: { } # not needed for daemon-mode
default: {
file { $::tftp::root:
ensure => directory,
}
if $::osfamily =~ /^(FreeBSD|DragonFly)$/ {
augeas { 'set root directory':
context => '/files/etc/rc.conf',
changes => "set tftpd_flags '\"-s ${::tftp::root}\"'",
}
}
}
false: {
include ::xinetd

Also available in: Unified diff