Hi all,

from http://docs.puppetlabs.com/guides/language_tutorial.html this
syntax should be ok:

file { [ 'foo', 'bar', 'foobar' ]:
    owner => root,
    group => root,
    mode  => 600,
}

I've this in my code:

 file {  [ '/software/atlas' , '/software/cms' , '/software/lhcb' , 
'/software/magic' , '/software/at3' , '/software/paus' , '/software/mice' , 
'/software/ops.vo.ibergrid.eu' , '/software/supernemo.vo.eu-egee.org' ]:
                 require        => File['/software'] ;
        }

And an error like:

err: Could not parse for environment production: Syntax error at ':'; expected 
'}' at /etc/pup...

I'm on 2.6.1, is it a bug? Anyone is using this syntax with no problems?

Cheers,
Arnau   

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to