From 3e36abee5e0b2a4017da473fae97eff281989115 Mon Sep 17 00:00:00 2001 From: varac Date: Sat, 16 Jul 2016 18:19:58 +0200 Subject: Add catalogtest node, remove single node --- tests/puppet/hiera.yaml | 2 +- tests/puppet/provider/nodes/catalogtest.json | 10 ++++++++++ tests/puppet/provider/nodes/single.json | 9 --------- tests/puppet/provider/tags/catalogtest.json | 1 + 4 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 tests/puppet/provider/nodes/catalogtest.json delete mode 100644 tests/puppet/provider/nodes/single.json create mode 100644 tests/puppet/provider/tags/catalogtest.json (limited to 'tests') 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/catalogtest.json b/tests/puppet/provider/nodes/catalogtest.json new file mode 100644 index 00000000..4f86ac19 --- /dev/null +++ b/tests/puppet/provider/nodes/catalogtest.json @@ -0,0 +1,10 @@ +{ + "ip_address": "1.1.1.1", + "services": [ + "couchdb", + "mx", + "soledad", + "webapp" + ], + "tags": ["catalogtest"] +} diff --git a/tests/puppet/provider/nodes/single.json b/tests/puppet/provider/nodes/single.json deleted file mode 100644 index ca358cc5..00000000 --- a/tests/puppet/provider/nodes/single.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ip_address": "10.5.5.101", - "services": [ - "couchdb", - "mx", - "soledad", - "webapp" - ] -} 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 @@ +{} -- cgit v1.2.3