On Thu, Feb 14, 2013 at 3:40 AM, jim <[email protected]> wrote: > Hello Michael and Josh > > Thanks for your quick responses, Michael "The package { source => } > directive for MSIs *must* use backslashes." worked a charm thanks again > > would be nice in next versions, if this was all uniform > > thanks again > > James > > > On Tuesday, 12 February 2013 18:45:07 UTC, Michael O'Dea wrote: >> >> Answering my own question, and hopefully jim's as well! >> >> I had just had my module open in Geppetto, which yelled at me for having >> used backslashes in the MSI's package definition. I switched them to >> forward slashes to make it happy, and it appears as though jim's code above >> also uses forward slashes in the source => directive. >> >> Noticing that was one of my changes on my last check-in, I reversed it, >> and it worked. Hope this helps, jim -- not sure if this would constitute a >> bug, I've been seeing much more encouragement to use forward-slashes all >> across Windows, some of it in contradiction to the documents. Working with >> mcollective-win, almost all paths even on the Windows filesystem are >> forward slash, so I guess I assumed it would be OK here as well. It is >> not. The package { source => } directive for MSIs *must* use backslashes. >> >> Cheers, >> >> -- >> M >> >> On Tuesday, February 12, 2013 1:22:33 PM UTC-5, Michael O'Dea wrote: >>> >>> Hopefully not thread hijacking, hope my issue is the same. Strangely, I >>> had this problem last week and then resolved it when I made a few more >>> changes to the MSI. The issue has just now returned for me, and I'm not >>> clear how my latest changes (from a debug mode package to a release >>> package) would've triggered it. I read somewhere online that INT 24 was an >>> ancient return code for access denied, and I seem to recall I fixed it then >>> by assigning 0777 permissions when I dropped the file. It's worth noting >>> that my MSI installs fine when run with "msiexec.exe /qn /i" from an >>> Administrator command prompt. The relevant section of --debug --trace is >>> below: >>> >>> notice: /Stage[main]/Mcollective::**Server::Package::Windows/File[** >>>> C:/cfn/mcollective_win.msi]/**mode: mode changed '0770' to '0777' >>>> debug: >>>> /Stage[main]/Mcollective::**Server::Package::Windows/File[**C:/cfn/mcollective_win.msi]: >>>> The container Class[Mcollective::Server::**Package::Windows] will >>>> propagate my refresh event >>>> debug: Prefetching msi resources for package >>>> debug: Package[mcollective-win](**provider=msi): Executing >>>> 'msiexec.exe /qn /norestart /i C:/Cfn/mcollective_win.msi' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**provider/package/msi.rb:115:in >>>> `check_result' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**provider/package/msi.rb:78:in >>>> `install' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**type/package.rb:63:in >>>> `set_present' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**property.rb:81:in >>>> `send' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**property.rb:81:in >>>> `call_valuemethod' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**property.rb:288:in >>>> `set' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**property.rb:342:in >>>> `sync' >>>> C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/** >>>> transaction/resource_harness.**rb:114:in `apply_parameter' >>>> C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/** >>>> transaction/resource_harness.**rb:56:in `perform_changes' >>>> C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/** >>>> transaction/resource_harness.**rb:133:in `evaluate' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**transaction.rb:49:in >>>> `apply' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**transaction.rb:84:in >>>> `eval_resource' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**transaction.rb:104:in >>>> `evaluate' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**util.rb:493:in >>>> `thinmark' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/sys/ruby/lib/ruby/**1.8/benchmark.rb:308:in >>>> `realtime' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**util.rb:492:in >>>> `thinmark' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**transaction.rb:104:in >>>> `evaluate' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**transaction.rb:386:in >>>> `traverse' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**transaction.rb:99:in >>>> `evaluate' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**resource/catalog.rb:141:in >>>> `apply' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**configurer.rb:122:in >>>> `retrieve_and_apply_catalog' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**util.rb:161:in >>>> `benchmark' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/sys/ruby/lib/ruby/**1.8/benchmark.rb:308:in >>>> `realtime' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**util.rb:160:in >>>> `benchmark' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**configurer.rb:121:in >>>> `retrieve_and_apply_catalog' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**configurer.rb:152:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**agent.rb:43:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**agent/locker.rb:21:in >>>> `lock' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**agent.rb:43:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/sys/ruby/lib/ruby/**1.8/sync.rb:230:in >>>> `synchronize' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**agent.rb:43:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**agent.rb:95:in >>>> `with_client' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**agent.rb:41:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application.rb:172:in >>>> `call' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application.rb:172:in >>>> `controlled_run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**agent.rb:39:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**daemon.rb:187:in >>>> `run_event_loop' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**daemon.rb:149:in >>>> `loop' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**daemon.rb:149:in >>>> `run_event_loop' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**daemon.rb:127:in >>>> `start' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application/agent.rb:359:in >>>> `main' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application/agent.rb:314:in >>>> `run_command' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application.rb:309:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application.rb:416:in >>>> `hook' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application.rb:309:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application.rb:407:in >>>> `exit_on_fail' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**application.rb:309:in >>>> `run' >>>> C:/Program Files (x86)/Puppet >>>> Labs/Puppet/puppet/lib/puppet/**util/command_line.rb:69:in >>>> `execute' >>>> C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:**4 >>>> err: /Stage[main]/Mcollective::**Server::Package::Windows/** >>>> Package[mcollective-win]/**ensure: change from absent to present >>>> failed: Failed to install: Fail on INT 24. >>>> debug: /Schedule[weekly]: Skipping device resources because running on >>>> a host >>>> debug: Class[Mcollective::Server::**Package::Windows]: The container >>>> Stage[main] will propagate my refresh event >>>> notice: /Stage[main]/Mcollective::**Server::Package/Anchor[** >>>> mcollective::server::package::**end]: Dependency >>>> Package[mcollective-win] has failures: true >>>> warning: /Stage[main]/Mcollective::**Server::Package/Anchor[** >>>> mcollective::server::package::**end]: Skipping because of failed >>>> dependencies >>> >>> >>> Thanks, >>> -- >>> M >>> >>> On Tuesday, February 12, 2013 11:34:39 AM UTC-5, Josh Cooper wrote: >>>> >>>> >>>> >>>> On Tue, Feb 12, 2013 at 8:06 AM, jim <[email protected]> wrote: >>>> >>>>> Hello all, >>>>> >>>>> i'm having a few issues whilst trying to install 2 different msi >>>>> packages and getting the same error and was wondering if anyone could shed >>>>> some light on where i'm going wrong:- >>>>> >>>>> >>>>> class roles::base::ntsyslog { >>>>> >>>>> file { 'C:/Installs/NTSyslog2.msi': >>>>> source => 'puppet:///modules/roles/**NTSyslog2.msi', >>>>> mode => '0770', >>>>> owner => 'SYSTEM', >>>>> group => 'Administrators', >>>>> } >>>>> >>>>> package { 'NTSyslog': >>>>> >>>>> ensure => installed, >>>>> provider => 'msi', >>>>> source => 'C:/Installs/NTSyslog2.msi', >>>>> } >>>>> >>>>> } >>>>> >>>>> also getting the same error when trying this msi, >>>>> >>>>> class roles::base::trend_av_agent { >>>>> >>>>> file { 'C:/Installs/Trend_AV_Agent.**msi': >>>>> source => 'puppet:///modules/roles/** >>>>> Trend_AV_Agent.msi', >>>>> mode => '0770', >>>>> owner => 'SYSTEM', >>>>> group => 'Administrators', >>>>> } >>>>> >>>>> >>>>> package { 'Trend Micro OfficeScan Client': >>>>> >>>>> ensure => installed, >>>>> provider => 'msi', >>>>> source => 'C:/Installs/Trend_AV_Agent.** >>>>> msi', >>>>> } >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> Regards >>>>> >>>>> James >>>>> >>>>> -- >>>>> 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 [email protected]. >>>>> Visit this group at http://groups.google.com/** >>>>> group/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en> >>>>> . >>>>> For more options, visit >>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>>> . >>>>> >>>>> >>>>> >>>> >>>> >>>> Can you run `puppet apply --debug --trace` and report what error you're >>>> getting? >>>> >>>> Josh >>>> >>>> -- >>>> Josh Cooper >>>> Developer, Puppet Labs >>>> >>> -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > >
Thanks Michael. Filed as https://projects.puppetlabs.com/issues/19669. Josh -- Josh Cooper Developer, Puppet Labs -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
