Skip to content

Commit

Permalink
fix missing bracket and EOLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonin Dvorak committed Sep 19, 2023
1 parent d126e8d commit c20b1ad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/Debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ tftp::syslinux_package:
- 'syslinux-common'
- 'pxelinux'
tftp::username: 'tftp'
tftp::options: '--secure'
tftp::options: '--secure'
4 changes: 3 additions & 1 deletion data/RedHat.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
1 change: 1 addition & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
}
default: {
notify { "Unsupported platform: ${facts['os']['family']}, the tftp service will run with with default parameters": }
}
}
}
2 changes: 1 addition & 1 deletion templates/tftp.service-override.epp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[Service]
ExecStart=
ExecStart=/usr/sbin/in.tftpd <%= $tftp::options %> <%= $tftp::root %>
ExecStart=/usr/sbin/in.tftpd <%= $tftp::options %> <%= $tftp::root %>

0 comments on commit c20b1ad

Please sign in to comment.