Swapnil Mankar
2012-Jul-24 21:38 UTC
[Puppet Users] Pass arguments from puppetmaster to client
I have a puppet master running on 1 node and a puppet client running on another node. I am trying to execute a shell script on the client from the puppet master. The issue is that the script is interactive and expects a couple of inputs initially from the user on the command line. Is there a way I can pass these inputs from the puppetmaster to the client such that the script picks them up and completes execution? I dont want to touch the client until the script has executed successfully. Swapnil Mankar -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/T45G4OF0XsYJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
jcbollinger
2012-Jul-25 20:16 UTC
[Puppet Users] Re: Pass arguments from puppetmaster to client
On Tuesday, July 24, 2012 4:38:12 PM UTC-5, Swapnil Mankar wrote:> > I have a puppet master running on 1 node and a puppet client running on > another node. I am trying to execute a shell script on the client from the > puppet master. The issue is that the script is interactive and expects a > couple of inputs initially from the user on the command line. Is there a > way I can pass these inputs from the puppetmaster to the client such that > the script picks them up and completes execution? I dont want to touch the > client until the script has executed successfully. > >Have you tried I/O redirection? Or a wrapper script that you provide via Puppet? John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/AcxnyUCaPtoJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.