Skip to content

Commit f4d287f

Browse files
author
Adrien Thebo
committed
(#12581) Add explicit ordering for vdir directory
The apache::params::vdir directory depends on the existence of the httpd package, and trying to include the module may cause an ordering failure. Added the necessary explicit ordering.
1 parent c3b7dcc commit f4d287f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

manifests/init.pp

+5-4
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@
4141

4242

4343
file { $apache::params::vdir:
44-
ensure => directory,
44+
ensure => directory,
4545
recurse => true,
46-
purge => true,
47-
notify => Service['httpd'],
48-
}
46+
purge => true,
47+
notify => Service['httpd'],
48+
require => Package['httpd'],
49+
}
4950
}

0 commit comments

Comments
 (0)