Thanks Eric,

I am trying to implement some function tests. E.g. in my catalog for node B
there is LDAP client, however, I would like to do a test to see if the LDAP
server is already up and running. And decide if I want to apply the LDAP
Client or not. (This is a test on remote resource, I might also need to test
a resource local to the client, e.g. existence of a file, a service is
running, etc).

Maybe I can use custom facter for this?

Thank a lot

-Yushu

+-------------------------------------------------+
| Yushu Yao
| Ph:1-510-486-4690
|
| Lawrence Berkeley National Lab
| Mailstop 50B-6222
| 1 Cyclotron Road
| Berkeley CA 94720-8147 - USA
+-------------------------------------------------+




On Mon, Dec 13, 2010 at 10:54 AM, Eric Sorenson <eric.soren...@me.com>wrote:

> Functions are executed when parsing a manifest, which a client doesn't do
> -- a client applies a catalog.
>
> So it doesn't make sense to run a manifest parser on a client.
>
> What is the problem you are trying to solve?
>
> On Dec 13, 2010, at 10:37 AM, Yushu Yao wrote:
>
> > Hi Experts,
> >
> > As far as I can see custom functions run on the server, right?
> > Is there way to make them run on the Client?
> >
> > Thanks
> >
> > -Yushu
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> > To post to this group, send email to puppet-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@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-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@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-us...@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