>                /(i386|i586|i686/) => 
should be
>                /(i386|i586|i686)/ => 
shouldn't it?

Den
On 18/04/2012, at 9:01, Forrie <for...@gmail.com> wrote:

> So, it's choking on this still at the line with the conditional:
> 
> Apr 17 18:58:17 test-system puppet-agent[7590]: Could not retrieve
> catalog from remote server: Error 400 on SERVER: Could not parse for
> environment production: Syntax error at '{'; expected '}' at /etc/
> puppet/manifests/classes/nagios-client-test.pp:20 on node test-
> system.my-domain.com
> 
> The brackets look balanced to me.
> 
> 
>    file { "/usr/local/nagios/libexec":
>            require => File['/usr/local/nagios'],
>            ensure  => directory,
>            owner   => 'root',
>            group   => 'root',
>            mode    => 655,
>            recurse => true,
>            source  => $::architecture {
>                /(i386|i586|i686/) => "puppet:///files/32/usr/local/
> nagios/libexec",
>                x86_64             => "puppet:///files/64/usr/local/
> nagios/libexec",
>            }
>    }
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

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

Reply via email to