-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Import_cluster_template module #197
Add Import_cluster_template module #197
Conversation
Signed-off-by: rsuplina <[email protected]>
Signed-off-by: rsuplina <[email protected]>
|
||
except FileNotFoundError: | ||
self.cm_cluster_template_output = (f"Error: File '{self.template}' not found.") | ||
self.file_not_found = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please call self.module.fail_json
here rather than in line 180
|
||
DOCUMENTATION = r""" | ||
--- | ||
module: cm_import_cluster_template |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be simply cluster
-- importing a cluster template is just one function of this module. The initial implementation can only include this functionality, but going forward, we should then add reconciliation and update logic. (This will be calls to PUT /clusters/{clusterName}
.)
Signed-off-by: rsuplina <[email protected]>
Add pytest resources. Add unit tests for assemble_cluster_template module Signed-off-by: Webster Mudge <[email protected]>
…ge functions Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Short-circuit merger for initial fragment. Signed-off-by: Webster Mudge <[email protected]>
Add 'regex' alias. Update API docs. Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Relocate merge logic and update processing flow
Signed-off-by: rsuplina <[email protected]>
@@ -50,22 +50,29 @@ | |||
type: bool | |||
required: False | |||
default: False | |||
clusterName: | |||
description: | |||
- Name of Cloudera Manager Cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just "Name of cluster"
No description provided.