Restart space after updating bird config instead of reloading
DEV-2509
This commit is contained in:
parent
dea80797db
commit
939030669a
4
yap
4
yap
@ -861,7 +861,7 @@ function aggregator_set_space_bird_config() {
|
|||||||
set_var_from_file "/aggregators/$aggregator/spaces/$space/bird_config" $file
|
set_var_from_file "/aggregators/$aggregator/spaces/$space/bird_config" $file
|
||||||
|
|
||||||
salt_update node-$aggregator ||:
|
salt_update node-$aggregator ||:
|
||||||
salt_exec node-$aggregator service.reload yap ||:
|
salt_exec node-$aggregator cmd.run "yap restart $space" ||:
|
||||||
|
|
||||||
aggregator_show $aggregator
|
aggregator_show $aggregator
|
||||||
}
|
}
|
||||||
@ -879,7 +879,7 @@ function aggregator_remove_space_bird_config() {
|
|||||||
del_var "/aggregators/$aggregator/spaces/$space/bird_config"
|
del_var "/aggregators/$aggregator/spaces/$space/bird_config"
|
||||||
|
|
||||||
salt_update node-$aggregator ||:
|
salt_update node-$aggregator ||:
|
||||||
salt_exec node-$aggregator service.reload yap ||:
|
salt_exec node-$aggregator cmd.run "yap restart $space" ||:
|
||||||
|
|
||||||
aggregator_show $aggregator
|
aggregator_show $aggregator
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user