Ask Your Question

How to make sure software is installed on windows?

asked 2013-04-10 13:52:06 -0600

tracyfan_1 gravatar image

updated 2013-04-10 13:55:57 -0600

llowder gravatar image

Hello. I created a simple puppet module that will install Mathematica on machines. After first run, all machines got Mathematica installed. Upon rerun of the agent it seems to be reinstalling the package again. Is there a reason why this is happening? The name of the package is the one that is given in the uninstall program Name. What am I doing incorrectly that is making this happen to the module?

package { '"Wolfram Mathematica 9 (M-WIN-L 9.0.1 4055652)"':  
    ensure              => present,  
    source              => '\\mysource\M-WIN-L-9.0.1-4055652.exe',  
    provider            => windows,  
    install_options     => ['/verysilent'],
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-11 12:07:13 -0600

tracyfan_1 gravatar image

Figured it out. I had Quotes around the package name that didn't locate the package when checking to see if it is "present"

edit flag offensive delete link more


Thanks for the follow-up.

Ancillas gravatar imageAncillas ( 2013-04-12 10:59:36 -0600 )edit

Marking this as the answer.

rob gravatar imagerob ( 2014-10-03 22:03:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-04-10 13:52:06 -0600

Seen: 613 times

Last updated: Apr 11 '13