diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:04:57 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:04:57 +0000 |
commit | b919b72d6572d3ee1d5d7ff77238e2a277d747dd (patch) | |
tree | 7811a0ed6c7f093466cc21c5c5a28673769dd25c /modules/buildsystem/manifests/mgarepo.pp | |
parent | c7b64c4b7bffac4ae7050a5ecc2627f51d9fdc09 (diff) | |
download | puppet-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.pp | 2 |
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', |