On Thu, Jul 16, 2009 at 12:29 PM, Moty <motyla@gmail.com> wrote:
>
>
> Does anyone know of a way to "require" other node ?
>
> For example :
>
> I want to configure NFS mounts . So I want to
> "require" in the manifest the exports on the NFS server before
> I try to mount it.
There is no way to do this currently within puppet. That being said
it should be possible to add this feature to storedconfigs
and the
language. If you are using storedconfigs, you could write a function
that looks up an
exported
resource in the db and returns true or false. You could then use a conditional
to determine whether or not the filesystem should be mounted.
-teyo
>
>
>
> 10x in advance
>
> Moty
> >
>
--
Teyo Tyree :: www.reductivelabs.com :: +1.615.275.5066
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---