From c20b1ad0121a0a97d0c4c2dcdd4a16c2e9486a88 Mon Sep 17 00:00:00 2001 From: Antonin Dvorak Date: Tue, 19 Sep 2023 11:03:02 +0200 Subject: [PATCH] fix missing bracket and EOLs --- data/Debian.yaml | 2 +- data/RedHat.yaml | 4 +++- manifests/config.pp | 1 + templates/tftp.service-override.epp | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) 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/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 %>