Create group of resources for zabbix and mgmt vip
Change-Id: I15bd9d65f3730eead4c4816f7655c6f89977a886 Partial-Bug: #1478425
This commit is contained in:
parent
522bfcef03
commit
66e007426c
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# Copyright 2015 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
include plugin_zabbix_snmptrapd::primary_controller
|
|
@ -29,4 +29,7 @@ class plugin_zabbix_snmptrapd::params {
|
|||
}
|
||||
}
|
||||
|
||||
$zabbix_cs_name = 'p_zabbix-server'
|
||||
$vip_cs_name = 'vip__management'
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
#
|
||||
# Copyright 2015 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
class plugin_zabbix_snmptrapd::primary_controller {
|
||||
|
||||
include plugin_zabbix_snmptrapd::params
|
||||
|
||||
cs_group { 'g_zabbix':
|
||||
primitives => [$plugin_zabbix_snmptrapd::params::vip_cs_name, $plugin_zabbix_snmptrapd::params::zabbix_cs_name],
|
||||
}
|
||||
|
||||
}
|
|
@ -5,3 +5,10 @@
|
|||
puppet_manifest: puppet/manifests/controller.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 1200
|
||||
- role: ['primary-controller']
|
||||
stage: post_deployment/8115
|
||||
type: puppet
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/primary_controller.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
timeout: 1200
|
||||
|
|
Loading…
Reference in New Issue