aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/mgarepo.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:04:57 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:04:57 +0000
commitb919b72d6572d3ee1d5d7ff77238e2a277d747dd (patch)
tree7811a0ed6c7f093466cc21c5c5a28673769dd25c /modules/buildsystem/manifests/mgarepo.pp
parentc7b64c4b7bffac4ae7050a5ecc2627f51d9fdc09 (diff)
downloadpuppet-b919b72d6572d3ee1d5d7ff77238e2a277d747dd.tar
puppet-b919b72d6572d3ee1d5d7ff77238e2a277d747dd.tar.gz
puppet-b919b72d6572d3ee1d5d7ff77238e2a277d747dd.tar.bz2
puppet-b919b72d6572d3ee1d5d7ff77238e2a277d747dd.tar.xz
puppet-b919b72d6572d3ee1d5d7ff77238e2a277d747dd.zip
Make buildsystem::create_upload_dir a class instead of a define
buildsystem::create_upload_dir is used only once, so it should be a class and not a define.
Diffstat (limited to 'modules/buildsystem/manifests/mgarepo.pp')
-rw-r--r--modules/buildsystem/manifests/mgarepo.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/mgarepo.pp b/modules/buildsystem/manifests/mgarepo.pp
index e0b714c5..6078ee51 100644
--- a/modules/buildsystem/manifests/mgarepo.pp
+++ b/modules/buildsystem/manifests/mgarepo.pp
@@ -57,7 +57,7 @@ class buildsystem::mgarepo {
},
}
- create_upload_dir { "$sched_home_dir/uploads": }
+ include buildsystem::create_upload_dir
tidy { "$sched_home_dir/uploads":
type => 'ctime',