aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-07 22:17:50 +0000
committerMichael Scherer <misc@mageia.org>2012-01-07 22:17:50 +0000
commit79e8c7a15691973317afd8e90208d6ac3573a102 (patch)
tree5c22e836e2436f3a45c9306989421378cd6e9d7e
parent2fcc6f8b87b09aa94473afa06ddc28c4bdd4a908 (diff)
downloadpuppet-79e8c7a15691973317afd8e90208d6ac3573a102.tar
puppet-79e8c7a15691973317afd8e90208d6ac3573a102.tar.gz
puppet-79e8c7a15691973317afd8e90208d6ac3573a102.tar.bz2
puppet-79e8c7a15691973317afd8e90208d6ac3573a102.tar.xz
puppet-79e8c7a15691973317afd8e90208d6ac3573a102.zip
explictely set default value for Package and file, thus permitting us
to remove it from the rest of the manifests
-rw-r--r--manifests/defaults.pp15
1 files changed, 13 insertions, 2 deletions
diff --git a/manifests/defaults.pp b/manifests/defaults.pp
index 68e621c1..b2d7d886 100644
--- a/manifests/defaults.pp
+++ b/manifests/defaults.pp
@@ -1,4 +1,15 @@
-# to not repeat the setting everywhere
-Exec { path => "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin/" }
+# to not repeat the settings everywhere
+Exec {
+ path => "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin/",
+}
+Package {
+ ensure => "present",
+}
+
+File {
+ ensure => "present",
+ owner => root,
+ group => root,
+}