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

Refactor out grub config to profile file #76

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

markdchurchill
Copy link
Member

See #17, #74, etc.

This pulls the canonical locations for the grub.cfg file into one spot so we aren't chasing our tail in multiple controls. Not sure if the pattern is appropriate, I'm not an ops/inspec guy.

controls/1_4_secure_boot_settings.rb Outdated Show resolved Hide resolved
@markdchurchill markdchurchill force-pushed the grub-location-refactor branch 3 times, most recently from b2da0ed to 69ec3e7 Compare April 6, 2020 01:44
@markdchurchill
Copy link
Member Author

@chris-rock those minor whitespace issues are fixed on the #77 pr. not sure how they got into master 🤷‍♂️

@chris-rock
Copy link
Member

@markdchurchill Can you rebase on latest master?

class GrubConf < Inspec.resource(1)
name 'grub_conf'

def locations
Copy link
Member

Choose a reason for hiding this comment

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

🎉 Thank you for moving the config to the resource!

Copy link
Member Author

Choose a reason for hiding this comment

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

Done :)

Signed-off-by: Mark Churchill <markdchurchill@outlook.com>
@markdchurchill
Copy link
Member Author

@markdchurchill Can you rebase on latest master?

Ooops, I mean done here.

Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

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

Great work @markdchurchill

@chris-rock chris-rock merged commit a74b90d into dev-sec:master Apr 6, 2020
@markdchurchill markdchurchill deleted the grub-location-refactor branch April 7, 2020 00:08
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.

2 participants