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

added possibility to config storage defined types via hiera #64

Merged

Conversation

benibr
Copy link
Contributor

@benibr benibr commented Sep 23, 2020

This is similar to #54 and #38

Since defined types cannot be configured via hiera, I added hashes to the main storage class which elements will be fed to the corresponding resources.

@benibr benibr force-pushed the feature/storage_hiera_configurable branch from 76b687f to fa4ede7 Compare September 23, 2020 11:30
@benibr benibr force-pushed the feature/storage_hiera_configurable branch from fa4ede7 to e6511fd Compare September 23, 2020 11:33
@benibr benibr force-pushed the feature/storage_hiera_configurable branch from a08012c to 2e2e566 Compare September 23, 2020 12:11
@benibr
Copy link
Contributor Author

benibr commented Sep 23, 2020

added working rspec tests for all hashes

@bastelfreak
Copy link
Member

thanks for the PR!

@bastelfreak bastelfreak merged commit 059e28f into voxpupuli:master Sep 24, 2020
Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

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

?

end

# context 'with ndmps => { test: { username => "test", password => "foobar" }}}' do
# let(:params) do
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@igalic Irgs, forgot that during testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added a fix PR #67

@igalic
Copy link
Contributor

igalic commented Sep 28, 2020

i'm not happy that this was merged with 5 commits four of which could have been squashed, and a block of commented out tests.

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.

3 participants