summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorwangyaoguang <sunshine.wang@huawei.com>2016-04-13 17:26:36 +0800
committerwangyaoguang <sunshine.wang@huawei.com>2016-04-13 17:28:37 +0800
commit5de5c4b51579b32096521ff98c9e95f68dd44581 (patch)
treee59e8e32417607f0d607c1a8fd49a19d609a6d14 /testsuites
parentdd7eae17aca39d609e28afd5fadf110c5e1e769e (diff)
add two main manifests for rubbos suite
JIRA: BOTTLENECK-49 Change-Id: I9be6800d137694e9063b5584a7b2a6d70ae22eb6 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/rubbos/puppet_manifests/site_off.pp35
-rw-r--r--testsuites/rubbos/puppet_manifests/site_on.pp39
2 files changed, 74 insertions, 0 deletions
diff --git a/testsuites/rubbos/puppet_manifests/site_off.pp b/testsuites/rubbos/puppet_manifests/site_off.pp
new file mode 100644
index 00000000..05663ebb
--- /dev/null
+++ b/testsuites/rubbos/puppet_manifests/site_off.pp
@@ -0,0 +1,35 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+node default { }
+
+# mysql node:
+node REPLACED_MYSQL_NODES {
+ include rubbos_mysql::rubbos_mysql_off
+ include rubbos_monitor::rubbos_monitor_off
+}
+
+# tomcat node:
+node REPLACED_TOMCAT_NODES {
+ include rubbos_tomcat::rubbos_tomcat_off
+ include rubbos_monitor::rubbos_monitor_off
+}
+
+# httpd node:
+node REPLACED_HTTPD_NODES {
+ include rubbos_httpd::rubbos_httpd_off
+ include rubbos_monitor::rubbos_monitor_off
+}
+
+# clients
+node REPLACED_CLIENT_NODES {
+ include rubbos_monitor::rubbos_monitor_off
+ include rubbos_client::rubbos_client_off
+}
diff --git a/testsuites/rubbos/puppet_manifests/site_on.pp b/testsuites/rubbos/puppet_manifests/site_on.pp
new file mode 100644
index 00000000..edec33cf
--- /dev/null
+++ b/testsuites/rubbos/puppet_manifests/site_on.pp
@@ -0,0 +1,39 @@
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+node default { }
+
+# mysql node:
+node REPLACED_MYSQL_NODES {
+ include rubbos_common::rubbos_common_on
+ include rubbos_mysql::rubbos_mysql_on
+ include rubbos_monitor::rubbos_monitor_on
+}
+
+# tomcat node:
+node REPLACED_TOMCAT_NODES {
+ include rubbos_common::rubbos_common_on
+ include rubbos_tomcat::rubbos_tomcat_on
+ include rubbos_monitor::rubbos_monitor_on
+}
+
+# httpd node:
+node REPLACED_HTTPD_NODES {
+ include rubbos_common::rubbos_common_on
+ include rubbos_httpd::rubbos_httpd_on
+ include rubbos_monitor::rubbos_monitor_on
+}
+
+# clients
+node REPLACED_CLIENT_NODES {
+ include rubbos_common::rubbos_common_on
+ include rubbos_monitor::rubbos_monitor_on
+ include rubbos_client::rubbos_client_on
+}