diff options
-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', } |