linting
This commit is contained in:
@@ -12,27 +12,25 @@ class puppet::puppet-dashboard ($ensure = 'present') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apt::source { 'puppet-dashboard':
|
apt::source { 'puppet-dashboard':
|
||||||
|
ensure => 'absent',
|
||||||
key => '8347A27F',
|
key => '8347A27F',
|
||||||
location => 'http://apt.puppetlabs.com',
|
location => 'http://apt.puppetlabs.com',
|
||||||
repos => 'main',
|
repos => 'main',
|
||||||
ensure => 'absent',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cron { 'purge-reports':
|
cron { 'purge-reports':
|
||||||
|
ensure => $ensure,
|
||||||
command => 'cd /usr/share/puppet-dashboard && rake RAILS_ENV=production reports:prune upto=14 unit=day',
|
command => 'cd /usr/share/puppet-dashboard && rake RAILS_ENV=production reports:prune upto=14 unit=day',
|
||||||
user => 'www-data',
|
user => 'www-data',
|
||||||
hour => '23',
|
hour => '23',
|
||||||
minute => '2',
|
minute => '2',
|
||||||
monthday => '*/14',
|
monthday => '*/14';
|
||||||
|
'purge-optimizedb':
|
||||||
ensure => $ensure,
|
ensure => $ensure,
|
||||||
}
|
|
||||||
|
|
||||||
cron { 'purge-optimizedb':
|
|
||||||
command => 'cd /usr/share/puppet-dashboard && rake RAILS_ENV=production db:raw:optimize',
|
command => 'cd /usr/share/puppet-dashboard && rake RAILS_ENV=production db:raw:optimize',
|
||||||
user => 'www-data',
|
user => 'www-data',
|
||||||
hour => '23',
|
hour => '23',
|
||||||
minute => '20',
|
minute => '20',
|
||||||
monthday => '*/10',
|
monthday => '*/10',
|
||||||
ensure => $ensure,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user