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:
Ciaby 2015-07-13 20:27:41 +02:00
parent e4f455e842
commit ba20ef24c7
2 changed files with 162 additions and 0 deletions

View file

@ -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,
}
}