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

WIP: support multiple addresses for network interfaces #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schrd
Copy link

@schrd schrd commented Aug 13, 2018

The idea is to use the kind_of attribute of a property to differentiate between
properties that need array values to be joined by " " and properties that need
to be written multiple times in the unit file

This patch is meant to be backwards compatible for other properties.

However, a better approach would be to do it the other way around and to introduce a class JoinedArray and then to do the " " join in options_value only for those properties that include the JoinedArray in their kind_of attribute

If you like the idea, let me know and I will do it that way.

the idea is to use the kind_of attribute of a property to differentiate between
properties that need array values to be joined by " " and propertties that need
to be written multiple times in the unit file
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.

1 participant