Ensure that the machine is running the latest version of LCR.

This commit is contained in:
Ciaby 2015-09-18 23:08:05 +02:00
parent ebb90bd80a
commit ca482fc86e

View file

@ -12,8 +12,14 @@
#
class rhizo_base::lcr {
package { 'lcr':
ensure => installed,
ensure => latest,
require => Class['rhizo_base::apt'],
notify => Exec['restart-lcr'],
}
exec { 'restart-lcr':
command => '/usr/bin/sv restart lcr',
refreshonly => true,
}
service { 'lcr':