Added Salt PKI setup, orchestration skeleton
diff --git a/tests/pillar/control_virt.sls b/tests/pillar/control_virt.sls
index 51255f6..e07319b 100644
--- a/tests/pillar/control_virt.sls
+++ b/tests/pillar/control_virt.sls
@@ -1,6 +1,8 @@
salt:
minion:
enabled: true
+ master:
+ host: config01.dc01.domain.com
control:
enabled: true
virt_enabled: true
@@ -8,15 +10,12 @@
small:
cpu: 1
ram: 1
- hdd: 10
medium:
cpu: 2
ram: 4
- hdd: 20
large:
cpu: 4
ram: 8
- hdd: 70
cluster:
vpc20_infra:
domain: neco.virt.domain.com
@@ -27,9 +26,9 @@
node:
ubuntu1:
provider: node01.domain.com
- image: "salt://ubuntu.qcow"
+ image: ubuntu.qcow
size: medium
ubuntu2:
provider: node02.domain.com
- image: "http://ubuntu.com"
- size: small
+ image: bubuntu.qcomw
+ size: small
\ No newline at end of file
diff --git a/tests/pillar/minion_pki_ca.sls b/tests/pillar/minion_pki_ca.sls
new file mode 100644
index 0000000..8bbd952
--- /dev/null
+++ b/tests/pillar/minion_pki_ca.sls
@@ -0,0 +1,12 @@
+salt:
+ minion:
+ enabled: true
+ ca:
+ vagrant:
+ common_name: Test CA
+ country: Czech
+ state: Prague
+ locality: Zizkov
+ days_valid:
+ authority: 3650
+ certificate: 90
diff --git a/tests/pillar/minion_pki_cert.sls b/tests/pillar/minion_pki_cert.sls
new file mode 100644
index 0000000..13f7515
--- /dev/null
+++ b/tests/pillar/minion_pki_cert.sls
@@ -0,0 +1,7 @@
+salt:
+ minion:
+ enabled: true
+ cert:
+ test_service:
+ authority: Company CA
+ common_name: test.service.domain.tld
\ No newline at end of file