diff options
author | Ian Taylor <ian@lorf.org> | 2009-06-05 12:38:35 -0400 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-06-06 09:11:28 +1000 |
commit | 41ce18cc8ea239d1633fc6cd9e9f599957a82e74 (patch) | |
tree | 9d398b4e3e6d726a174b5b57094c7dd6749ccf0e /examples/modules | |
parent | f3b40923605420f774dac298fb1708de180c0a81 (diff) | |
download | puppet-41ce18cc8ea239d1633fc6cd9e9f599957a82e74.tar.gz puppet-41ce18cc8ea239d1633fc6cd9e9f599957a82e74.tar.xz puppet-41ce18cc8ea239d1633fc6cd9e9f599957a82e74.zip |
Changed tabs to spaces without interfering with indentation or alignment
Diffstat (limited to 'examples/modules')
-rw-r--r-- | examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb b/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb index 9f732b5bc..9dfa3f54c 100644 --- a/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +++ b/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb @@ -30,7 +30,7 @@ # See: http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions module Puppet::Parser::Functions - newfunction(:hostname_to_dn, :type => :rvalue, :doc => "Given 'foo.bar.com', return 'dc=foo,dc=bar,dc=com'.") do |args| - args[0].split(/\./).map do |s| "dc=%s"%[s] end.join(",") - end + newfunction(:hostname_to_dn, :type => :rvalue, :doc => "Given 'foo.bar.com', return 'dc=foo,dc=bar,dc=com'.") do |args| + args[0].split(/\./).map do |s| "dc=%s"%[s] end.join(",") + end end |