Commit a4e8406
Apply network configuration for Ubuntu18 at Chef converge time
The `reload_network_config` is a helper function that defines
for all OSes (but Ubuntu18) a `service` Chef resource that is executed at converge time.
For Ubuntu18 it was executed at compilation time because there was no a chef resource,
now by defining a `ruby_block` we're executing it a converge time like the other OSes.
Signed-off-by: Enrico Usai <[email protected]>1 parent 04fb07b commit a4e8406
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
264 | 268 | | |
265 | 269 | | |
266 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
0 commit comments