Hi Team,
I am recently installed puppet 5.0.1, earlier i used import on site.pp
file in puppet 3.8. now its doesn't work. do you know the alternate way to
achieve the same funcation.
Site.pp
[root@puppet nodes]# cat ../site.pp
# Main Site.pp file
import "classes/*"
import "nodes/*"
node default {
service { 'ntpd':
ensure => 'running',
enable => 'true',
}
}
When i run puppet agent -t on client side, i got following error
Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
Server Error: Evaluation Error: Use of 'import' has been discontinued in
favor of a manifest directory. See
http://links.puppet.com/puppet-import-deprecation at
/etc/puppetlabs/code/environments/production/manifests/site.pp:2:1 on node
ci-linux-1.localdomain
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Please help me to resolve
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/6e6d9d11-75f0-416d-81ed-7abd4c584a50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.