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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1780 - (show annotations) (download)
Mon Jun 20 15:52:12 2011 UTC (12 years, 10 months ago) by boklm
File size: 623 byte(s)
install php-cli
1 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 shell => "/bin/bash",
15 }
16
17 subversion::snapshot { $dashboard_dir:
18 source => "svn://svn.$domain/soft/dashboard/",
19 }
20
21 package { "php-cli":
22 ensure => 'installed',
23 }
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.30