From 41ce18cc8ea239d1633fc6cd9e9f599957a82e74 Mon Sep 17 00:00:00 2001 From: Ian Taylor Date: Fri, 5 Jun 2009 12:38:35 -0400 Subject: Changed tabs to spaces without interfering with indentation or alignment --- examples/etc/init.d/sleeper | 16 +- examples/mcx_dock_default.pp | 216 ++++++++++----------- examples/mcx_dock_full.pp | 216 ++++++++++----------- examples/mcx_nogroup.pp | 216 ++++++++++----------- .../lib/puppet/parser/functions/hostname_to_dn.rb | 6 +- 5 files changed, 335 insertions(+), 335 deletions(-) (limited to 'examples') diff --git a/examples/etc/init.d/sleeper b/examples/etc/init.d/sleeper index 6da5eae32..63f7e9c2e 100755 --- a/examples/etc/init.d/sleeper +++ b/examples/etc/init.d/sleeper @@ -51,22 +51,22 @@ function status case "$1" in start) start - ;; + ;; stop) stop - ;; + ;; restart) stop; start - ;; + ;; status) output=`status` #status exit $? - ;; - *) - echo "Usage: $N {start|stop|restart|force-reload}" >&2 - exit 1 - ;; + ;; + *) + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; esac exit 0 diff --git a/examples/mcx_dock_default.pp b/examples/mcx_dock_default.pp index 1f65a7316..78d678956 100644 --- a/examples/mcx_dock_default.pp +++ b/examples/mcx_dock_default.pp @@ -4,114 +4,114 @@ mcx { '/Groups/mcx_dock': - com.apple.dock - - AppItems-Raw - - state - always - upk - - mcx_input_key_names - - AppItems-Raw - - mcx_output_key_name - static-apps - mcx_remove_duplicates - - - value - - - mcx_typehint - 1 - tile-data - - file-data - - _CFURLString - /Applications/Mail.app - _CFURLStringType - 0 - - file-label - Mail - - tile-type - file-tile - - - mcx_typehint - 1 - tile-data - - file-data - - _CFURLString - /Applications/Safari.app - _CFURLStringType - 0 - - file-label - Safari - - tile-type - file-tile - - - - DocItems-Raw - - state - always - upk - - mcx_input_key_names - - DocItems-Raw - - mcx_output_key_name - static-others - mcx_remove_duplicates - - - value - - - MCXDockSpecialFolders-Raw - - state - always - upk - - mcx_input_key_names - - MCXDockSpecialFolders-Raw - - mcx_output_key_name - MCXDockSpecialFolders - mcx_remove_duplicates - - - value - - - contents-immutable - - state - always - value - - - static-only - - state - always - value - - - + com.apple.dock + + AppItems-Raw + + state + always + upk + + mcx_input_key_names + + AppItems-Raw + + mcx_output_key_name + static-apps + mcx_remove_duplicates + + + value + + + mcx_typehint + 1 + tile-data + + file-data + + _CFURLString + /Applications/Mail.app + _CFURLStringType + 0 + + file-label + Mail + + tile-type + file-tile + + + mcx_typehint + 1 + tile-data + + file-data + + _CFURLString + /Applications/Safari.app + _CFURLStringType + 0 + + file-label + Safari + + tile-type + file-tile + + + + DocItems-Raw + + state + always + upk + + mcx_input_key_names + + DocItems-Raw + + mcx_output_key_name + static-others + mcx_remove_duplicates + + + value + + + MCXDockSpecialFolders-Raw + + state + always + upk + + mcx_input_key_names + + MCXDockSpecialFolders-Raw + + mcx_output_key_name + MCXDockSpecialFolders + mcx_remove_duplicates + + + value + + + contents-immutable + + state + always + value + + + static-only + + state + always + value + + + ' diff --git a/examples/mcx_dock_full.pp b/examples/mcx_dock_full.pp index 60760332a..4fbf508fa 100644 --- a/examples/mcx_dock_full.pp +++ b/examples/mcx_dock_full.pp @@ -11,114 +11,114 @@ mcx { - com.apple.dock - - AppItems-Raw - - state - always - upk - - mcx_input_key_names - - AppItems-Raw - - mcx_output_key_name - static-apps - mcx_remove_duplicates - - - value - - - mcx_typehint - 1 - tile-data - - file-data - - _CFURLString - /Applications/Mail.app - _CFURLStringType - 0 - - file-label - Mail - - tile-type - file-tile - - - mcx_typehint - 1 - tile-data - - file-data - - _CFURLString - /Applications/Safari.app - _CFURLStringType - 0 - - file-label - Safari - - tile-type - file-tile - - - - DocItems-Raw - - state - always - upk - - mcx_input_key_names - - DocItems-Raw - - mcx_output_key_name - static-others - mcx_remove_duplicates - - - value - - - MCXDockSpecialFolders-Raw - - state - always - upk - - mcx_input_key_names - - MCXDockSpecialFolders-Raw - - mcx_output_key_name - MCXDockSpecialFolders - mcx_remove_duplicates - - - value - - - contents-immutable - - state - always - value - - - static-only - - state - always - value - - - + com.apple.dock + + AppItems-Raw + + state + always + upk + + mcx_input_key_names + + AppItems-Raw + + mcx_output_key_name + static-apps + mcx_remove_duplicates + + + value + + + mcx_typehint + 1 + tile-data + + file-data + + _CFURLString + /Applications/Mail.app + _CFURLStringType + 0 + + file-label + Mail + + tile-type + file-tile + + + mcx_typehint + 1 + tile-data + + file-data + + _CFURLString + /Applications/Safari.app + _CFURLStringType + 0 + + file-label + Safari + + tile-type + file-tile + + + + DocItems-Raw + + state + always + upk + + mcx_input_key_names + + DocItems-Raw + + mcx_output_key_name + static-others + mcx_remove_duplicates + + + value + + + MCXDockSpecialFolders-Raw + + state + always + upk + + mcx_input_key_names + + MCXDockSpecialFolders-Raw + + mcx_output_key_name + MCXDockSpecialFolders + mcx_remove_duplicates + + + value + + + contents-immutable + + state + always + value + + + static-only + + state + always + value + + + ' diff --git a/examples/mcx_nogroup.pp b/examples/mcx_nogroup.pp index ea689f33c..67d20e605 100644 --- a/examples/mcx_nogroup.pp +++ b/examples/mcx_nogroup.pp @@ -4,114 +4,114 @@ mcx { '/Groups/doesnotexist': - com.apple.dock - - AppItems-Raw - - state - always - upk - - mcx_input_key_names - - AppItems-Raw - - mcx_output_key_name - static-apps - mcx_remove_duplicates - - - value - - - mcx_typehint - 1 - tile-data - - file-data - - _CFURLString - /Applications/Mail.app - _CFURLStringType - 0 - - file-label - Mail - - tile-type - file-tile - - - mcx_typehint - 1 - tile-data - - file-data - - _CFURLString - /Applications/Safari.app - _CFURLStringType - 0 - - file-label - Safari - - tile-type - file-tile - - - - DocItems-Raw - - state - always - upk - - mcx_input_key_names - - DocItems-Raw - - mcx_output_key_name - static-others - mcx_remove_duplicates - - - value - - - MCXDockSpecialFolders-Raw - - state - always - upk - - mcx_input_key_names - - MCXDockSpecialFolders-Raw - - mcx_output_key_name - MCXDockSpecialFolders - mcx_remove_duplicates - - - value - - - contents-immutable - - state - always - value - - - static-only - - state - always - value - - - + com.apple.dock + + AppItems-Raw + + state + always + upk + + mcx_input_key_names + + AppItems-Raw + + mcx_output_key_name + static-apps + mcx_remove_duplicates + + + value + + + mcx_typehint + 1 + tile-data + + file-data + + _CFURLString + /Applications/Mail.app + _CFURLStringType + 0 + + file-label + Mail + + tile-type + file-tile + + + mcx_typehint + 1 + tile-data + + file-data + + _CFURLString + /Applications/Safari.app + _CFURLStringType + 0 + + file-label + Safari + + tile-type + file-tile + + + + DocItems-Raw + + state + always + upk + + mcx_input_key_names + + DocItems-Raw + + mcx_output_key_name + static-others + mcx_remove_duplicates + + + value + + + MCXDockSpecialFolders-Raw + + state + always + upk + + mcx_input_key_names + + MCXDockSpecialFolders-Raw + + mcx_output_key_name + MCXDockSpecialFolders + mcx_remove_duplicates + + + value + + + contents-immutable + + state + always + value + + + static-only + + state + always + value + + + ' 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 -- cgit