Fix future parser issues so we be ready for puppet 4
root@unstable1:/srv/leap/puppet# find . -name \*.pp -exec puppet parser validate --parser future {} \; > /root/puppet4.txt Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/sshd/manifests/client/base.pp:12:12 Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/sshd/manifests/client/base.pp:13:12 Error: Could not parse for environment production: Syntax error at '[' at /srv/leap/puppet/modules/site_openvpn/manifests/server_config.pp:70:25 Error: Could not parse for environment production: Not a valid octal number 09 in file /srv/leap/puppet/modules/tor/manifests/daemon/transparent.pp at line 1:3 Error: Could not parse for environment production: Not a valid octal number 08 in file /srv/leap/puppet/modules/tor/manifests/daemon/map_address.pp at line 1:3 Error: Could not parse for environment production: Not a valid octal number 08 in file /srv/leap/puppet/modules/tor/manifests/daemon/dns.pp at line 1:3 Error: Could not parse for environment production: Expression is not valid as a resource, resource-default, or resource-override at (slice () 'file'):(slice () 'line'):(slice ([] 'couchdb') 'pos') Error: Could not parse for environment production: Expression is not valid as a resource, resource-default, or resource-override at (slice () 'file'):(slice () 'line'):(slice ([] '/etc/init.d/couchdb') 'pos') Error: Could not parse for environment production: Syntax error at '[' at /srv/leap/puppet/modules/couchdb/manifests/base.pp:109:21 Error: Could not parse for environment production: Syntax error at '{' at /srv/leap/puppet/modules/bundler/manifests/config.pp:48:49 Error: Could not parse for environment production: Expression is not valid as a resource, resource-default, or resource-override at (slice () 'file'):(slice () 'line'):(slice ([] 'nagios_htpasswd') 'pos') Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/backupninja/manifests/server.pp:49:3 Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/backupninja/manifests/server.pp:50:3 Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/backupninja/manifests/server.pp:51:3 Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/haproxy/manifests/listen.pp:91:5 Error: Could not parse for environment production: Illegal fully qualified name in file /srv/leap/puppet/modules/rubygems/manifests/net-ldap/v_0_0_4.pp at line 1:16 Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/check_mk/manifests/server/collect_hosts.pp:2:3 Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/check_mk/manifests/server/configure_ssh.pp:5:3 Error: Could not parse for environment production: Expression is not valid as a resource, resource-default, or resource-override at (slice () 'file'):(slice () 'line'):(slice ([] 'nagios-nrpe-server') 'pos') Error: Could not parse for environment production: Syntax error at '[' at /srv/leap/puppet/modules/nagios/manifests/nrpe/command.pp:18:37 Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/nagios/manifests/stored_config.pp:4:3 ... Warning: You cannot collect exported resources without storeconfigs being set; the collection will be ignored at /srv/leap/puppet/modules/nagios/manifests/base.pp:86:5 ...
(from redmine: created on 2016-03-24, relates #8559)