Issue #21043 has been updated by Josh Cooper.

Status changed from Accepted to In Topic Branch Pending Review
Target version set to 3.2.3
Branch set to https://github.com/puppetlabs/puppet/pull/1725

----------------------------------------
Bug #21043: runinterval setting in puppet.conf ignored on Windows in Puppet 
3.2.1
https://projects.puppetlabs.com/issues/21043#change-93435

* Author: Shane Madden
* Status: In Topic Branch Pending Review
* Priority: Normal
* Assignee: 
* Category: agent
* Target version: 3.2.3
* Affected Puppet version: 3.2.1
* Keywords: windows
* Branch: https://github.com/puppetlabs/puppet/pull/1725
----------------------------------------
Windows agents seem to no longer pay attention to `runinterval` as of 3.2.1.

Currently my Windows agents have `runinterval` set in both the `[agent]` and 
`[main]` sections as a leftover workaround from #17554 - neither section works. 
 Commenting out `runinterval` from one section or the other has no effect.

It's returning the configuration correctly using (as far as I can tell) the 
same command as `daemon.rb` is using to try to retrieve it:

    C:\>"c:/Program Files (x86)/Puppet Labs/Puppet/bin/puppet.bat" agent 
--configprint runinterval
    600

But `daemon.rb` is somehow getting a `0` as the result to that command:

    2013-06-03 16:32:26 -0600 Puppet (notice): Starting service: --debug
    2013-06-03 16:32:26 -0600 Puppet (notice): Service running
    2013-06-03 16:32:26 -0600 Puppet (debug): Using 'c:/Program Files 
(x86)/Puppet Labs/Puppet/bin/puppet.bat'
    2013-06-03 16:32:28 -0600 Puppet (err): Failed to determine runinterval, 
defaulting to 1800 seconds
    2013-06-03 16:32:28 -0600 Puppet (debug): Process created: 3100
    2013-06-03 16:32:28 -0600 Puppet (debug): Service waiting for 1800 seconds



-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to