diff options
Diffstat (limited to 'lib/puppet/node.rb')
-rw-r--r-- | lib/puppet/node.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/node.rb b/lib/puppet/node.rb index 5782c14fb..263aaf694 100644 --- a/lib/puppet/node.rb +++ b/lib/puppet/node.rb @@ -79,6 +79,10 @@ class Puppet::Node # Calculate the list of names we might use for looking # up our node. This is only used for AST nodes. def names + if Puppet.settings[:strict_hostname_checking] + return [name] + end + names = [] # First, get the fqdn |