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

SVCPLAN-6686: Add support for AD createhost functionality #25

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

billglick
Copy link
Member

@billglick billglick commented Dec 4, 2024

This has been tested on cc-test[01-03].

For more details on this, see: https://wiki.ncsa.illinois.edu/display/ICI/AD%2C+Automated+Linux+Computer+Add+and+Join+Domain

Fix #19

@billglick billglick requested review from bsper2 and a team December 4, 2024 21:17
@billglick billglick self-assigned this Dec 4, 2024
@billglick billglick force-pushed the wglick/SVCPLAN-6686/ad_createhost_prinicpal branch 2 times, most recently from 5dadc46 to 6726ca7 Compare December 4, 2024 22:30
manifests/kerberos.pp Outdated Show resolved Hide resolved
@billglick billglick force-pushed the wglick/SVCPLAN-6686/ad_createhost_prinicpal branch 3 times, most recently from c4946c1 to f02d3cc Compare December 6, 2024 18:46
manifests/kerberos.pp Outdated Show resolved Hide resolved
@billglick billglick force-pushed the wglick/SVCPLAN-6686/ad_createhost_prinicpal branch from d1f9e2b to 206fa0b Compare December 16, 2024 22:44
@billglick
Copy link
Member Author

This has been retested on ICCPv4. Specifically cc-sched & cc-test06, but actually all ICCPv4 are currently using these changes.

@billglick billglick requested a review from bsper2 December 16, 2024 22:46
@billglick billglick force-pushed the wglick/SVCPLAN-6686/ad_createhost_prinicpal branch from 836a6f7 to 5462693 Compare December 16, 2024 22:49
Comment on lines 99 to 124
# KERBEROS HOST PRINCIPAL CREATION
if ( $createhostkeytab and $createhostuser ) {
# CREATE KEYS AND SETUP RENEWAL
file { '/root/createhostkeytab.sh':
ensure => file,
mode => '0700',
mode => '0500',
source => "puppet:///modules/${module_name}/root/createhostkeytab.sh",
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we go ahead and change the NCSA kerberos host principal creation process to follow similar logic as the AD join and keytab creation? The idea being to change the script to have parameters that are passed in, better clean up after itself, etc.

Copy link
Member Author

@billglick billglick Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has also been updated now and has been tested on cc-pup01 & cc-log01.

I left these changes as a 2nd unique commit in case we decide to revert them.

@billglick billglick force-pushed the wglick/SVCPLAN-6686/ad_createhost_prinicpal branch from e4bddd4 to 9eecfd8 Compare December 17, 2024 16:11
@billglick billglick force-pushed the wglick/SVCPLAN-6686/ad_createhost_prinicpal branch from 7e7811b to d97d53c Compare December 17, 2024 16:20
Copy link
Member

@bsper2 bsper2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@billglick billglick merged commit ba0bc7c into main Dec 23, 2024
4 checks passed
@billglick billglick deleted the wglick/SVCPLAN-6686/ad_createhost_prinicpal branch December 23, 2024 22:09
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.

Remove createhostkeytab.sh script once used
2 participants