From: Peter Palfrader Date: Fri, 29 Jul 2016 15:49:16 +0000 (+0000) Subject: add comments X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b659c5499f41972c15f2e6e4268be02e20b70bed;p=mirror%2Fdsa-puppet.git add comments --- diff --git a/modules/puppetmaster/lib/puppet/parser/functions/onion_balance_service_hostname.rb b/modules/puppetmaster/lib/puppet/parser/functions/onion_balance_service_hostname.rb index 75cb033d7..be2d1cb2e 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/onion_balance_service_hostname.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/onion_balance_service_hostname.rb @@ -1,3 +1,4 @@ +# This function returns the .onion name for a given service name on the local host's onionbalance instance module Puppet::Parser::Functions newfunction(:onion_balance_service_hostname, :type => :rvalue) do |args| servicename = args.shift() diff --git a/modules/puppetmaster/lib/puppet/parser/functions/onion_tor_service_hostname.rb b/modules/puppetmaster/lib/puppet/parser/functions/onion_tor_service_hostname.rb index 4d17eb298..9635dbabc 100644 --- a/modules/puppetmaster/lib/puppet/parser/functions/onion_tor_service_hostname.rb +++ b/modules/puppetmaster/lib/puppet/parser/functions/onion_tor_service_hostname.rb @@ -1,3 +1,4 @@ +# This function returns the .onion name for a given service name on the local host's tor instance module Puppet::Parser::Functions newfunction(:onion_tor_service_hostname, :type => :rvalue) do |args| servicename = args.shift()