diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 19:34:15 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 19:34:15 +0000 |
commit | 5598f40d95022d6b03ea9d2c2bd8df33e7f34c0c (patch) | |
tree | fecce2cca76ba42ca5e829312e82eb68a7a3cc84 /modules/buildsystem/manifests | |
parent | 46845a18168b56d277f5cddde109005116590ba0 (diff) | |
download | puppet-5598f40d95022d6b03ea9d2c2bd8df33e7f34c0c.tar puppet-5598f40d95022d6b03ea9d2c2bd8df33e7f34c0c.tar.gz puppet-5598f40d95022d6b03ea9d2c2bd8df33e7f34c0c.tar.bz2 puppet-5598f40d95022d6b03ea9d2c2bd8df33e7f34c0c.tar.xz puppet-5598f40d95022d6b03ea9d2c2bd8df33e7f34c0c.zip |
buildsystem::youri_submit: Remove hardcoded perl lib dir
Use unversionned perl lib dir.
Diffstat (limited to 'modules/buildsystem/manifests')
-rw-r--r-- | modules/buildsystem/manifests/youri_submit.pp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/buildsystem/manifests/youri_submit.pp b/modules/buildsystem/manifests/youri_submit.pp index e5e38fb8..dfbb3a34 100644 --- a/modules/buildsystem/manifests/youri_submit.pp +++ b/modules/buildsystem/manifests/youri_submit.pp @@ -49,8 +49,15 @@ class buildsystem::youri_submit { matches => '*.rpm', } - # FIXME use /usr/local/ once it will be in @INC - file { '/usr/lib/perl5/vendor_perl/5.12.3/Youri/Repository/Mageia.pm': + include mga-common::var::perl + file { [ "${mga-common::var::perl::site_perl_dir}/Youri", + "${mga-common::var::perl::site_perl_dir}/Youri/Repository"]: + ensure => directory, + mode => 0755, + owner => root, + group => root, + } + file { "${mga-common::var::perl::site_perl_dir}/Youri/Repository/Mageia.pm": source => 'puppet:///modules/buildsystem/Mageia.pm', } |