Issue #3644 has been updated by Alan Barrett.
Markus Roberts wrote: > I don't think you mean this, or at I expect you haven't thought it through. > "Don't loop more than once for any reason" is an unreasonable expectation. > For example, if you had a catalog with a file resource set to recurse, would > you expect it to only do the first file it found, or loop through all of > them? What about retrying bad tcp/ip packets--do you expect --onetime to > turn that off? Neither of your examples involve looping in the sense that I intended. Recursing for a file resource handles each file exactly once, and I think it unlikely that you were serious about the tcp/ip example. > It seems pretty clear to me, not just from the documentation but from the > logic of the situation [...] When I search the wiki for "waitforcert", I get no real documentation, but a few examples that led me to assume that "--waitforcert 30" meant "wait up to 30 seconds for a certificate". Your statement that it meant "poll every 30 seconds" was quite new to me, but if that is in fact what it's supposed to mean, then I agree that this ticket can be rejected. ---------------------------------------- Bug #3644: --waitforcert does not play nicely with --onetime http://projects.puppetlabs.com/issues/3644 Author: Alan Barrett Status: Rejected Priority: Normal Assigned to: Markus Roberts Category: executables Target version: 0.25.5 Affected version: 0.25.4 Keywords: Branch: running "puppetd --onetime --test --waitforcert 1" does not wait one second for the certificate and then exit; it loops forever printing <pre> warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate </pre> once per second. -- 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://projects.puppetlabs.com/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.
