Make more strict order between packet installation and related actions

like:
 * hotplug disabling
 * create interface config files

Change-Id: I4008be87926f9fec26332747a765a30b749f8cbc
Closes-bug: #1590875
This commit is contained in:
Sergey Vasilenko 2016-07-13 17:12:27 +03:00
parent e283b62750
commit d7b3fa8989
1 changed files with 2 additions and 0 deletions

View File

@ -148,12 +148,14 @@ class l23network (
disable_hotplug { 'global':
ensure => 'present',
}
Anchor['l23network::l2::init'] -> Disable_hotplug['global']
Disable_hotplug['global'] -> Anchor['l23network::init']
enable_hotplug { 'global':
ensure => 'present',
}
Disable_hotplug['global'] -> Enable_hotplug['global']
Disable_hotplug['global'] -> L23_stored_config<||>
L2_port<||> -> Enable_hotplug['global']
L2_bridge<||> -> Enable_hotplug['global']
L2_bond<||> -> Enable_hotplug['global']