summaryrefslogtreecommitdiff
path: root/spec/fixtures/manifests/site.pp
diff options
context:
space:
mode:
authorChristoph <chris@inferno.nadir.org>2015-11-24 17:15:12 +0100
committerChristoph <chris@inferno.nadir.org>2015-11-25 15:11:15 +0100
commit2ac3b7c2e3283e5b0f48e6dd3d76c0192ee96a44 (patch)
treeefcca351ba23b292711a0c9a4b8cf1356f28680d /spec/fixtures/manifests/site.pp
parent5ef2f9dd23b952c625a59f48785f8ee82916d41b (diff)
test if couchrest gets installed with the correct version
the old unit tests were not working anymore
Diffstat (limited to 'spec/fixtures/manifests/site.pp')
-rw-r--r--spec/fixtures/manifests/site.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/fixtures/manifests/site.pp b/spec/fixtures/manifests/site.pp
new file mode 100644
index 0000000..a959fb7
--- /dev/null
+++ b/spec/fixtures/manifests/site.pp
@@ -0,0 +1,8 @@
+# set a default exec path
+# the logoutput exec parameter defaults to "on_error" in puppet 3,
+# but to "false" in puppet 2.7, so we need to set this globally here
+Exec {
+ logoutput => on_failure,
+ path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin'
+}
+