-
Notifications
You must be signed in to change notification settings - Fork 10
Config Directory on Redhat & CentOS #3
Comments
Thanks, I think that:
should be enough, a (possibly puppet-linted) PR is welcomed |
btw, |
Good Morning Alessandro: No the package didn't create the /etc/proftpd dir. Besides the conf file in "/etc" these are the directories that the package created /var/log/proftpd Thanks ----- Original Message ----- From: "Alessandro Franceschi" [email protected] btw, — Joseph Karns |
On RHEL 6.5 using all defaults
err: /File[proftpd.conf]/ensure: change from absent to present failed: Could not set 'present on ensure: No such file or directory - /etc/proftpd/proftpd.conf at /puppet/envs/mktwordpressdev/modules/proftpd/manifests/init.pp:358
Changed params.pp to check os and set $config_dir & $config_file to correct location.
/(?i:RedHat|CentOS)/ => '/etc',
default => '/etc/proftpd',
}
/(?i:RedHat|CentOS)/ => '/etc/proftpd.conf',
default => '/etc/proftpd/proftpd.conf',
}
The text was updated successfully, but these errors were encountered: