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

[dev.icinga.com #5959] allow to assign var values to existing vars evaluated on runtime #1433

Closed
icinga-migration opened this issue Apr 7, 2014 · 1 comment

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Apr 7, 2014

This issue has been migrated from Redmine: https://dev.icinga.com/issues/5959

Created by mfriedrich on 2014-04-07 16:16:18 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2014-04-08 11:37:26 +00:00)
Target Version: 0.0.10
Last Update: 2014-04-08 11:37:26 +00:00 (in Redmine)


object Host "keks" {
  import "generic-host"

  vars = {
    address = "$vars.my_customer_ip$"
    my_costumer_ip = "1.2.3.4"
    my_service_http_ip = "3.4.5.6"
  }
}

apply Service "schaschlik" {
  import "generic-service"
  vars.address = "$host.vars.my_service_http_ip$"

  assign where host.vars.my_service_http_ip
}

Changesets

2014-04-08 11:23:24 +00:00 by gbeutner 0fdb9ea

Implement attributes for some well-known macros and allow macro recursion.

Refs #5856
Fixes #5959

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 8, 2014

Updated by gbeutner on 2014-04-08 11:37:26 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 0fdb9ea.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.