/[adm]/puppet/modules/buildsystem/manifests/media_cfg.pp
ViewVC logotype

Contents of /puppet/modules/buildsystem/manifests/media_cfg.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2538 - (show annotations) (download)
Fri Mar 16 23:22:12 2012 UTC (12 years, 1 month ago) by misc
File size: 465 byte(s)
iuuse the new module made for refactoring and sharing variable ( ie login of the user for scheduler )
1 define buildsystem::media_cfg() {
2 include buildsystem::scheduler::var
3 include buildsystem::repository
4
5 $arch = $name
6 $sched_login = $buildsystem::scheduler::var::login
7
8 file { "$buildsystem::repository::root/distrib/cauldron/$arch/media/media_info/media.cfg":
9 owner => $buildsystem::base::sched_login,
10 group => $buildsystem::base::sched_login,
11 source => "puppet:///modules/buildsystem/$arch/media.cfg",
12 }
13 }

  ViewVC Help
Powered by ViewVC 1.1.30