/[adm]/puppet/modules/draklive/manifests/init.pp
ViewVC logotype

Annotation of /puppet/modules/draklive/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1314 - (hide annotations) (download)
Tue Mar 15 12:14:51 2011 UTC (13 years ago) by blino
File size: 677 byte(s)
add draklive on rabbit and allow iso makers to run it
1 blino 1314 class draklive {
2     class variable {
3     $draklive_login = 'draklive
4     $draklive_home = '/home/draklive'
5     $isomakers_group = 'mga-iso_makers'
6     }
7    
8     class base inherits variable {
9     include sudo
10    
11     buildsystem::sshuser { $draklive_login:
12     homedir => $draklive_home,
13     comment => "User for creating live ISOs",
14     }
15    
16     package { draklive:
17     ensure => 'installed',
18     }
19    
20     sudo::sudoers_config { "draklive":
21     content => template("draklive/sudoers.draklive")
22     }
23    
24     file { "/var/lib/draklive":
25     ensure => directory,
26     owner => $draklive_login,
27     group => $draklive_login,
28     mode => 755,
29     }
30    
31     }
32     }

  ViewVC Help
Powered by ViewVC 1.1.30