Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Branan Riley updated an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: Branan Riley Labels: package triaged type_and_provider windows Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: Moses Mendoza Labels: triaged windows Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title John O'Connor updated an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: John O'Connor Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Nan Liu commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode Can you use loglevel = debug for the exec? or just use unless = 'change.exe usr /install', if you don't want to see the events? Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Etienne Lacombe commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode loglevel = debug does get rid of the output but the run still gets recorded as if it had changed something on the node. unless - not sure how I would implement this. I would need to run the package first to know if it will need to install, if it does, then before installing it, then I need to run the exec but if it won't install anything (because it's already installed) then I don't need to run the exec. What I see more workable, but that means changing the windows package provider is that either through a parameter or on its own volition, it runs those commands to change the mode if it determine that it will install the package. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Josh Cooper commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode I wonder if this should be implemented via pre post run commands instead, because other resources, e.g. `exec` or `powershell` resources may need to be in the proper context. Unfortunately, pre post run commands don't work on Windows, see PUP-1431. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode Kylo Ginsberg I was thinking Puppet just Does the Right Thing Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Kylo Ginsberg assigned an issue to Unassigned Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: Kylo Ginsberg Assignee: KyloGinsberg Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Kylo Ginsberg commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode I don't know much about the useful scenarios - would we want this to be optional even if RDP is enabled/installed? That might guide whether there's an additional parameter needed for the package type or if this just Does the Right Thing without being told to. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds created an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Issue Type: New Feature Assignee: Kylo Ginsberg Components: Types and Providers, Windows Created: 2015/02/08 6:45 AM Labels: windows Priority: Normal Reporter: Rob Reynolds From ServerFault: The scenario is installing Windows applications with Puppet on a Windows RDP server. I have Puppet install the applications without problem, but per the best practice, you're supposed to be in install mode when doing so, and switching back to execute mode. I can do the following and it works: package {'Adobe AIR':
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds updated an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: Rob Reynolds GivenauserisRDPingintoaboxandcausingaPuppetAgentrunorrunning{{puppetapply}},theWindowsPackageprovidershouldswitchbetweeninstallandexecutemode,sothatproperRDPpracticesarefollowed. From[ServerFault|http://serverfault.com/questions/665896/install-applications-on-windows-rdp-servers-with-puppet]:{quote}ThescenarioisinstallingWindowsapplicationswithPuppetonaWindowsRDPserver.IhavePuppetinstalltheapplicationswithoutproblem,butperthebestpractice,you'resupposedtobeininstallmodewhendoingso,andswitchingbacktoexecutemode.Icandothefollowinganditworks:{noformat}package{'AdobeAIR':ensure='15.0.0.356',source='\\myserver\adobeair.exe',install_options=['-silent','-eulaAccepted'],require=Exec['installmode'],before=Exec['executemode'],}exec{'installmode':command='c:/Windows/System32/change.exeuser/install',}exec{'executemode':command='c:/Windows/System32/change.exeuser/execute',}{noformat}WhatI'mtryingtosolvehereisthateverytimePuppetruns,itconsidersthatsomethingwasdoneasthetwoExecruneachtimeregardlessiftheapplicationreallyinstallornot.IwouldliketosilencetheexecutionofExec,orfindabetterwaytoswitchbetweeninstallandexecutemode.{quote}h4.References*https://support.microsoft.com/kb/320185?wa=wsignin1.0*http://www.howtogeek.com/100836/how-to-correctly-install-applications-on-a-remote-desktop-server/*http://ss64.com/nt/change.html Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode Josh Cooper Ethan Brown - I am leaving this in Open status pending more discussion. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode Actually, I thought a bit more about a use case - You would want this is if you are RDPing into the box and causing a Puppet agent run or puppet apply. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Etienne Lacombe commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode Just a correction, this is not only when the administrator is running Puppet from an RDP session. According to MS documentation, that is the way to install applications on an RDP server - regardless of whether you are, as admin, accessing the server through RDP or local console. https://technet.microsoft.com/en-us/library/cc742815.aspx To ensure that an application is installed correctly to work in a multiuser environment, you must put the RD Session Host server into a special installation mode before you install the application on the RD Session Host server. This special installation mode ensures that the correct registry entries and .ini files that are needed to support running the application in a multiuser environment are created during the installation process. This applies only to a server with the RDP feature installed. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds updated an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: Rob Reynolds GivenauserisRDPingintoaboxandcausingaPuppetAgentrunorrunning{{puppetapply}},theWindowsPackageprovidershouldswitchbetweeninstallandexecutemode,sothatproperRDPpracticesarefollowed.From[ServerFault|http://serverfault.com/questions/665896/install-applications-on-windows-rdp-servers-with-puppet]:{quote}ThescenarioisinstallingWindowsapplicationswithPuppetonaWindowsRDPserver.IhavePuppetinstalltheapplicationswithoutproblem,butperthebestpractice,you'resupposedtobeininstallmodewhendoingso,andswitchingbacktoexecutemode.Icandothefollowinganditworks:{noformat}package{'AdobeAIR':ensure='15.0.0.356',source='\\myserver\adobeair.exe',install_options=['-silent','-eulaAccepted'],require=Exec['installmode'],before=Exec['executemode'],}exec{'installmode':command='c:/Windows/System32/change.exeuser/install',}exec{'executemode':command='c:/Windows/System32/change.exeuser/execute',}{noformat}WhatI'mtryingtosolvehereisthateverytimePuppetruns,itconsidersthatsomethingwasdoneasthetwoExecruneachtimeregardlessiftheapplicationreallyinstallornot.IwouldliketosilencetheexecutionofExec,orfindabetterwaytoswitchbetweeninstallandexecutemode.{quote}h4.References*https:// technet.microsoft.com/en-us/library/cc742815.aspx*https:// support.microsoft.com/kb/320185?wa=wsignin1.0*http://www.howtogeek.com/100836/how-to-correctly-install-applications-on-a-remote-desktop-server/*http://ss64.com/nt/change.html Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds updated an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: Rob Reynolds GivenasystemhasRemoteDesktopServicesinstalled,theWindowsPackageprovidershouldswitchbetweeninstallandexecutemode,sothatproperRDPpracticesarefollowed. Thisspecialinstallationmodeensuresthatthecorrectregistryentriesand.inifilesthatareneededtosupportrunningtheapplicationinamultiuserenvironmentarecreatedduringtheinstallationprocess. From[ServerFault|http://serverfault.com/questions/665896/install-applications-on-windows-rdp-servers-with-puppet]:{quote}ThescenarioisinstallingWindowsapplicationswithPuppetonaWindowsRDPserver.IhavePuppetinstalltheapplicationswithoutproblem,butperthebestpractice,you'resupposedtobeininstallmodewhendoingso,andswitchingbacktoexecutemode.Icandothefollowinganditworks:{noformat}package{'AdobeAIR':ensure='15.0.0.356',source='\\myserver\adobeair.exe',install_options=['-silent','-eulaAccepted'],require=Exec['installmode'],before=Exec['executemode'],}exec{'installmode':command='c:/Windows/System32/change.exeuser/install',}exec{'executemode':command='c:/Windows/System32/change.exeuser/execute',}{noformat}WhatI'mtryingtosolvehereisthateverytimePuppetruns,itconsidersthatsomethingwasdoneasthetwoExecruneachtimeregardlessiftheapplicationreallyinstallornot.IwouldliketosilencetheexecutionofExec,orfindabetterwaytoswitchbetweeninstallandexecutemode.{quote}h4.References*https://technet.microsoft.com/en-us/library/cc742815.aspx*https://support.microsoft.com/kb/320185?wa=wsignin1.0*http://www.howtogeek.com/100836/how-to-correctly-install-applications-on-a-remote-desktop-server/*http://ss64.com/nt/change.html Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode Sweet, thank you for the clarification. That's what I was looking for. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds commented on PUP-3979 Re: Windows Package Should Switch between Execute and Install Mode I created this ticket for a discussion point. Given this command looks like it is for RDP (Terminal Services) only, and Puppet executes locally, I think we can safely close this as Won't Fix because it is not necessary. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode
Title: Message Title Rob Reynolds updated an issue Puppet / PUP-3979 Windows Package Should Switch between Execute and Install Mode Change By: Rob Reynolds Givena userisRDPingintoaboxandcausingaPuppetAgentrunorrunning{{puppetapply}} systemhasRemoteDesktopServicesinstalled ,theWindowsPackageprovidershouldswitchbetweeninstallandexecutemode,sothatproperRDPpracticesarefollowed. From[ServerFault|http://serverfault.com/questions/665896/install-applications-on-windows-rdp-servers-with-puppet]:{quote}ThescenarioisinstallingWindowsapplicationswithPuppetonaWindowsRDPserver.IhavePuppetinstalltheapplicationswithoutproblem,butperthebestpractice,you'resupposedtobeininstallmodewhendoingso,andswitchingbacktoexecutemode.Icandothefollowinganditworks:{noformat}package{'AdobeAIR':ensure='15.0.0.356',source='\\myserver\adobeair.exe',install_options=['-silent','-eulaAccepted'],require=Exec['installmode'],before=Exec['executemode'],}exec{'installmode':command='c:/Windows/System32/change.exeuser/install',}exec{'executemode':command='c:/Windows/System32/change.exeuser/execute',}{noformat}WhatI'mtryingtosolvehereisthateverytimePuppetruns,itconsidersthatsomethingwasdoneasthetwoExecruneachtimeregardlessiftheapplicationreallyinstallornot.IwouldliketosilencetheexecutionofExec,orfindabetterwaytoswitchbetweeninstallandexecutemode.{quote}h4.References*https://technet.microsoft.com/en-us/library/cc742815.aspx*https://support.microsoft.com/kb/320185?wa=wsignin1.0*http://www.howtogeek.com/100836/how-to-correctly-install-applications-on-a-remote-desktop-server/*http://ss64.com/nt/change.html Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)