Skip to content
Snippets Groups Projects
Commit 1ac50df1 authored by Jens Larsson's avatar Jens Larsson
Browse files

The tftp module needs to be aware of CentOS 7

parent bfd2fe78
No related branches found
No related tags found
1 merge request!1The tftp module needs to be aware of CentOS 7
...@@ -12,7 +12,7 @@ class tftp::defaultroot ...@@ -12,7 +12,7 @@ class tftp::defaultroot
$osdist = "${::operatingsystem}-${::operatingsystemrelease}" $osdist = "${::operatingsystem}-${::operatingsystemrelease}"
case $osdist case $osdist
{ {
/^(CentOS|Redhat|Scientific)-6(\.|$)/: { /^(CentOS|Redhat|Scientific)-(6|7)(\.|$)/: {
$tftproot = '/var/lib/tftpboot' $tftproot = '/var/lib/tftpboot'
file { file {
'/tftpboot': '/tftpboot':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment