add two main manifests for rubbos suite 25/12225/1
authorwangyaoguang <sunshine.wang@huawei.com>
Wed, 13 Apr 2016 09:26:36 +0000 (17:26 +0800)
committerwangyaoguang <sunshine.wang@huawei.com>
Wed, 13 Apr 2016 09:28:37 +0000 (17:28 +0800)
JIRA: BOTTLENECK-49

Change-Id: I9be6800d137694e9063b5584a7b2a6d70ae22eb6
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
testsuites/rubbos/puppet_manifests/site_off.pp [new file with mode: 0644]
testsuites/rubbos/puppet_manifests/site_on.pp [new file with mode: 0644]

diff --git a/testsuites/rubbos/puppet_manifests/site_off.pp b/testsuites/rubbos/puppet_manifests/site_off.pp
new file mode 100644 (file)
index 0000000..05663eb
--- /dev/null
@@ -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 (file)
index 0000000..edec33c
--- /dev/null
@@ -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
+}