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

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

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

revision 1614 by boklm, Sun May 15 18:12:43 2011 UTC revision 1616 by boklm, Sun May 15 21:07:28 2011 UTC
# Line 3  class blog { Line 3  class blog {
3      class base {      class base {
4          $blog_location = "/var/www/vhosts/blog.$domain"          $blog_location = "/var/www/vhosts/blog.$domain"
5          $blog_domain = "blog.$domain"          $blog_domain = "blog.$domain"
6            $blog_db_backupdir = "/var/lib/backups/blog_db"
7            $blog_files_backupdir = "/var/lib/backups/blog_files"
8    
9          user { "blog":          user { "blog":
10          groups => apache,          groups => apache,
# Line 56  class blog { Line 58  class blog {
58          }          }
59      }      }
60      class db_backup inherits base {      class db_backup inherits base {
61          file { "/var/lib/blog/backup":          file { $blog_db_backupdir:
62                  ensure => directory,                  ensure => directory,
63                  owner => root,                  owner => root,
64                  group => root,                  group => root,
# Line 81  class blog { Line 83  class blog {
83          }          }
84      }      }
85      class files_backup inherits base {      class files_backup inherits base {
86          file { "/var/lib/blog/backup":          file { $blog_files_backupdir:
87                  ensure => directory,                  ensure => directory,
88                  owner => root,                  owner => root,
89                  group => root,                  group => root,

Legend:
Removed from v.1614  
changed lines
  Added in v.1616

  ViewVC Help
Powered by ViewVC 1.1.30