craigwatson / puppet-vmwaretools

Puppet module for non-OSP VMware Tools Installation
http://forge.puppetlabs.com/CraigWatson1987/vmwaretools
Apache License 2.0
27 stars 40 forks source link

not downloading vmwaretools #46

Closed iforte closed 10 years ago

iforte commented 10 years ago

vmwaretools isn't being downloaded and nothing is in the /tmp/vmwaretools/ directory. Getting this error when running puppet agent -t

err: /Stage[main]/Vmwaretools::Install::Archive/File[/tmp/vmwaretools/VMwareTools-9.0.0-782409.tar.gz]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/vmwaretools/VMwareTools-9.0.0-782409.tar.gz at /etc/puppet/modules/vmwaretools/manifests/install/archive.pp:28

include vmwaretools is all I have, I am using the defaults.

craigwatson commented 10 years ago

Hi,

Can you confirm where you've placed your VMware Tools archive and what version of vSphere and the tools you're using?

In 95% of cases, you will need to pass some parameters into the module, as it's unlikely that you'll be using the exact version (down to the build number) of vSphere that I specify as the default - from memory it's ESXi 5.1U1.

You'll also need to either place your VMware Tools tar.gz archive either within my module's files directory if you want to use the module default value, or host it somewhere accessible over HTTP from your environment, calculate an MD5 hash of the archive and pass these details to the module as parameters - take a look at the examples in the README.md file if you're unsure.

Let me know how you get on :)

Craig

iforte commented 10 years ago

Hi Craig,

That is most likely the problem. I thought the module added the vmware repo and downloaded the tools.

thanks!

Ian

On Tue, Aug 12, 2014 at 10:22 AM, Craig Watson notifications@github.com wrote:

Hi,

Can you confirm where you've placed your VMware Tools archive and what version of vSphere and the tools you're using?

In 95% of cases, you will need to pass some parameters into the module, as it's unlikely that you'll be using the exact version (down to the build number) of vSphere that I specify as the default - from memory it's ESXi 5.1U1.

You'll also need to either place your VMware Tools tar.gz archive either within my module's files directory if you want to use the module default value, or host it somewhere accessible over HTTP from your environment, calculate an MD5 hash of the archive and pass these details to the module as parameters - take a look at the examples in the README.md file if you're unsure.

Let me know how you get on :)

Craig

— Reply to this email directly or view it on GitHub https://github.com/craigwatson/puppet-vmwaretools/issues/46#issuecomment-51946728 .

craigwatson commented 10 years ago

Hi Ian,

Thanks - can you confirm if you've been able to configure the module?

If so, I'll close the ticket :)

Cheers, Craig