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:[email protected]/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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2BNsY5icYrZrW4TbYefskUndwSgiZP-PoSiJw9tMH%2BT19t1uzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to