-
Notifications
You must be signed in to change notification settings - Fork 271
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
add plugin foreman_column_view #601
Conversation
52785ef
to
0c4472f
Compare
Thanks for the review! |
ac36f83
to
d318401
Compare
Thanks again! |
It does show up with |
Looking into it comes from https://github.com/theforeman/kafo/blob/master/lib/kafo/data_type.rb but there is a |
I opened https://projects.theforeman.org/issues/21398. Not sure how to easily proceed with this but maybe we can ignore the puppet class that includes it from linting or that particular test. |
Thanks for all the effort. |
I wonder if we should accept the PR now with a simple type check while we work on the kafo issue. |
I do not see a need to rush. Column_view is easily installed and configured manually, I just recognized it is the only one missing in the module and installer of those I commonly use. Also it will not make it into 1.16 if merged now, or will it? Furthermore kafo can not handle arrays of hashes, so it will only handle installation and not configuration. |
So the actual problem is https://github.com/theforeman/kafo/blob/93aaa70eff832fc6ccfbcbbf672f5cd775007420/lib/kafo/data_type_parser.rb#L5 which can't parse multi line types. A multi-line regex sounds like a bad idea so we probably need to find a better way. We can probably extract them using puppet-strings and cache them like we do with others. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workaround has been on my mind for a while, but I always forgot to comment it here
d318401
to
3d6cbe6
Compare
3d6cbe6
to
1d7996b
Compare
1d7996b
to
8c03c94
Compare
8c03c94
to
d33d67f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see if Travis agrees :)
d33d67f
to
79ed6d8
Compare
I had to adjust the checks because it needed a different string to match but Travis is green now! 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This PR adds support for the plugin foreman_column_view.
In my tests it worked fine, but there are some points I am not sure about:
Please let me know if something requires a change in the PR.