Commit 961eb46
committed
ipasudorule: Use common function to convert hostnames
This patch moves the function used to ensure that hostnames used in
ipasurule are FQDN and unique to module_utils, so it can be used by
other modules than require the same behavior for a hostaname parameter.
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>1 parent ede4b28 commit 961eb46
2 files changed
Lines changed: 18 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
592 | 606 | | |
593 | 607 | | |
594 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
| |||
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | 506 | | |
519 | 507 | | |
520 | 508 | | |
| |||
596 | 584 | | |
597 | 585 | | |
598 | 586 | | |
599 | | - | |
| 587 | + | |
600 | 588 | | |
601 | 589 | | |
602 | 590 | | |
| |||
0 commit comments