Skip to content
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 cluster module #224

Merged
merged 29 commits into from
May 15, 2024
Merged

Commits on May 8, 2024

  1. Cluster Module Updates

    Signed-off-by: rsuplina <rsuplina@cloudera.com>
    rsuplina authored and wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    e5218b9 View commit details
    Browse the repository at this point in the history
  2. Remove cm_cluster

    Signed-off-by: rsuplina <rsuplina@cloudera.com>
    rsuplina authored and wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    86f778f View commit details
    Browse the repository at this point in the history
  3. Rename cm_cluster_info to cluster_info

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    5247710 View commit details
    Browse the repository at this point in the history
  4. Add state parameter

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    c76fdaa View commit details
    Browse the repository at this point in the history
  5. Add module defaults groups for general Cloudera Manager access and cl…

    …uster
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    bdc72b8 View commit details
    Browse the repository at this point in the history
  6. Update to create services on new cluster

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    511a8f9 View commit details
    Browse the repository at this point in the history
  7. Add hosts, host templates, and direct role group assignments to clust…

    …er creation.
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    6a9decc View commit details
    Browse the repository at this point in the history
  8. Add tests for base config, service, role groups, host template, and d…

    …irect role
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    2c96301 View commit details
    Browse the repository at this point in the history
  9. Add YAML args fixture

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    a0a5826 View commit details
    Browse the repository at this point in the history
  10. Fix cm-client Python dependency

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    f760017 View commit details
    Browse the repository at this point in the history
  11. Add Google Analytics tag for API documentation

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    439fa91 View commit details
    Browse the repository at this point in the history
  12. Refactor parcel management logic into shared utility class

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    cde7014 View commit details
    Browse the repository at this point in the history
  13. Add parcel activation for new cluster and reorder operations

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    e80ad55 View commit details
    Browse the repository at this point in the history
  14. Formatting for parcel module

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    d40acb8 View commit details
    Browse the repository at this point in the history
  15. Refactor Parcel class to use class instance for stage

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    186015a View commit details
    Browse the repository at this point in the history
  16. Update integration test for host template assignment

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 8, 2024
    Configuration menu
    Copy the full SHA
    dc076ff View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Remove commented code

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    3ebfed5 View commit details
    Browse the repository at this point in the history
  2. Add Parcel and create parse_parcel_result()

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    b2fddd1 View commit details
    Browse the repository at this point in the history
  3. Update to use Parcel class in module_utils

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    91fb3be View commit details
    Browse the repository at this point in the history
  4. Remove extraneous import

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    fc76d23 View commit details
    Browse the repository at this point in the history
  5. Parameterize parcel test inputs

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    90d2f59 View commit details
    Browse the repository at this point in the history
  6. Add initial pre-commit configuration, including black linter for Pyth…

    …on files
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    91f3886 View commit details
    Browse the repository at this point in the history
  7. Comment out duplicate (and unused/invalid) 'when' keys found by pre-c…

    …ommit linting
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    6e8b410 View commit details
    Browse the repository at this point in the history
  8. Comment out duplicate 'endpoint' path for updating Capacity Scheduler…

    … configuratoin found by pre-commit linting
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    9e0bb71 View commit details
    Browse the repository at this point in the history
  9. Update collection from initial pre-commit formatting for YAML and whi…

    …tespace/EOL rules and Python black linting
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    ef11f91 View commit details
    Browse the repository at this point in the history
  10. Add pre-commit GitHub Action

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 9, 2024
    Configuration menu
    Copy the full SHA
    0fefdea View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Add role overrides for cluster creation

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 10, 2024
    Configuration menu
    Copy the full SHA
    5aee9fa View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Allow base role group discovery

    Allow role group direct assignment to hosts
    Add mutually_exclusive configs to various suboptions in argument_spec
    
    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 14, 2024
    Configuration menu
    Copy the full SHA
    a04111d View commit details
    Browse the repository at this point in the history
  2. Add full example of a basic cluster to tests

    Signed-off-by: Webster Mudge <wmudge@cloudera.com>
    wmudge committed May 14, 2024
    Configuration menu
    Copy the full SHA
    0d25b54 View commit details
    Browse the repository at this point in the history