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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1777 - (hide annotations) (download)
Mon Jun 20 15:37:18 2011 UTC (12 years, 10 months ago) by boklm
File size: 606 byte(s)
add dashboard module
1 boklm 1777 class dashboard {
2     class variable {
3     $dashboard_login = "dashboard"
4     $dashboard_home_dir = "/var/lib/$dashboard_login"
5     $dashboard_dir = "$dashboard_home_dir/dashboard"
6     }
7    
8     class base inherits variable {
9     user {"$dashboard_login":
10     ensure => present,
11     comment => "dashboard system user",
12     managehome => true,
13     home => $dashboard_home_dir,
14     gid => $dashboard_login,
15     shell => "/bin/bash",
16     }
17    
18     subversion::snapshot { $dashboard_dir:
19     source => "svn://svn.$domain/soft/dashboard/",
20     }
21     }
22     }

  ViewVC Help
Powered by ViewVC 1.1.30