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

template function print_recursive uses ';' instead of ',' #88

Open
trefzer opened this issue Nov 24, 2021 · 0 comments · May be fixed by #89
Open

template function print_recursive uses ';' instead of ',' #88

trefzer opened this issue Nov 24, 2021 · 0 comments · May be fixed by #89

Comments

@trefzer
Copy link
Contributor

trefzer commented Nov 24, 2021

Affected Puppet, Ruby, OS and module versions/distributions

all !

How to reproduce (e.g Puppet code you use)

set (in hiera):

prosody::custom_options:
  http_interfaces:
    - "127.0.0.1"
    - "::1"

What are you seeing

renders to (in prosody.cfg):

http_interfaces = { "127.0.0.1"; "::1" }

What behaviour did you expect instead

it should render to:

http_interfaces = { "127.0.0.1", "::1" }

Any additional information you'd like to impart

prosody.cfg is a lua code file. Arrays should be separated with ',' .See https://www.lua.org/pil/11.1.html

trefzer added a commit to cirrax/puppet-prosody that referenced this issue Nov 24, 2021
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 a pull request may close this issue.

1 participant