Compare commits
No commits in common. "master" and "0.1" have entirely different histories.
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::puppet::master
|
- roles::puppet::puppetmaster
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::puppetdb::api
|
- roles::puppet::puppetdb_api
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::puppetdb::sql
|
- roles::puppet::puppetdb_sql
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::puppetboard::server
|
- roles::puppet::puppetboard
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::dns::resolver
|
- roles::base
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::dns::resolver
|
- roles::base
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::ntp::server
|
- roles::base
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::ntp::server
|
- roles::base
|
||||||
environment: testing
|
environment: testing
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::storage::minio
|
- roles::ceph::osd
|
||||||
environment: testing
|
environment: testing
|
||||||
parameters:
|
|
||||||
minio_pool: pool1
|
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::storage::minio
|
- roles::ceph::osd
|
||||||
environment: testing
|
environment: testing
|
||||||
parameters:
|
|
||||||
minio_pool: pool1
|
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::storage::minio
|
- roles::ceph::osd
|
||||||
environment: testing
|
environment: testing
|
||||||
parameters:
|
|
||||||
minio_pool: pool1
|
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::storage::minio
|
- roles::ceph::osd
|
||||||
environment: testing
|
environment: testing
|
||||||
parameters:
|
|
||||||
minio_pool: pool1
|
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
classes:
|
classes:
|
||||||
- roles::infra::storage::minio
|
- roles::ceph::osd
|
||||||
environment: testing
|
environment: testing
|
||||||
parameters:
|
|
||||||
minio_pool: pool1
|
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::reposync::syncer
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::dns::master
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::dns::master
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::metrics::prometheus
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::metrics::prometheus
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::metrics::grafana
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::metrics::grafana
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::sql::galera
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::sql::galera
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::sql::galera
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::halb::haproxy
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::halb::haproxy
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::storage::consul
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::storage::consul
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::storage::consul
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::storage::vault
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::storage::vault
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::storage::vault
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::db::redis
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::db::redis
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::db::redis
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::engine
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::cobbler::server
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::dhcp::server
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::base
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- roles::infra::ovirt::node
|
|
||||||
environment: testing
|
|
||||||
4
enc.py
4
enc.py
@ -34,11 +34,11 @@ def main():
|
|||||||
|
|
||||||
# Add 'enc_role' parameter with classes data
|
# Add 'enc_role' parameter with classes data
|
||||||
if "classes" in data:
|
if "classes" in data:
|
||||||
data["parameters"]["enc_role"] = data["classes"][:]
|
data["parameters"]["enc_role"] = data["classes"]
|
||||||
|
|
||||||
# Copy the environment to the parameters, if it exists
|
# Copy the environment to the parameters, if it exists
|
||||||
if data.get("environment"):
|
if data.get("environment"):
|
||||||
data["parameters"]["enc_env"] = data["environment"][:]
|
data["parameters"]["enc_env"] = data["environment"]
|
||||||
|
|
||||||
# If the environment is 'testing', remove it
|
# If the environment is 'testing', remove it
|
||||||
if data.get("environment") == "testing":
|
if data.get("environment") == "testing":
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
classes:
|
|
||||||
- ROLE
|
|
||||||
environment: ENV
|
|
||||||
Loading…
Reference in New Issue
Block a user