Commit 46012fc
committed
task/install: extra_system_packages at the top level can be a list
Commit fc5a319 ("task/install: allow both list and dicts for
extra_system_packages") introduced a regression for job definitions
where extra_system_packages at the top level (i.e. on the install
task itself) is a list. For example
overrides:
install:
ceph:
flavor: default
sha1: b7d57fefbec68934ae5e6e7d7c48ac09182397a5
extra_system_packages:
- pv
produces AssertionError on
assert isinstance(b, dict)
in deep_merge() when it's called from _override_extra_system_packages().
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>1 parent 1968399 commit 46012fc
2 files changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
365 | 387 | | |
366 | 388 | | |
367 | 389 | | |
| |||
383 | 405 | | |
384 | 406 | | |
385 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
386 | 426 | | |
387 | 427 | | |
388 | 428 | | |
| |||
0 commit comments