summaryrefslogtreecommitdiffstats
path: root/testsuites/rubbos
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/rubbos')
-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
+}