-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 #12878] Extend attributes fct to parse connected strings #136
Comments
Updated by lbetz on 2016-10-11 13:18:53 +00:00
... and own attributes of the object are also considered. |
Updated by lbetz on 2016-10-11 13:25:40 +00:00
Add globals are unquoted. Write a fact for the result of icinga2 console -e 'var res = []; for (k => v in globals) { res.add(k) }; res' |
Updated by lbetz on 2016-10-12 11:23:59 +00:00
|
Updated by Reamer on 2016-10-12 18:03:35 +00:00 Why do we need extra facts? We have an other problem with this additional facts. The first availability of the constants are with the second run, because icinga isn't installed at the first run and therefore we doesn't have any constant facts. Probably the icinga process will fail to start when puppet triggers the service, because of configuration failures. If I am wrong let me know. Greetings Reamer |
Updated by lbetz on 2016-10-13 03:39:42 +00:00
Arrrrg, your right with the problem of the second run... then we have to put in the code in the params class. At least constants like SysconfDir, ... |
Updated by lbetz on 2016-10-13 04:08:40 +00:00
Remove the fact and put globals as array in params class. |
Updated by lbetz on 2016-10-13 13:34:31 +00:00 merged. |
Updated by lbetz on 2016-10-21 17:05:44 +00:00
|
Updated by lbetz on 2016-10-21 17:06:02 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12878
Created by lbetz on 2016-10-10 02:14:12 +00:00
Assignee: lbetz
Status: Closed (closed on 2016-10-21 17:06:02 +00:00)
Target Version: v0.6.0
Last Update: 2016-10-21 17:06:02 +00:00 (in Redmine)
The attributes function should parse for connected string like:
'ConfigDir + /pki/ + NodeName + .key'
where ConfigDir and NodeName are constants and /pki/ and .key strings. The result should be
ConfigDir + "/pki/" + NodeName + ".key"
The text was updated successfully, but these errors were encountered: