On Jan 23, 2011, at 5:04 AM, Stefan Schulte wrote:

> When I look through the code a lot of properties define values which
> return an event like »return :mount_created«. What is this event for?
> 
> The reason I want to know is the mount type. I made a few changes to
> implement #4914 and when I sync from :absent to :mounted I have to
>  1) create an fstab entry
>  2) mount
> 
> Should I return :mount_mounted or :mount_created, or does it accept an array? 
> Is this
> even important?

In the end, it's something that I added a long time ago because I knew we'd use 
it eventually, but we're only now getting to the point where it could be useful.

However, at the same time Puppet is now much, much better at autodetermining a 
reasonable event, so, basically, you should just entirely ignore it.

-- 
Anarchism is founded on the observation that since few men are wise
enough to rule themselves, even fewer are wise enough to rule others.
        -- Edward Abbey
---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199




-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to