Add a dependency to tinc from the riak init script
Trigger a run of insserv to recalculate the boot order
This commit is contained in:
parent
e4f455e842
commit
ba20ef24c7
2 changed files with 162 additions and 0 deletions
|
@ -69,4 +69,19 @@ class rhizo_base::riak {
|
|||
'storage_backend' => 'leveldb',
|
||||
}
|
||||
}
|
||||
file { '/etc/init.d/riak':
|
||||
ensure => file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
source => 'puppet:///modules/rhizo_base/etc/init.d/riak',
|
||||
require => Class['::riak'],
|
||||
notify => Exec['insserv'],
|
||||
}
|
||||
|
||||
exec { 'insserv':
|
||||
command => '/usr/lib/insserv/insserv',
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue