summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorIan Taylor <ian@lorf.org>2009-06-05 12:39:04 -0400
committerJames Turnbull <james@lovedthanlost.net>2009-06-06 09:12:00 +1000
commit4f2c066a97e59a89df64af4b25beac6f3f0553c2 (patch)
tree126540beec3c65448e01e1b48d27275ec4ee6ea4 /examples
parent97e6975d69f239e24993315a25a3117b1daa48c3 (diff)
downloadpuppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.gz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.tar.xz
puppet-4f2c066a97e59a89df64af4b25beac6f3f0553c2.zip
Removed extra whitespace from end of lines
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/mac_dscl.pp4
-rwxr-xr-xexamples/mac_dscl_revert.pp2
-rw-r--r--examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb4
-rw-r--r--examples/modules/sample-module/manifests/init.pp4
-rw-r--r--examples/relationships2
5 files changed, 8 insertions, 8 deletions
diff --git a/examples/mac_dscl.pp b/examples/mac_dscl.pp
index ff59f9d8d..d04f97d58 100755
--- a/examples/mac_dscl.pp
+++ b/examples/mac_dscl.pp
@@ -7,7 +7,7 @@ User { provider => "directoryservice" }
Group { provider => "directoryservice" }
user {
- "testgone":
+ "testgone":
ensure => absent,
uid => 550;
"testhere":
@@ -25,4 +25,4 @@ group {
ensure => present,
gid => 551;
-} \ No newline at end of file
+}
diff --git a/examples/mac_dscl_revert.pp b/examples/mac_dscl_revert.pp
index c9bd2b541..7c348b33b 100755
--- a/examples/mac_dscl_revert.pp
+++ b/examples/mac_dscl_revert.pp
@@ -7,7 +7,7 @@ User { provider => "directoryservice" }
Group { provider => "directoryservice" }
user {
- "testgone":
+ "testgone":
ensure => absent,
uid => 550;
"testhere":
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 9dfa3f54c..d7ad7d22e 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
@@ -1,6 +1,6 @@
# Copyright (C) David Schmitt <david@schmitt.edv-bus.at>
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@@ -12,7 +12,7 @@
# 3. Neither the name of the Author nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/examples/modules/sample-module/manifests/init.pp b/examples/modules/sample-module/manifests/init.pp
index 1af8dff1f..1b7df032a 100644
--- a/examples/modules/sample-module/manifests/init.pp
+++ b/examples/modules/sample-module/manifests/init.pp
@@ -1,12 +1,12 @@
# Jeff McCune <jeff.mccune@northstarlabs.net>
-#
+#
# Demonstration of a custom parser function and erb template within
# a module, working in concert.
class sample-module {
$fqdn_to_dn = hostname_to_dn($domain)
$sample_template = template("sample-module/sample.erb")
-
+
notice("hostname_to_dn module function returned: [$fqdn_to_dn]")
info("sample.erb looks like:\n$sample_template")
}
diff --git a/examples/relationships b/examples/relationships
index 795788947..e361dc852 100644
--- a/examples/relationships
+++ b/examples/relationships
@@ -28,7 +28,7 @@ define sleeper {
files { }
-sleeper {
+sleeper {
require => files["yay"],
schedule => true
}