Deprecate oslo_config resource

... because /etc/oslo/oslo.conf has never been actually used.

Change-Id: Ib327d97b13877b5ce2651e5a4f15b9d11c939000
This commit is contained in:
Takashi Kajinami 2020-05-04 14:39:35 +09:00
parent b8d2c4c326
commit 6cd2bc408d
2 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,11 @@ Puppet::Type.type(:oslo_config).provide(
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting) :parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
) do ) do
def create
super
warning('oslo_config is deprecated, and will be removed in a future release')
end
def self.file_path def self.file_path
'/etc/oslo/oslo.conf' '/etc/oslo/oslo.conf'
end end

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``oslo_config`` resource has been deprecated and will be removed in a
future release.