Bump. Any help on this would be GREATLY appreciated! I also notice in the windows event log that I get the error "Failed to install: Fail on INT 24." and "/Stage[main]/Python::Install/Package[python]/ensure: change from absent to present failed: Failed to install: Fail on INT 24."
I've tried running "puppet apply --debug --trace" from a "command prompt with puppet", but this just hangs.
On Friday, May 3, 2013 1:53:12 PM UTC-4, Matt F wrote:I'm trying to install python (via msi) onto a windows 2008R2 box. I'm using puppet 3.1 on the client, 3.0.2 on the puppet server. Here is my install.pp:
class python::install {
package { 'python':
ensure => installed,
provider => 'msi',
source => '\\\\example.com\\software\\python\\python-2.7.3.amd64.msi',
install_options => [ { 'INSTALLDIR' => 'C:\python27' }, { 'ALLUSERS' => '1' } ],
}
}
I can see the "msiexec" process running on the client, but it seems to run forever without installing anything.
Any help would be greatly appreciated!
--
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...@googlegroups.com.
To post to this group, send email to puppet...@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.
class python::install {
package { 'python':
ensure => installed,
source => "\\\\example.com\\software\\python\\python-2.7.3.amd64.msi",
install_options => [ { 'INSTALLDIR' => 'C:\python27' }, { 'ALLUSERS' => '1' } ],
}
}
install_options => [{'TARGETDIR' => 'c:/python27'} , {'WHICHUSERS' => 'ALL'} ]
}
can you help me?
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c999ebc1-ef6b-46f9-aa4b-d01b140be0c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Looks like you almost have it. You need the full path to the installer file. Should end with the extension ".msi".Your package title (e.g. "python-2.7.3.amd64") also needs to exactly match what programs and features will list, which is likely 'Python'.
I don't know what i'm doing wrong.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/a7212f05-22ec-4144-a0e0-67d6d3908e28%40googlegroups.com.
To verify, the file you have located at c:/PreRecap/python-2.7.5.
amd64.msi is actually a downloaded MSI file correct?
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d0203c7f-1d6e-463e-aab3-3b89b9ed9c6f%40googlegroups.com.
The install box pops up and still requires me to choose the optionsI tried your script too. still same results.
On Thursday, July 9, 2015 at 2:30:52 AM UTC+8, Rob Reynolds wrote:On Tue, Jul 7, 2015 at 12:40 AM, Gene Fontanilla <ginofon...@gmail.com> wrote:To verify, the file you have located at c:/PreRecap/python-2.7.5.amd64.msi is actually a downloaded MSI file correct?
yes bob you are correctSo double click the file, it should come up with an install box. Exit it without finishing the install. Then try running it from the command line:msiexec /norestart /i c:\PreRecap\python.amd64.msi TARGETDIR=c:/python27 WHICHUSERS=ALLNote that msiexec may not like your forward slashes, which may indicate the issue.If that can go all the way through, then uninstall and try adding '/qn' (e.g. 'msiexec /qn /norestart /i ...') and running it again.
--Once you have all of the switches set properly, then you can plug it into the built-in package resource.--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d0203c7f-1d6e-463e-aab3-3b89b9ed9c6f%40googlegroups.com.--Rob ReynoldsDeveloper, Puppet LabsRegister now to take advantage of the Early Adopter discount —save $349!
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4e4dc991-f770-45d7-a2fc-068480d7cefd%40googlegroups.com.