Issue #2295 has been updated by Anselm Strauss.
I have a fresh puppet install without any present configuration files. When I start 'puppetmasterd --genconfig > $confdir/puppetmasterd.conf' puppetmasterd starts as daemon and does not output a generated configuration. Likewise, when I first do a 'touch $confdir/puppetmasterd.conf' and then start 'puppetmasterd --genconfig', the daemon is started and no config is put out. Could it be that puppetmasterd has a problem when there is an empty or incomplete configuration file? I think the first case is related to the second. Output redirection to file first creates an empty file and then starts the command. I just tested the same with puppetd, and it shows the same behavior. ---------------------------------------- Bug #2295: "puppetmasterd --genconfig" starts daemon http://projects.reductivelabs.com/issues/2295 Author: Anselm Strauss Status: Needs more information Priority: Normal Assigned to: Category: executables Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: Two problems I see here: 1. I don't expect the daemon to run when I only want to output a commented default configuration: -> ps afx 70982 ?? Ss 0:00.02 /usr/local/bin/ruby18 /usr/local/bin/puppetmasterd --genconfig 2. After some time, running the command a second time is not possible since the daemon is then already running: -> puppetmasterd --genconfig Could not start WEBrick: Address already in use - bind(2) Running on FreeBSD 7.2 with ruby 1.8.7. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. 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-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
