Added etcd wrapper recipe
- This recipe implements a basic etcd installation for shared oslo configs. A wrapper recipe is needed for instantiation, as etcd is a pure library cookbook. Change-Id: Id2f934a9fc408276cb0a25afc2f65ec5f5c54c15
This commit is contained in:
parent
ea0f371412
commit
65bdf0e152
|
@ -16,6 +16,7 @@ end
|
|||
|
||||
depends 'apt', '~> 5.0'
|
||||
depends 'database', '~> 6.1'
|
||||
depends 'etcd', '~> 3.0'
|
||||
depends 'mariadb', '~> 1.5'
|
||||
depends 'mysql', '~> 8.2'
|
||||
depends 'yum', '~> 3.13'
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
# encoding: UTF-8
|
||||
#
|
||||
# Cookbook Name:: openstack-common
|
||||
# library:: etcd
|
||||
#
|
||||
# Copyright 2017, Workday 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.
|
||||
#
|
||||
|
||||
# create a new etcd installation named 'openstack'
|
||||
etcd_service 'openstack' do
|
||||
action [:create, :start]
|
||||
end
|
Loading…
Reference in New Issue