Ensure that the machine is running the latest version of LCR.
This commit is contained in:
parent
ebb90bd80a
commit
ca482fc86e
1 changed files with 7 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue