Ah ha! The problem was --autosign<http://docs.puppetlabs.com/references/latest/configuration.html#autosign>is a bit more than just a boolean arg so you have to explicitly say true or false.
#!/bin/bash puppet master --mkusers --autosign true --verbose --no-daemonize Using the args I had originally causes it to appear to hang, but you can still get catalogs from it with an agent so it actually just oddly silences output. Wow, that was a confusing waste of time. Thanks for the suggestion though! On Wednesday, July 18, 2012 1:29:29 PM UTC-5, Juan Sierra Pons wrote: > > On Jul 18, 2012 5:30 PM, "Sam Simmons" <[email protected]> wrote: > > > > I'm simply trying to run puppet inside a bash script but I'm not seeing > any output. > > > > #!/bin/bash > > puppet master --mkusers --autosign --verbose --no-daemonize > > > > Is there an I/O redirection incantation I'm missing? > > > > -- > > 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/-/H2aXJn59bRQJ. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]. > > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > Hi, > Add > set -x > in the second line. > > This will run you script in verbose mode and see what happen. > > Hope it helps > > Best regards > > Juan > -- 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/-/HHIeZU2aztQJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
