| Class |
- {{ service["class_name"] }} |
+ {{ application["class_name"] }} |
| Documentation |
- {% for url in service["doc_urls"] %}
+ {% for url in application["doc_urls"] %}
- {{url}}
{% endfor %}
@@ -20,14 +20,14 @@
|
| Downtime impact |
- {{ service["downtime_impact"] | unundef }} |
+ {{ application["downtime_impact"] | unundef }} |
| End users |
- {% if service["end_users"] != ":undef" %}
+ {% if application["end_users"] != ":undef" %}
- {% for email in service["end_users"] %}
+ {% for email in application["end_users"] %}
- {{email}}
{% endfor %}
@@ -36,14 +36,14 @@
|
| Escalation period |
- {{ service["escalation_period"] | unundef }} |
+ {{ application["escalation_period"] | unundef }} |
| Notes |
- {% if service["notes"] %}
- {{ service["notes"] | unundef | markdown }}
+ {% if application["notes"] %}
+ {{ application["notes"] | unundef | markdown }}
{% endif %}
|
@@ -52,7 +52,7 @@
Other FQDNs |
- {% for fqdn in service["other_fqdns"] %}
+ {% for fqdn in application["other_fqdns"] %}
- {{ fqdn }}
{% endfor %}
@@ -60,17 +60,17 @@
|
| Owner |
- {{ service["owner_uid"] | unundef }} |
+ {{ application["owner_uid"] | unundef }} |
| Team |
- {{ service["team"] | unundef }} |
+ {{ application["team"] | unundef }} |
| Nodes |
- {% for node in service["nodes"] | sort(attribute='facts.fqdn') %}
+ {% for node in application["nodes"] | sort(attribute='facts.fqdn') %}
- {{ node["facts"]["fqdn"] }}
{% endfor %}
diff --git a/infinitory/templates/services.html b/infinitory/templates/applications.html
similarity index 53%
rename from infinitory/templates/services.html
rename to infinitory/templates/applications.html
index 59f8511..e29a40a 100644
--- a/infinitory/templates/services.html
+++ b/infinitory/templates/applications.html
@@ -1,23 +1,23 @@
{% extends "layout.html" %}
-{% block title %}Service inventory{% endblock %}
+{% block title %}Application inventory{% endblock %}
{% block body %}
- Service inventory
+ Application inventory
- | Service |
+ Application |
Nodes |
- {% for service in services %}
-
+ {% for application in applications %}
+
|
- {{ service["human_name"] }}
+ {{ application["human_name"] }}
|
- {% for node in service["nodes"] | sort(attribute="facts.fqdn") %}
+ {% for node in application["nodes"] | sort(attribute="facts.fqdn") %}
- {{ node["facts"]["fqdn"] }}
{% endfor %}
diff --git a/infinitory/templates/home.html b/infinitory/templates/home.html
index f65ba0a..89dc8b2 100644
--- a/infinitory/templates/home.html
+++ b/infinitory/templates/home.html
@@ -5,6 +5,6 @@
{% endblock %}
diff --git a/infinitory/templates/layout.html b/infinitory/templates/layout.html
index 23df35f..d1527c6 100644
--- a/infinitory/templates/layout.html
+++ b/infinitory/templates/layout.html
@@ -15,7 +15,7 @@
∞
Nodes
Roles
- Services
+ Applications
| |