On Apr 1, 2009, at 8:51 PM, Kyle Cordes wrote:

>
> Ohad Levy wrote:
>> puppetrun, and as we don't run puppetd as a daemon (running it from  
>> cron
>> due to large memory consumption while idle), I went forward and
>
> Here is a semi-related thought.
>
> Without regard for memory consumption, but rather due to the notion  
> that
> system-wide, manageable, canonical mechanisms are better than
> app-specific mechanisms, I would prefer that Puppet did not have a
> daemon mode, scheduler, sleep-N-minutes mechanism etc., at all; but
> rather that the Puppet install process set it up in cron. Of course I
> can set it up that way myself, but what I wish was that Puppet didn't
> carry the burden of its own mechanism: no code for it, no command line
> options, no init.d script, no wiki pages about it, no discussion of  
> it, etc.


The code around being a daemon is a very, very small amount of code,  
especially given that the server needs to be a daemon anyway.

And I have to admit that the reasons for puppetd being a daemon are  
less valid than I'd hoped - in particular, the 'resource' API is  
powerful and potentially really useful, with the right central tools.   
I do hope we'll be making them more valid and more useful in the next  
year or so, but I have lots of hopes and not enough time for them all.

In the meantime, it's easy enough to skip the daemon mode.

-- 
The hypothalamus is one of the most important parts of the brain,
involved in many kinds of motivation, among other functions. The
hypothalamus controls the "Four F's": 1. fighting; 2. fleeing;
3. feeding; and 4. mating.
     -- Psychology professor in neuropsychology intro course
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to