On Wed, Oct 8, 2014 at 1:49 AM, Rakesh Kathpal <[email protected]> wrote:

> I have a esx host installed and a standalone centos server.
>
> what I am trying to do is via foreman
>
> - Setting up the module for centos server
> - So that it can install vcsa on my esx server.
>
> I end up getting error as
>
> Info: Applying configuration version '1412754558'
> Debug: PuppetX::Puppetlabs::Transport::Ssh initializing connection to:
> 192.168.1.26
> Debug: Executing on 192.168.1.26:
> vpxd_servicecfg eula read
> Debug: Execution result:
> sh: vpxd_servicecfg: not found
>
> Error: /Stage[main]/Vcsas/Vcsa[demo]/Vcsa_eula[demo]: Could not evaluate:
> odd number of arguments for Hash
> /var/lib/puppet/lib/puppet/provider/vcsa_eula/default.rb:15:in `[]'
> /var/lib/puppet/lib/puppet/provider/vcsa_eula/default.rb:15:in `exists?'
> /usr/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
>
>
> Please node this is a vanilla esx server, do I need to do anything else
> before applying the module..
>

The module is intended to run against a vcenter server appliance (5.0-5.5
versions), not an ESX server. You will need to use ovftool or other means
to import the appliance first. vpxd_servicecfg is a command that should be
available on the vcenter appliance. There's also an outstanding issue with
5.5 related to a sshd setting, there's more info here:
https://github.com/vmware/vmware-vcsa/issues/19

HTH,

Nan

-- 
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/CACqVBqDpgMBpGO3dn2Vg8ER%2B_rfPu6ZiFLwa2J3ZnuO60XxvjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to