renamed mfdomain to wmde_libdir

This commit is contained in:
Tobias Herre 2023-10-02 08:09:38 +02:00
parent 045f173665
commit 2c8d72430f
3 changed files with 4 additions and 4 deletions

View File

@ -173,7 +173,7 @@ files:
"$(apache.main_cfg)"
create => "true",
edit_template => "$(sys.workdir)/inputs/$(def.mfdomain)/templates/httpd.conf.mustache",
edit_template => "$(sys.workdir)/inputs/$(def.wmde_libdir)/templates/httpd.conf.mustache",
template_method => "mustache",
handle => "apache_main_cfg_crreated",
classes => if_repaired(apache_changed);
@ -222,7 +222,7 @@ vars:
"template_file"
string =>
"$(sys.workdir)/inputs/$(def.mfdomain)/templates/httpd-vhost.conf.mustache";
"$(sys.workdir)/inputs/$(def.wmde_libdir)/templates/httpd-vhost.conf.mustache";
"domain_file" string => "$(apache.cfg_dir)/Vhosts/$(site[domain]).conf";
"domain_dir" string => "$(apache.www_dir)/$(site[domain])/";

View File

@ -44,7 +44,7 @@ files:
freebsd::
"/etc/cron.d/certbot"
create => "true",
copy_from => local_cp("$(sys.workdir)/inputs/$(def.mfdomain)/templates/certbot-cron.mustache");
copy_from => local_cp("$(sys.workdir)/inputs/$(def.wmde_libdir)/templates/certbot-cron.mustache");
# content => '#
# Managed by CFEngine

2
vim.cf
View File

@ -37,7 +37,7 @@ packages:
files:
"$(vimrc)"
create => "true",
copy_from => local_dcp("$(sys.workdir)/inputs/$(def.mfdomain)/templates/vimrc.mustache");
copy_from => local_dcp("$(sys.workdir)/inputs/$(def.wmde_libdir)/templates/vimrc.mustache");
reports: