Fixed the variable checking in this template to avoid warning messages
from puppet 2.7+
Merge pull request #1 from paran01d/master

Fixed the variable checking in this template to avoid warning messages