diff --git a/lib/puppet/provider/oslo_config/ini_setting.rb b/lib/puppet/provider/oslo_config/ini_setting.rb index 40a6b37..9661eea 100644 --- a/lib/puppet/provider/oslo_config/ini_setting.rb +++ b/lib/puppet/provider/oslo_config/ini_setting.rb @@ -3,6 +3,11 @@ Puppet::Type.type(:oslo_config).provide( :parent => Puppet::Type.type(:openstack_config).provider(:ini_setting) ) do + def create + super + warning('oslo_config is deprecated, and will be removed in a future release') + end + def self.file_path '/etc/oslo/oslo.conf' end diff --git a/releasenotes/notes/deprecate-oslo_config-fcd5be0a4c358ba3.yaml b/releasenotes/notes/deprecate-oslo_config-fcd5be0a4c358ba3.yaml new file mode 100644 index 0000000..f7e276c --- /dev/null +++ b/releasenotes/notes/deprecate-oslo_config-fcd5be0a4c358ba3.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + The ``oslo_config`` resource has been deprecated and will be removed in a + future release.