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
Labels
area/configuration DSL, parser, compiler, error handling blocker Blocks a release or needs immediate attention enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

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
Copy link
Author

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.

@icinga-migration icinga-migration added blocker Blocks a release or needs immediate attention enhancement New feature or request area/configuration DSL, parser, compiler, error handling labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 0.0.10 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling blocker Blocks a release or needs immediate attention enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant