summaryrefslogtreecommitdiff
path: root/tests/puppet
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-07-16 18:19:58 +0200
committervarac <varacanero@zeromail.org>2016-07-16 19:59:05 +0200
commit3e36abee5e0b2a4017da473fae97eff281989115 (patch)
tree97be6e84c21f0dfb7c932456ed51778af0b17821 /tests/puppet
parentf31d974b33bf8ac760ae1ba56c583081f51f7bce (diff)
Add catalogtest node, remove single node
Diffstat (limited to 'tests/puppet')
-rw-r--r--tests/puppet/hiera.yaml2
-rw-r--r--tests/puppet/provider/nodes/catalogtest.json (renamed from tests/puppet/provider/nodes/single.json)5
-rw-r--r--tests/puppet/provider/tags/catalogtest.json1
3 files changed, 5 insertions, 3 deletions
diff --git a/tests/puppet/hiera.yaml b/tests/puppet/hiera.yaml
index 45a2549b..d4d0f670 100644
--- a/tests/puppet/hiera.yaml
+++ b/tests/puppet/hiera.yaml
@@ -9,7 +9,7 @@
:datadir: tests/puppet/provider/hiera
:hierarchy:
- - single
+ - catalogtest
:puppet:
:datasource: data
diff --git a/tests/puppet/provider/nodes/single.json b/tests/puppet/provider/nodes/catalogtest.json
index ca358cc5..4f86ac19 100644
--- a/tests/puppet/provider/nodes/single.json
+++ b/tests/puppet/provider/nodes/catalogtest.json
@@ -1,9 +1,10 @@
{
- "ip_address": "10.5.5.101",
+ "ip_address": "1.1.1.1",
"services": [
"couchdb",
"mx",
"soledad",
"webapp"
- ]
+ ],
+ "tags": ["catalogtest"]
}
diff --git a/tests/puppet/provider/tags/catalogtest.json b/tests/puppet/provider/tags/catalogtest.json
new file mode 100644
index 00000000..0967ef42
--- /dev/null
+++ b/tests/puppet/provider/tags/catalogtest.json
@@ -0,0 +1 @@
+{}