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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1648 - (show annotations) (download)
Sat May 28 12:13:42 2011 UTC (8 years, 10 months ago) by blino
File size: 971 byte(s)
put live config in ~/live-config

1 class draklive {
2 class variable {
3 $draklive_login = 'draklive'
4 $draklive_home = '/home/draklive'
5 $live_config = "$draklive_home/live-config/"
6 $isomakers_group = 'mga-iso_makers'
7 }
8
9 class base inherits variable {
10 include sudo
11
12 buildsystem::sshuser { $draklive_login:
13 homedir => $draklive_home,
14 comment => "User for creating live ISOs",
15 }
16
17 package { draklive:
18 ensure => 'installed',
19 }
20
21 sudo::sudoers_config { "draklive":
22 content => template("draklive/sudoers.draklive")
23 }
24
25 file { "$draklive_home/var-data":
26 ensure => directory,
27 owner => $draklive_login,
28 group => $draklive_login,
29 mode => 755,
30 }
31
32 file { "/var/lib/draklive":
33 ensure => symlink,
34 target => "$draklive_home/var-data",
35 }
36
37 subversion::snapshot { $live_config:
38 source => "svn://svn.$domain/soft/images-config/draklive/trunk/",
39 }
40 }
41 }

  ViewVC Help
Powered by ViewVC 1.1.26