Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PE-36789) Fix target mismatch for updating pe.conf
Noticed that the get_pe_conf/update_pe_conf functions were expecting a target but $primary_target is actually an array. So I went ahead added specs covering the basic cases for upgrade and r10k_known_hosts. They aren't the best specs due to difficulties testing write_file, upload_file and out_message, but they at least validate that the plan completes with r10k_known_hosts set.
- Loading branch information
Showing
2 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters