diff options
Diffstat (limited to 'site/puppetdb_hostname_function/lib/puppet')
-rw-r--r-- | site/puppetdb_hostname_function/lib/puppet/parser/functions/puppetdb_hostname.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/site/puppetdb_hostname_function/lib/puppet/parser/functions/puppetdb_hostname.rb b/site/puppetdb_hostname_function/lib/puppet/parser/functions/puppetdb_hostname.rb deleted file mode 100644 index b43365f..0000000 --- a/site/puppetdb_hostname_function/lib/puppet/parser/functions/puppetdb_hostname.rb +++ /dev/null @@ -1,12 +0,0 @@ -require 'puppet/util/puppetdb' - -module Puppet::Parser::Functions - newfunction(:puppetdb_hostnames, :type => :rvalue) do |args| - output = [] - Puppet::Util::Puppetdb.config.server_urls.each do | server_url | - output << server_url.hostname - end - - output - end -end |