From b659c5499f41972c15f2e6e4268be02e20b70bed Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 29 Jul 2016 15:49:16 +0000 Subject: [PATCH] add comments --- .../puppet/parser/functions/onion_balance_service_hostname.rb | 1 + .../lib/puppet/parser/functions/onion_tor_service_hostname.rb | 1 + 2 files changed, 2 insertions(+) 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() -- 2.20.1