diff --git a/manifests/init.pp b/manifests/init.pp index 6f63b0f7b..68192c38b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -61,6 +61,10 @@ # This enables redundant DHCP agents for configured networks. # Defaults to 1 # +# [*dhcp_agent_notification*] +# (optional) Allow sending resource operation notification to DHCP agent. +# Defaults to true +# # [*allow_bulk*] # (optional) Enable bulk crud operations # Defaults to true @@ -188,6 +192,7 @@ $mac_generation_retries = 16, $dhcp_lease_duration = 86400, $dhcp_agents_per_network = 1, + $dhcp_agent_notification = true, $allow_bulk = true, $allow_pagination = false, $allow_sorting = false, @@ -288,6 +293,7 @@ 'DEFAULT/mac_generation_retries': value => $mac_generation_retries; 'DEFAULT/dhcp_lease_duration': value => $dhcp_lease_duration; 'DEFAULT/dhcp_agents_per_network': value => $dhcp_agents_per_network; + 'DEFAULT/dhcp_agent_notification': value => $dhcp_agent_notification; 'DEFAULT/allow_bulk': value => $allow_bulk; 'DEFAULT/allow_pagination': value => $allow_pagination; 'DEFAULT/allow_sorting': value => $allow_sorting; diff --git a/spec/classes/neutron_init_spec.rb b/spec/classes/neutron_init_spec.rb index afe2e1577..433fb6c5d 100644 --- a/spec/classes/neutron_init_spec.rb +++ b/spec/classes/neutron_init_spec.rb @@ -110,6 +110,7 @@ should contain_neutron_config('DEFAULT/mac_generation_retries').with_value(16) should contain_neutron_config('DEFAULT/dhcp_lease_duration').with_value(86400) should contain_neutron_config('DEFAULT/dhcp_agents_per_network').with_value(1) + should contain_neutron_config('DEFAULT/dhcp_agent_notification').with_value(true) should contain_neutron_config('DEFAULT/allow_bulk').with_value(true) should contain_neutron_config('DEFAULT/allow_pagination').with_value(false) should contain_neutron_config('DEFAULT/allow_sorting').with_value(false)