summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/salt_minion.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/testcases/modules/salt_minion.yaml')
-rw-r--r--tests/cloud_tests/testcases/modules/salt_minion.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/modules/salt_minion.yaml b/tests/cloud_tests/testcases/modules/salt_minion.yaml
index f20d24f0..ab0e05bb 100644
--- a/tests/cloud_tests/testcases/modules/salt_minion.yaml
+++ b/tests/cloud_tests/testcases/modules/salt_minion.yaml
@@ -17,6 +17,8 @@ cloud_config: |
------BEGIN PRIVATE KEY------
<key data>
------END PRIVATE KEY-------
+ grains:
+ role: web
collect_scripts:
minion: |
#!/bin/bash
@@ -30,5 +32,8 @@ collect_scripts:
minion.pub: |
#!/bin/bash
cat /etc/salt/pki/minion/minion.pub
+ grains: |
+ #!/bin/bash
+ cat /etc/salt/grains
# vi: ts=4 expandtab