Hi

so I have a repo of vmware-tools.*.tgz files located at a website.  

how do I build a module to check 
1) is vmware tool install - check does vmware-toolbox-cmd  exist
2) is it the right version - check for current version 
is vmware-toolbox-cmd -v

I want to add version number into my hiera DB.  think i have worked out. 
but not sure how to do the client test.  

I am guessing (psydo code)

if exist vmware-toolbox-cmd  and if vmware-toolbox-cmd -v >= <version 
wanted>
then 
  do nothing
else
  wget file
  run vmware-install 
fi



-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7e990f42-22b6-4aff-8887-83768e086cb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to