pluginsync has been deprecated in puppet version 4.4.0. It is however
the default, so it can be safely removed from the configuration file.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
-pluginsync=true
# This is the default environment for all clients
environment=production
+<%- if has_variable?("puppetversion") and (scope.call_function('versioncmp', [@puppetversion.to_s, '4.4.0']) < 0) -%>
+pluginsync=true
+<%- end -%>
<% if scope.function_has_role(['puppetmaster']) %>
[master]