Kevin Squire
2013-Apr-05 16:43 UTC
[Puppet Users] Windows Agent - Reinstall a Software Package
My basic question is Is the Windows Agent suppose to reinstall software when that package is set to "ensure => installed" ? I have the puppetmaster running on a Debian Squeeze (current stable). I have a number of Linux nodes all working perfectly. (the master and all the clients are running version 2.7) Now I am testing the idea of using Puppet on our Windows workstations. I have been successful in getting a MSI of Firefox installed ( grabbed from http://www.frontmotion.com/Firefox/ ). But if Firefox is then manually uninstalled on the workstation, it does not reinstall automatically for me, like it does on the Linux clients. In fact it seems to really mess up/confuse Puppet when a local use uninstalls an application that was installed originally via Puppet. - Puppet does not automatically reinstall on next run - Puppet still thinks it is installed - Changing the rule to "absent" results in error (Puppet tries to uninstall it, but MSI errors out since it is no longer installed) Here is the pertinent section of my Firefox manifest: ''windows'': { package { ''Mozilla Firefox (en-US)'': ensure => absent, # ensure => installed, provider => msi, source => ''R:\\Firefox-19.0.2-en-US.msi'', } } Is the Windows Agent suppose to re-install the application? If so, what am I missing? -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.