Scott Crowe
2013-Jul-02 21:19 UTC
[Puppet Users] Puppet Enterprise no longer catching "Press Enter to Continue" at end of Exec
I have been working on automating our deployment process which includes a call to an application that expects the user to press Enter when it is complete. Under Puppet Enterprise 2.8.2 it works fine and automatically catches that the process is completed but with Puppet Enterprise 3.0.0 installed as the agent it hangs and fails on timeout. Anyone else experience this? Is there a work around? Should I enter a bug? The agent in question is a Windows 2008 R2, I wasn’t able to find a bug with a quick search but wasn’t sure if that was just my newness to the system. Thanks in advance -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Josh Cooper
2013-Jul-18 05:49 UTC
Re: [Puppet Users] Puppet Enterprise no longer catching "Press Enter to Continue" at end of Exec
On Tue, Jul 2, 2013 at 2:19 PM, Scott Crowe <scott.crowe@gmail.com> wrote:> I have been working on automating our deployment process which includes a > call to an application that expects the user to press Enter when it is > complete. >The puppet agent runs as LocalSystem, and in newer versions of Windows, the LocalSystem account is not allowed to interact with the logged in user''s desktop. Otherwise, it can lead to shatter (privilege escalation) attacks[1].> Under Puppet Enterprise 2.8.2 it works fine and automatically catches > that the process is completed but with Puppet Enterprise 3.0.0 installed as > the agent it hangs and fails on timeout. >I didn''t follow what you meant by "catches that the process is completed"? I can''t think of any change in any version of Puppet on Windows that would result in different behavior... I''d recommend installing Process Explorer when the PE 3.0 agent hangs. I''m guessing you will see a child application also running, and likely waiting for user input. Anyone else experience this? Is there a work around? Should I enter a bug?>What application is puppet trying to execute? Could you put together a reproducible test case? One question I have to ask, is why does a human need to press Enter if you are trying to automate this?> The agent in question is a Windows 2008 R2, I wasn’t able to find a bug > with a quick search but wasn’t sure if that was just my newness to the > system. > Thanks in advance > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > >Josh [1] http://msdn.microsoft.com/en-us/library/windows/desktop/ms684190(v=vs.85).aspx -- Josh Cooper Developer, Puppet Labs *Join us at PuppetConf 2013, August 22-23 in San Francisco - * http://bit.ly/pupconf13* **Register now and take advantage of the Final Countdown discount - save 15%!* -- 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. For more options, visit https://groups.google.com/groups/opt_out.