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

allow bin_path overrides for custom redis installs #423

Merged
merged 1 commit into from
Oct 9, 2021

Conversation

aamerik
Copy link

@aamerik aamerik commented Oct 9, 2021

Allow overrides for binary path parameter, bin_path, to support custom redis builds and install paths.

describe 'with parameter: bin_path' do
let(:params) { { bin_path: '/usr/bin' } }

it { is_expected.to contain_file('/usr/bin').with_ensure('directory') }
Copy link
Member

Choose a reason for hiding this comment

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

This resource is not managed by this module (and I don't think it should). Can you please delete this test?

Copy link
Member

Choose a reason for hiding this comment

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

I suppose this test can be converted to test the systemd service file's ExecStart and ExecStop directives.

Copy link
Member

Choose a reason for hiding this comment

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

@aamerik please add the test I mentioned above, else someone may break that in the future.

Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

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

LGTM

@ghoneycutt ghoneycutt merged commit fb4db5f into voxpupuli:master Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants