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

Attribute vars of object type service can be also a string #473

Closed
lbetz opened this issue Sep 13, 2018 · 0 comments
Closed

Attribute vars of object type service can be also a string #473

lbetz opened this issue Sep 13, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@lbetz
Copy link
Contributor

lbetz commented Sep 13, 2018

Error: Evaluation Error: Error while evaluating a Resource Statement, Icinga2::Object::Service[http]: parameter 'vars' expects a value of type Undef or Hash, got String at /root/puppetcode/modules/icinga2/examples/example_config.pp:97 on node centos7.localdomain

::icinga2::object::service { 'http':
target => '/etc/icinga2/example.d/services.conf',
apply => 'vhost => config in host.vars.http_vhosts',
import => [ 'generic-service' ],
check_command => 'http',
vars => 'vars + config',
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant