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

puppet::config ini_subsetting 'puppet sysconfig logdest' subsettings_delimeter #161

Open
kokovikhinkv opened this issue Aug 2, 2017 · 1 comment

Comments

@kokovikhinkv
Copy link

Resource puppet::config ini_subsetting 'puppet sysconfig logdest' generates ${sysconfigdir}/puppet with string without delimeter:

DAEMON_OPTS="--logdest/var/log/puppet/puppet.log"

Puppet agent can't parse option:

/usr/bin/ruby /usr/bin/puppet agent --no-daemonize --logdest/var/log/puppet/puppet.log
Error: Could not parse application options: invalid option: --logdest/var/log/puppet/puppet.log

Adding subsetting_key_val_separator can fix issue

  ini_subsetting { 'puppet sysconfig logdest':

    subsetting_key_val_separator => ' ',

  }
@rendhalver
Copy link
Member

I would be happy to accept a PR.
I don't have a lot of time to fix it right now but will get to it when I can.

kokovikhinkv pushed a commit to kokovikhinkv/abstractit-puppet that referenced this issue Aug 2, 2017
ini_subsetting 'puppet sysconfig logdest' resource generates puppet
daemon option --logdest$logdest without delimeter
kokovikhinkv added a commit to kokovikhinkv/abstractit-puppet that referenced this issue Aug 2, 2017
ini_subsetting 'puppet sysconfig logdest' resource generates puppet
daemon option --logdest$logdest without delimeter
kokovikhinkv added a commit to kokovikhinkv/abstractit-puppet that referenced this issue Aug 2, 2017
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

No branches or pull requests

2 participants