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 [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.