diff --git a/data/Debian.yaml b/data/Debian.yaml index 48c64b9..e50378f 100644 --- a/data/Debian.yaml +++ b/data/Debian.yaml @@ -6,4 +6,4 @@ tftp::syslinux_package: - 'syslinux-common' - 'pxelinux' tftp::username: 'tftp' -tftp::options: '--secure' \ No newline at end of file +tftp::options: '--secure' diff --git a/data/RedHat.yaml b/data/RedHat.yaml index 55fe8a7..5592fdb 100644 --- a/data/RedHat.yaml +++ b/data/RedHat.yaml @@ -1,5 +1,7 @@ --- -tftp::service: ['tftp.socket','tftp.service'] +tftp::service: +- 'tftp.socket' +- 'tftp.service' tftp::package: 'tftp-server' tftp::root: '/var/lib/tftpboot' tftp::syslinux_package: 'syslinux' diff --git a/manifests/config.pp b/manifests/config.pp index 9444362..7497ec1 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -45,5 +45,6 @@ } default: { notify { "Unsupported platform: ${facts['os']['family']}, the tftp service will run with with default parameters": } + } } } diff --git a/metadata.json b/metadata.json index bc92fc7..c4a6c03 100644 --- a/metadata.json +++ b/metadata.json @@ -57,6 +57,7 @@ { "operatingsystem": "Debian", "operatingsystemrelease": [ + "9", "10", "11" ] diff --git a/templates/tftp.service-override.epp b/templates/tftp.service-override.epp index efbc09e..0484883 100644 --- a/templates/tftp.service-override.epp +++ b/templates/tftp.service-override.epp @@ -1,3 +1,3 @@ [Service] ExecStart= -ExecStart=/usr/sbin/in.tftpd <%= $tftp::options %> <%= $tftp::root %> \ No newline at end of file +ExecStart=/usr/sbin/in.tftpd <%= $tftp::options %> <%= $tftp::root %>