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

When passing multiple groups to zabbix::agent::zbx_groups, groups are created for each character in alphabet #686

Open
KrzysztofHajdamowicz opened this issue Apr 27, 2020 · 0 comments

Comments

@KrzysztofHajdamowicz
Copy link
Contributor

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: Puppet 5.5.19
  • Ruby: delivered with Puppet (2.4)
  • Distribution: Centos 7
  • Module version: 8.0.0

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

  class { '::zabbix::agent':
    server           => $zabbix_url,
    zabbix_version   => '4.2',
    manage_resources => true,
    listenip         => 'eth0',
    agent_use_ip     => true,
    zbx_templates    => 'Our Template Linux',
    zbx_groups       => ['example.com', 'example.com-tests']
  }

What are you seeing

/Stage[main]/Zabbix::Resources::Web/Zabbix_host[test-1.dev.example.com]/groups: change from ['Linux servers', 'Test Group1', 'example.com'] to ['e', 'x', 'a', 'm', 'p', 'l', 'e', '.', 'c', 'o', 'm'] failed:

What behaviour did you expect instead

I expect to add host to Host Groups based on elements in array, not letters of elements of array

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

1 participant