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 #12877] Define mandatory variable to host object #4722

Closed
icinga-migration opened this issue Oct 9, 2016 · 5 comments
Closed
Labels
area/configuration DSL, parser, compiler, error handling enhancement New feature or request

Comments

@icinga-migration
Copy link

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

Created by siyalrach on 2016-10-09 21:36:45 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-10-10 06:34:41 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

Does any one know how to define a mandatory variable to a host object.

I have a scenario where all our hosts must have a custom variable with their location added to the object, but how do I check if it is satisfied before a deployment?

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-10-10 06:34:41 +00:00

There's currently no way to enforce certain contraints for user-defined objects.

@icinga-migration icinga-migration added enhancement New feature or request area/itl Template Library CheckCommands labels Jan 17, 2017
@gunnarbeutner gunnarbeutner added area/configuration DSL, parser, compiler, error handling and removed area/itl Template Library CheckCommands labels Feb 7, 2017
@dnsmichi
Copy link
Contributor

dnsmichi commented Jun 9, 2017

That's a thing for #3520

@gunnarbeutner
Copy link
Contributor

PR #6030 would fix this.

@dnsmichi
Copy link
Contributor

dnsmichi commented Feb 2, 2018

That could also be a thing for "special" object types we've talked earlier this year @bobapple

@htriem
Copy link
Contributor

htriem commented Jan 22, 2020

There are no plans to implement this feature.

@htriem htriem closed this as completed Jan 22, 2020
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 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants