Bug #11686

The default value for the 'exec' type's 'timeout' is not published in the documentation

Added by Justin Honold over 1 year ago. Updated 7 months ago.

Status:ClosedStart date:01/03/2012
Priority:NormalDue date:
Assignee:Nick Fagerlund% Done:

0%

Category:-
Target version:2.7.20
Affected Puppet version: Branch:https://github.com/puppetlabs/puppet/pull/1004
Keywords:

Description

I recently ran into an exec timeout. The error was intuitive enough, but even debug mode didn’t display what the default is.

I checked out http://docs.puppetlabs.com/references/stable/type.html#exec and it also didn’t specify it, although it indicated that it is non-zero.

https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/exec.rb#L218 – an IRC user referred me – reveals that it is 300.

Can this data be published in the documentation? Perhaps dynamically?

History

#1 Updated by Christopher Gervais 12 months ago

I just ran into a similar issue, and my first instinct was to check the type reference. Thankfully Google found this issue, but it still deserves a mention in the docs.

#2 Updated by James Turnbull 11 months ago

  • Status changed from Unreviewed to In Topic Branch Pending Review
  • Assignee set to Nick Fagerlund
  • Branch set to https://github.com/puppetlabs/puppet/pull/1004

#3 Updated by Nick Fagerlund 11 months ago

  • Project changed from Puppet Documentation to Puppet
  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

Merged to 2.7.x in commit e87d1e9df77190cf14db1a2e287cefd4de8a61f5

#4 Updated by Nick Fagerlund 11 months ago

  • Target version set to 2.7.20

#5 Updated by Matthaus Owens 10 months ago

Released in Puppet 3.0.0-rc4

#6 Updated by Matthaus Owens 7 months ago

  • Status changed from Merged - Pending Release to Closed

Released in Puppet 2.7.20

Also available in: Atom PDF