Skip to content

Conversation

@dreambeyondorange
Copy link
Contributor

@dreambeyondorange dreambeyondorange commented Jan 22, 2024

…is set to local

Refactored the cookbook to use an attribute for the default user's home directory so that it can be
changed when using the new config option. Also simplified the users attribute file since the exta OS
specific files were not adding any value and duplicating code.

Tests

  • Tested the changes manually with different clusters using both Shared and Local options.

References

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a39e96a) 76.37% compared to head (0831877) 76.37%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2620   +/-   ##
========================================
  Coverage    76.37%   76.37%           
========================================
  Files           22       22           
  Lines         2248     2248           
========================================
  Hits          1717     1717           
  Misses         531      531           
Flag Coverage Δ
unittests 76.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dreambeyondorange dreambeyondorange force-pushed the relocate-home branch 3 times, most recently from 9d10319 to 3a9912f Compare January 22, 2024 17:23
@dreambeyondorange dreambeyondorange changed the title Move the cluster user out of /home when the default_user_home option … Move the cluster user out of /home when the DefaultUserHome (default_user_home) option … Jan 22, 2024
@dreambeyondorange dreambeyondorange changed the title Move the cluster user out of /home when the DefaultUserHome (default_user_home) option … Add the config option DeploymentSettings/DefaultUserHome to change the default user's home directory Feb 5, 2024
@dreambeyondorange dreambeyondorange changed the title Add the config option DeploymentSettings/DefaultUserHome to change the default user's home directory Process the config option DeploymentSettings/DefaultUserHome to change the default user's home directory Feb 5, 2024
@dreambeyondorange dreambeyondorange force-pushed the relocate-home branch 10 times, most recently from ec699c2 to 1c2cf37 Compare February 7, 2024 17:31
@dreambeyondorange dreambeyondorange force-pushed the relocate-home branch 4 times, most recently from 3336f87 to a36b49f Compare February 7, 2024 20:45
…e the cluster user out of /home when the default_user_home option is set to local

Refactored the cookbook to use an attribute for the default user's home directory so that it can be
changed when using the new config option.  Also simplified the users attribute file since the exta OS
specific files were not adding any value and duplicating code.
@dreambeyondorange dreambeyondorange enabled auto-merge (squash) February 12, 2024 18:32
@dreambeyondorange dreambeyondorange merged commit 747517b into aws:develop Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants