Commit 90e91b36 authored by Karl Kornel's avatar Karl Kornel

xinetd: Make sure base::xinetd is included when needed

parent 59e00770
...@@ -67,9 +67,12 @@ define base::xinetd::config( ...@@ -67,9 +67,12 @@ define base::xinetd::config(
fail("one of server or server_type => 'INTERNAL' must be given") fail("one of server or server_type => 'INTERNAL' must be given")
} }
# Make sure xinetd is installed
include base::xinetd
file { "/etc/xinetd.d/$name": file { "/etc/xinetd.d/$name":
ensure => $ensure, ensure => $ensure,
content => template('base/xinetd/config.erb'), content => template('base/xinetd/config.erb'),
notify => Service['xinetd'], notify => Service['xinetd'],
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment