On 2014-23-09 13:25, Stefan Heijmans wrote:
Hi,

Received the same kind of error with a different message, using Puppet
3..7.2 with future parser;
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Syntax error at '[' at
/etc/puppet/environments/tst/modules/managesoft/manifests/install.pp:41:23
on node <fqdn>

Had the following in my require statement;
require => [ File ['/var/tmp/mgsft_rollout_response'], File
['/var/tmp/ux.npl'] ]
fixed by removing spaces to;
require => [File['/var/tmp/mgsft_rollout_response'],File['/var/tmp/ux.npl']]

Stefan

Posting this to clarify for those that google for problems...

This is a legit error message, you basically ended up with something similar to this:

require => [File <anArray>, File <anArray>]

which is a syntax error since you cannot simply list entries in an array without commas. You fixed it the correct way by removing the spaces thereby making the [...] part into an access operation on the File type instead of being a separate expression.

- henrik

--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
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/m0hddv%24vcq%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to