Add tests for the formula
Change-Id: Id84f6e68c40901e053418d1de8e472e6fb64d9f1
diff --git a/tests/pillar/client.sls b/tests/pillar/client.sls
new file mode 100644
index 0000000..31babdb
--- /dev/null
+++ b/tests/pillar/client.sls
@@ -0,0 +1,21 @@
+rundeck:
+ client:
+ enabled: true
+ project:
+ project0:
+ description: project
+ node:
+ node01:
+ nodename: node01
+ hostname: node01.cluster.local
+ username: runbook
+ tags: [ubuntu, docker]
+ node02:
+ nodename: node02
+ hostname: node02.cluster.local
+ username: runbook
+ tags: [centos, docker]
+ plugin:
+ import:
+ address: http://gerrit.cluster.local/jobs/rundeck-jobs.git
+ branch: master
diff --git a/tests/pillar/server.sls b/tests/pillar/server.sls
new file mode 100644
index 0000000..459a9cc
--- /dev/null
+++ b/tests/pillar/server.sls
@@ -0,0 +1,44 @@
+rundeck:
+ server:
+ enabled: true
+ user:
+ uid: 550
+ gid: 550
+ api:
+ host: 10.20.0.2
+ port: 4440
+ https: false
+ ssh:
+ user: runbook
+ private_key: private
+ public_key: public
+ users:
+ admin:
+ name: admin
+ password: password
+ roles:
+ - user
+ - admin
+ - architect
+ - deploy
+ - build
+ john:
+ name: John
+ password: johnspassword
+ roles:
+ - user
+ - admin
+ - architect
+ - deploy
+ - build
+ kate:
+ name: Kate
+ password: katespassword
+ roles:
+ - user
+ - admin
+ - architect
+ - deploy
+ - build
+ tokens:
+ admin: EcK8zhQw