diff --git a/manifests/worker.pp b/manifests/worker.pp index e51ef795..6be43a27 100644 --- a/manifests/worker.pp +++ b/manifests/worker.pp @@ -58,10 +58,6 @@ # # DEPRECATED PARAMETERS # -# [*worker_notify*] -# (optional) Whether to allow worker to send NOTIFYs. -# Defaults to undef -# # [*manage_package*] # Whether Puppet should manage the package. # Default is undef. @@ -90,7 +86,6 @@ class designate::worker( $export_synchronous = $::os_service_default, $topic = $::os_service_default, # DEPRECATED PARAMETERS - $worker_notify = undef, $manage_package = undef, $service_ensure = undef, $worker_topic = undef, @@ -134,11 +129,4 @@ class designate::worker( designate_config { 'service:worker/worker_topic': ensure => absent; } - - if $worker_notify != undef { - warning('worker_notify is deprecated and will be removed in a future release') - designate_config { - 'service:worker/notify': value => $worker_notify; - } - } } diff --git a/releasenotes/notes/remove-worker-notify-d3a86bfdd6acbfdb.yaml b/releasenotes/notes/remove-worker-notify-d3a86bfdd6acbfdb.yaml new file mode 100644 index 00000000..06c94b41 --- /dev/null +++ b/releasenotes/notes/remove-worker-notify-d3a86bfdd6acbfdb.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The ``designate::worker::worker_notify`` parameter has beenremoved. diff --git a/spec/classes/designate_worker_spec.rb b/spec/classes/designate_worker_spec.rb index a0cc5467..95d22ed7 100644 --- a/spec/classes/designate_worker_spec.rb +++ b/spec/classes/designate_worker_spec.rb @@ -21,7 +21,6 @@ describe 'designate::worker' do :poll_retry_interval => 10, :poll_max_retries => 5, :poll_delay => 1, - :worker_notify => true, :export_synchronous => true, :topic => 'topic', } @@ -85,7 +84,6 @@ describe 'designate::worker' do is_expected.to contain_designate_config('service:worker/poll_retry_interval').with_value( params[:poll_retry_interval] ) is_expected.to contain_designate_config('service:worker/poll_max_retries').with_value( params[:poll_max_retries] ) is_expected.to contain_designate_config('service:worker/poll_delay').with_value( params[:poll_delay] ) - is_expected.to contain_designate_config('service:worker/notify').with_value( params[:worker_notify] ) is_expected.to contain_designate_config('service:worker/export_synchronous').with_value( params[:export_synchronous] ) is_expected.to contain_designate_config('service:worker/topic').with_value( params[:topic] ) end