Hi,

To my knowledge there is no simple way. I know there has been talk of this 
previously on the list so you can search that for other answers.

That said a possibility is that you can have a custom fact that checks for an 
open port on the server. If it responds set it to true. There are obvious 
issues with this and may not prove to be reliable. 

The main thing here is that the client should have the package or it shouldn't. 
 It's not good practice to define the current state of a node depending on the 
current state of another. That is, system configuration should be independent 
of each other's state.

You can also look at orchestration tools like MCollective that might help you 
get your end goal. 

Cheers,
Den

On 01/05/2012, at 0:14, Phil Cooper <phil.coo...@ammeon.com> wrote:

> Hi.
> 
> I have  to install a client/server app. The server end is easily set
> up but I need a puppet module that ensures a package is installed on a
> managed node only if the server package has already been installed on
> a different server.
> 
> Is there a way to do this?
> -- 
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. 
> If you have received this email in error please notify the system manager. 
> This message contains confidential information and is intended only for the 
> individual named. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail.
> 
> -- 
> 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.
> 
> 
> -- 
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. 
> If you have received this email in error please notify the system manager. 
> This message contains confidential information and is intended only for the 
> individual named. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail.
> 

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