"GRANIER Bernard (MORPHO)" <[email protected]> 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:

,----
| 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 [email protected].
To post to this group, send email to [email protected].
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