/[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 1647 - (hide annotations) (download)
Sat May 28 12:05:17 2011 UTC (9 years, 1 month ago) by blino
File size: 921 byte(s)
add a live-config svn snapshot in /etc/draklive

1 blino 1314 class draklive {
2     class variable {
3 boklm 1315 $draklive_login = 'draklive'
4 blino 1314 $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 blino 1324 file { "$draklive_home/var-data":
25 blino 1314 ensure => directory,
26     owner => $draklive_login,
27     group => $draklive_login,
28     mode => 755,
29     }
30    
31 blino 1324 file { "/var/lib/draklive":
32     ensure => symlink,
33     target => "$draklive_home/var-data",
34     }
35    
36 blino 1647 subversion::snapshot { "/etc/draklive":
37     source => "svn://svn.$domain/soft/images-config/draklive/trunk/",
38     }
39 blino 1314 }
40     }

  ViewVC Help
Powered by ViewVC 1.1.28