Issue #21043 has been updated by Josh Cooper.
Status changed from Needs More Information to Accepted
Thanks Shane, I see the behavior also, and it is due to moving to ruby 19. But
it only seems to occur when running as a service. If I do the following in irb
(ruby19) it works fine:
<pre>
%x{ "#{puppet}" agent --configprint runinterval }.to_i
</pre>
I'll need to debug further to see why.
----------------------------------------
Bug #21043: runinterval setting in puppet.conf ignored on Windows in Puppet
3.2.1
https://projects.puppetlabs.com/issues/21043#change-92157
* Author: Shane Madden
* Status: Accepted
* Priority: Normal
* Assignee:
* Category: agent
* Target version:
* Affected Puppet version: 3.2.1
* Keywords:
* Branch:
----------------------------------------
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.