Upgrade puppet to version 3.5
Stop using import

Import has been deprecated in 3.5, while it would run fine puppet-syntax
is complaining because a warning has been raised. Instead of specifying
an individual file as an arument to puppet apply, use a directory

https://docs.puppetlabs.com/puppet/latest/reference/dirs_manifest.html