Move get_containers to all nodes
This commit is contained in:
parent
d760626e0b
commit
a4a9e492f5
3 changed files with 8 additions and 8 deletions
|
@ -89,6 +89,14 @@ define sunetdrive::app_type (
|
||||||
$expiration_months = max(12, $full_backup_retention)
|
$expiration_months = max(12, $full_backup_retention)
|
||||||
$expiration_days_min = $expiration_months * 31
|
$expiration_days_min = $expiration_months * 31
|
||||||
$expiration_days_max = $expiration_months * 31 + 93
|
$expiration_days_max = $expiration_months * 31 + 93
|
||||||
|
file { '/usr/local/bin/get_containers':
|
||||||
|
ensure => present,
|
||||||
|
force => true,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
content => template('sunetdrive/application/get_containers'),
|
||||||
|
mode => '0744',
|
||||||
|
}
|
||||||
|
|
||||||
unless $is_multinode{
|
unless $is_multinode{
|
||||||
user { 'www-data': ensure => present, system => true }
|
user { 'www-data': ensure => present, system => true }
|
||||||
|
|
|
@ -87,14 +87,6 @@ class sunetdrive::multinode (
|
||||||
content => template('sunetdrive/multinode/get_non_paying_customers.erb.sh'),
|
content => template('sunetdrive/multinode/get_non_paying_customers.erb.sh'),
|
||||||
mode => '0744',
|
mode => '0744',
|
||||||
}
|
}
|
||||||
file { '/usr/local/bin/get_containers':
|
|
||||||
ensure => present,
|
|
||||||
force => true,
|
|
||||||
owner => 'root',
|
|
||||||
group => 'root',
|
|
||||||
content => template('sunetdrive/multinode/get_containers'),
|
|
||||||
mode => '0744',
|
|
||||||
}
|
|
||||||
file { '/usr/local/bin/restart_and_prune':
|
file { '/usr/local/bin/restart_and_prune':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
force => true,
|
force => true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue