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

Support multiple exec statements #286

Closed
deric opened this issue Jul 4, 2015 · 1 comment
Closed

Support multiple exec statements #286

deric opened this issue Jul 4, 2015 · 1 comment

Comments

@deric
Copy link
Contributor

deric commented Jul 4, 2015

Current implementation does not support complete definition of exec plugin (from wiki):

<Plugin exec>
  Exec "myuser:mygroup" "myprog"
  Exec "otheruser" "/path/to/another/binary" "arg0" "arg1"
  NotificationExec "user" "/usr/lib/collectd/exec/handle_notification"
</Plugin>

Only one Exec statement could be defined.

Moreover there's a missing space between arguments (see line 6)

<% @exec.each do |exec| -%>"<%= exec %>"<% end -%>
deric added a commit to deric/puppet-module-collectd that referenced this issue Jul 4, 2015
deric added a commit to deric/puppet-module-collectd that referenced this issue Jul 5, 2015
deric added a commit to deric/puppet-module-collectd that referenced this issue Jul 22, 2015
@blkperl
Copy link
Member

blkperl commented Jul 27, 2015

This was merged in.

@blkperl blkperl closed this as completed Jul 27, 2015
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