diff options
Diffstat (limited to 'lib/puppet/parser')
| -rw-r--r-- | lib/puppet/parser/interpreter.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb index e076bc1ca..e6a0bdc2b 100644 --- a/lib/puppet/parser/interpreter.rb +++ b/lib/puppet/parser/interpreter.rb @@ -41,6 +41,13 @@ module Puppet # Really, we should stick multiple names in here # but for now just make a simple array names = [client] + + # if the client name is fully qualied (which is normally will be) + # add the short name + if client =~ /\./ + names << client.sub(/\..+/,'') + end + begin if @usenodes unless client |
