Skip to content

Commit 7650683

Browse files
committed
dependency: create mapfile before configfile
configcheck fails, if the mapfile does not exist
1 parent 00d43f4 commit 7650683

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

manifests/config.pp

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
owner => '0',
5757
group => '0',
5858
mode => '0640',
59+
tag => 'haproxy-config',
5960
}
6061

6162
Concat[$_config_file] {

manifests/init.pp

+3
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@
147147
# there should be no legacy code that uses these deprecated
148148
# parameters.
149149

150+
Haproxy::Mapfile <| |>
151+
-> Concat <| tag=='haproxy-config' |>
152+
150153
# To support deprecating $enable
151154
if $enable != undef {
152155
warning('The $enable parameter is deprecated; please use service_ensure and/or package_ensure instead')

0 commit comments

Comments
 (0)