Code Monkey home page Code Monkey logo

Comments (3)

alvagante avatar alvagante commented on July 28, 2024

Fixed here: f035570
There was a reason for that behaviour, it used to tear down puppet while running, on some OS where service check was not based on the init script's status.
I've made some checks activating and deactivating the option and it seems to work correctly now, so I suppose is safe to force service's stop when runmode=cron (the service was already disabled at boot).

from puppet-puppet.

eperdeme avatar eperdeme commented on July 28, 2024

This is breaking on Debian servers. It is forcing an init stop of the puppet client during the run.

Jan 31 09:35:29 ntp0 puppet-agent[7423]: (/Schedule[puppet]) Skipping device resources because running on a host
Jan 31 09:35:29 ntp0 puppet-agent[7423]: Executing '/etc/init.d/puppet status'
Jan 31 09:35:29 ntp0 puppet-agent[7423]: Executing '/etc/init.d/puppet stop'
Jan 31 09:35:29 ntp0 puppet-agent[7423]: Caught TERM; calling stop

Looking at the code it looks to be always going to do this, as running puppet agent --onetime writes out the PID file that the init script would use.

from puppet-puppet.

alvagante avatar alvagante commented on July 28, 2024

On which versions you find the issue? I tested on Debian 6 and didn't notice the problem, should double check.

from puppet-puppet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.