Let me understand this correctly - you want to use the Puppet RAL
layer to interrogate data such as free space on a mount?

At the moment you can't use RAL data elsewhere in Puppet content ...
but you can use the RAL layer in your own code and in things like
MCollective using the ralsh plugin ...

Perhaps you're after facts?

http://docs.puppetlabs.com/guides/custom_facts.html

Excuse me if my understanding of your needs is completely out of whack
:-). Maybe you want to describe what you want to do with this data
once you have gathered it.

ken.

On Thu, Jul 7, 2011 at 4:34 AM, Victor Hooi <victorh...@gmail.com> wrote:
> Hi,
> I'm currently looking at migrating from some home-rolled Python scripts to
> using Puppet =).
> One of the things we need to check for is that there is sufficient free disk
> space on a mountpoint (for logging etc.) this is currently quite easy in
> Python using statvfs().
> Are there any resources in Puppet that might be able to do this? I checked
> the mount type
> (http://docs.puppetlabs.com/references/stable/type.html#mount), but it
> didn't seem to have anything to do this.
> Cheers,
> Victor
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/lE1ahe-Z5KoJ.
> 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.
>

-- 
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