The opening brace( SQUARE ) and closing brace ( CURLY ) does not match.

On Tuesday, 14 July 2015 03:11:49 UTC+5:30, Matthew Ceroni wrote:
>
> I am attempting to use the puppetlabs netscaler module to manage, well a 
> Citrix Netscaler :)
>
> I setup my /etc/puppet/device.conf on the puppet agent that will act as 
> the proxy:
>
> [usc1lb01]
>   type netscaler
>   url https://nsroot:XXXXXX@10.191.2.8/nitro/v1
>
> As a simple test I set my manifest as follows: 
>
> node 'usc1lb01' {
>         netscaler_server [ 'server1':
>                 ensure => present,
>                 address => '1.10.1.1',
>         }
> }
>
> I then ran puppet device -v --user=root and received the following error:
>
> Info: starting applying configuration to usc1lb01 at 
> https://10.191.2.8:443/nitro/v1
> Error: Could not run: 
> /var/lib/puppet/lib/puppet/util/network_device/transport/netscaler.rb:12: 
> syntax error, unexpected ':', expecting ')'
> ...@connection = Faraday.new(url: url, ssl: { verify: false }) ...
>                               ^
> /var/lib/puppet/lib/puppet/util/network_device/transport/netscaler.rb:12: 
> syntax error, unexpected ':', expecting '='
> ...n = Faraday.new(url: url, ssl: { verify: false }) do |builde...
>                               ^
> /var/lib/puppet/lib/puppet/util/network_device/transport/netscaler.rb:12: 
> odd number list for Hash
> ...y.new(url: url, ssl: { verify: false }) do |builder|
>                               ^
> /var/lib/puppet/lib/puppet/util/network_device/transport/netscaler.rb:13: 
> syntax error, unexpected tSYMBEG, expecting kEND
>       builder.request :retry, {
>                        ^
> /var/lib/puppet/lib/puppet/util/network_device/transport/netscaler.rb:127: 
> syntax error, unexpected kEND, expecting $end
>
>
> Anyone have success with this module? 
>
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1d79cbed-93a9-4fd8-aff8-487669e3ff8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to