vmware-vcsa module !!!

66 views
Skip to first unread message

Rakesh Kathpal

unread,
Oct 8, 2014, 4:49:58 AM10/8/14
to puppet...@googlegroups.com
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..

any help is greatly appreciated.

Thanks,

Rakesh K.

Brian Morris

unread,
Oct 8, 2014, 8:55:26 AM10/8/14
to puppet...@googlegroups.com
Hello Rakesh,

Please post your code that this error comes from.

Rakesh Kathpal

unread,
Oct 8, 2014, 9:12:33 AM10/8/14
to puppet...@googlegroups.com
Hv just added the following to the end of init.pp so that I can use this "define" as a class

class vcsas($user_data) {
  create_resources('vcsa',$user_data)
}

From foreman I am passing the following parameters

demo:
  username: root
  password: vmware
  server: 192.168.1.26
  db_type: embedded
  capacity: m


On Wed, Oct 8, 2014 at 6:25 PM, Brian Morris <nomadic...@gmail.com> wrote:
Hello Rakesh,

Please post your code that this error comes from.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c56382ed-2573-4f31-ab89-e60a08b010a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nan Liu

unread,
Oct 8, 2014, 10:39:17 AM10/8/14
to puppet...@googlegroups.com
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

Rakesh Kathpal

unread,
Oct 8, 2014, 10:58:58 AM10/8/14
to puppet...@googlegroups.com
Nan.. Thanks a lot for your help.

--
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages