From: wangyaoguang Date: Wed, 13 Apr 2016 09:26:36 +0000 (+0800) Subject: add two main manifests for rubbos suite X-Git-Tag: colorado.1.0~69 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=commitdiff_plain;h=5de5c4b51579b32096521ff98c9e95f68dd44581 add two main manifests for rubbos suite JIRA: BOTTLENECK-49 Change-Id: I9be6800d137694e9063b5584a7b2a6d70ae22eb6 Signed-off-by: wangyaoguang --- 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 +}