Add modelschema test
* Alligh run_tests.sh
disable system-wide salt env - it's
make no sense to test with non-isolated env.
Extend some logging
* Rename test pillar's
* fix test pillar
* fix auth_keys directory dependency
* fix linux.system test process
* fix known_host.sls - user actual user.name,instead of iterator one
Change-Id: I4a3a86e383136945433e7f33c37cf00b03ba1cdb
diff --git a/tests/pillar/server.sls b/tests/pillar/server.sls
new file mode 100644
index 0000000..ccfcbcb
--- /dev/null
+++ b/tests/pillar/server.sls
@@ -0,0 +1,33 @@
+linux:
+ system:
+ enabled: true
+ user:
+ testusername: &_user
+ enabled: true
+ name: testusername
+ sudo: true
+ uid: 9999
+ full_name: Test User
+ home: /home/testusername
+openssh:
+ server:
+ enabled: true
+ use_dns: yes
+ user:
+ testusername:
+ enabled: true
+ public_keys:
+ -
+ key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCts9Ry......... user@example.com"
+ -
+ key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAB667779Ry......... user@example.com"
+ # Include from linux.system.user structure
+ user: *_user
+ bind:
+ address: 0.0.0.0
+ port: 8000
+ force_command: /usr/bin/toilet
+ alive:
+ keep: no
+ interval: 600
+ # count: 3