diff --git a/manifests/defaultroot.pp b/manifests/defaultroot.pp
index fc1357b5a4d3fe584b5e51271df70d91b3c7b086..4ec076e419fa1e84244bfec84f49f05e9604fdec 100644
--- a/manifests/defaultroot.pp
+++ b/manifests/defaultroot.pp
@@ -12,7 +12,7 @@ class tftp::defaultroot
     $osdist = "${::operatingsystem}-${::operatingsystemrelease}"
     case $osdist
     {
-	/^(CentOS|Redhat|Scientific)-6(\.|$)/: {
+	/^(CentOS|Redhat|Scientific)-(6|7)(\.|$)/: {
 	    $tftproot = '/var/lib/tftpboot'
 	    file {
 		'/tftpboot':