Added /var/rhizo_backups directory for backups
Added backups cron jobs
This commit is contained in:
parent
3c968f1beb
commit
fa9aee21cb
2 changed files with 22 additions and 2 deletions
|
@ -156,6 +156,22 @@ class rhizomatica_base_system {
|
|||
ensure => directory,
|
||||
}
|
||||
|
||||
file { '/var/rhizo_backups':
|
||||
ensure => directory,
|
||||
}
|
||||
|
||||
file { '/var/rhizo_backups/postgresql':
|
||||
ensure => directory,
|
||||
owner => 'postgres',
|
||||
group => 'postgres',
|
||||
require => File['/var/rhizo_backups'],
|
||||
}
|
||||
|
||||
file { '/var/rhizo_backups/sqlite':
|
||||
ensure => directory,
|
||||
require => File['/var/rhizo_backups'],
|
||||
}
|
||||
|
||||
package { 'git':
|
||||
ensure => present,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue