You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When daemon true in RedHat family greater then 8, the tftpd service is started with the default root folder.
A little patch if you want to configure other folder:
Using systemd: 'https://github.com/camptocamp/puppet-systemd'
in config.pp line 15 add:
if $facts['os']['family'] =~ /^(RedHat)$/ {
if versioncmp($facts['os']['release']['major'], '8') == 0 {
systemd::unit_file { 'tftp.service':
content => "
[Unit]
Description=Tftp Server
Requires=tftp.socket
Documentation=man:in.tftpd
When daemon true in RedHat family greater then 8, the tftpd service is started with the default root folder.$facts['os']['family'] =~ /^(RedHat)$ / {
A little patch if you want to configure other folder:
Using systemd: 'https://github.com/camptocamp/puppet-systemd'
in config.pp line 15 add:
if
if versioncmp($facts['os']['release']['major'], '8') == 0 {
systemd::unit_file { 'tftp.service':
content => "
[Unit]
Description=Tftp Server
Requires=tftp.socket
Documentation=man:in.tftpd
[Service]
ExecStart=/usr/sbin/in.tftpd -s ${tftp::root}
StandardInput=socket
[Install]
Also=tftp.socket
",
}
}
}
The text was updated successfully, but these errors were encountered: