Merge "Reserve non-privileged ports for listeners"
This commit is contained in:
commit
ba45119acb
|
@ -91,6 +91,10 @@ sysctl::value{'net.ipv4.neigh.default.gc_thresh1': value => '256'}
|
|||
sysctl::value{'net.ipv4.neigh.default.gc_thresh2': value => '1024'}
|
||||
sysctl::value{'net.ipv4.neigh.default.gc_thresh3': value => '2048'}
|
||||
|
||||
class { '::openstack::reserved_ports':
|
||||
ports => '35357,41055,61613',
|
||||
}
|
||||
|
||||
service {'dhcrelay':
|
||||
ensure => stopped,
|
||||
}
|
||||
|
|
|
@ -43,6 +43,12 @@ describe manifest do
|
|||
it { is_expected.to contain_sysctl__value(key).with(:value => value) }
|
||||
end
|
||||
|
||||
it 'should reserve unprivleged ports for services' do
|
||||
is_expected.to contain_class('openstack::reserved_ports').with(
|
||||
:ports => '35357,41055,61613'
|
||||
)
|
||||
end
|
||||
|
||||
it { is_expected.to contain_class 'monit' }
|
||||
|
||||
it { is_expected.to contain_exec 'Change protocol and port in in issue' }
|
||||
|
|
Loading…
Reference in New Issue