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

Diff of /puppet/modules/buildsystem/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1858 by misc, Sat Jul 16 12:55:08 2011 UTC revision 1859 by misc, Tue Jul 19 22:32:05 2011 UTC
# Line 154  class buildsystem { Line 154  class buildsystem {
154          $maintdb_dbdir = "$maintdb_homedir/db"          $maintdb_dbdir = "$maintdb_homedir/db"
155          $maintdb_binpath = "/usr/local/sbin/maintdb"          $maintdb_binpath = "/usr/local/sbin/maintdb"
156          $maintdb_wrappath = "/usr/local/bin/wrapper.maintdb"          $maintdb_wrappath = "/usr/local/bin/wrapper.maintdb"
157            $maintdb_dump = "/var/www/bs/data/maintdb.txt"
158    
159          user {"$maintdb_login":          user {"$maintdb_login":
160              ensure => present,              ensure => present,
# Line 191  class buildsystem { Line 192  class buildsystem {
192              content => template("buildsystem/sudoers.maintdb")              content => template("buildsystem/sudoers.maintdb")
193          }          }
194    
195            file { "$maintdb_dump":
196               ensure => present,
197               owner => $maintdb_login,
198               mode => 644,
199            }
200    
201          cron { "update maintdb export":          cron { "update maintdb export":
202              user => $maintdb_login,              user => $maintdb_login,
203              command => "$maintdb_binpath root get > /var/www/bs/data/maintdb.txt",              command => "$maintdb_binpath root get > $maintdb_dump",
204              minute => "*/30",              minute => "*/30",
205          }          }
206    

Legend:
Removed from v.1858  
changed lines
  Added in v.1859

  ViewVC Help
Powered by ViewVC 1.1.30