X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/637bcca24755d8c99324c0700bfa53f7f5b0b521..1eeb41f8cbd0f50b8d4d1e1e83b9e04398d36c9a:/test/integration/dhcpd/serverspec/dhcpd_spec.rb diff --git a/test/integration/dhcpd/serverspec/dhcpd_spec.rb b/test/integration/dhcpd/serverspec/dhcpd_spec.rb new file mode 100644 index 000000000..643f083f4 --- /dev/null +++ b/test/integration/dhcpd/serverspec/dhcpd_spec.rb @@ -0,0 +1,17 @@ +require "serverspec" + +# Required by serverspec +set :backend, :exec + +describe package("isc-dhcp-server") do + it { should be_installed } +end + +describe service("isc-dhcp-server") do + it { should be_enabled } + it { should be_running } +end + +describe port(67) do + it { should be_listening.with("udp") } +end