-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRAYSAT-1896: Validate playbook in validation method instead of schema
Instead of requiring that the playbook be present in the bootprep input file through the schema, validate it specifically when `sat` is configured to use the CFS v3 API, since the CFS v2 API does not require that CFS configuration layers have a playbook. This will allow people to continue using old bootprep input files that have CFS configuration layers that do not specify a playbook as long as they use CFS v2. This is slightly less disruptive than making a schema change. Test Description: Unit tests only so far.
- Loading branch information
1 parent
9e8be4f
commit d176c64
Showing
4 changed files
with
73 additions
and
34 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
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