]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
rename new cert files
[dsa-puppet.git] / modules / puppetmaster / lib / puppet / parser / functions / whohosts.rb
index 5dec7b0def29e1abac9b0d1b01c7dcfc6bdb1127..b55204ac8fdd17712ae920f509c864288301d088 100644 (file)
@@ -30,6 +30,9 @@ module Puppet::Parser::Functions
         end
       end
     end
+    if not ans['longname']
+      ans['longname'] = ans['name']
+    end
     return ans
   end
 end