On 22 February 2013 06:24, Kyle Sexton <k...@mocker.org> wrote:

> "GRANIER Bernard (MORPHO)" <bernard.gran...@morpho.com> writes:
>
> > Hi,
> >
> > I need to describe dependencies between nodes, for example,
> > to be sure that database is deployed on one node before
> > deploying web application on another node.
> >
>
> I haven't messed with inter-dependent nodes yet, but exported resources
> might fit the bill.  Something like:
>


I agree with Kyle.

This seems like the best way to achieve this sort of node interdependence.


,----
> | node a {
> |     # Do this when the DB is installed
> |     @@file { "/tmp/dbdone.txt": content => "Woo, DB installed!\n", tag
> => "dbdone", }
> | }
> |
> | node b {
> |     File <<| tag == 'foofile' |>>
> | }
> `----
>
>
> Then if /tmp/dbdone.txt is on nodeb it's safe to install?  Again,
> haven't tried this but potentially worth looking at.  No matter what I'm
> curious what the solution is.
>
>
> --
> Kyle Sexton
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


Reply via email to