vmware-archive / vmware-vcenter

VMware vCenter Module
Other
87 stars 102 forks source link

Cannot get the examples to work #134

Open maishsk opened 10 years ago

maishsk commented 10 years ago

I have tried to populate the sample-data.pp and cluster-12-setup.pp examples

I keep on getting the exact same error

Error: /Stage[main]//Vc_datacenter[/testdc1]: Could not evaluate: uninitialized constant RbVmomi

I have installed ruby through rbenv - I do not know if that has anything to do with it or not

nanliu commented 10 years ago

Are the gem packages installed to the proxy system?

include vcenter::package

I'm primarily using the module via puppet apply. Due to how we use rbvmomi to generate the type info, you also need rbvmomi gem installed on the puppet master, but that hasn't been tested very much in my deployment scenarios.

maishsk commented 10 years ago

Perhaps I don't understand the scenario correctly. What proxy server are you referring to?

I am running everything off of the same os . Not using puppet enterprise though

Maish Sent from a very small keypad with very big thumbs On Nov 18, 2013 6:14 PM, "Nan Liu" notifications@github.com wrote:

Are the gem packages installed to the proxy system?

include vcenter::package

I'm primarily using the module via puppet apply. Due to how we use rbvmomi to generate the type info, you also need rbvmomi gem installed on the puppet master, but that hasn't been tested very much in my deployment scenarios.

— Reply to this email directly or view it on GitHubhttps://github.com/vmware/vmware-vcenter/issues/134#issuecomment-28711592 .

maishsk commented 10 years ago

To clarify.

I am running everything off of the puppet master.

I have run puppet apply -e 'include vcenter::packages' on the puppet master.

When only initiating the transport I get no errors, only when I try and create a datacenter do I get this error

Maish Sent from a very small keypad with very big thumbs On Nov 18, 2013 6:14 PM, "Nan Liu" notifications@github.com wrote:

Are the gem packages installed to the proxy system?

include vcenter::package

I'm primarily using the module via puppet apply. Due to how we use rbvmomi to generate the type info, you also need rbvmomi gem installed on the puppet master, but that hasn't been tested very much in my deployment scenarios.

— Reply to this email directly or view it on GitHubhttps://github.com/vmware/vmware-vcenter/issues/134#issuecomment-28711592 .