Create a fact that gives you the port status 

“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 

----- Original Message -----
From: "Virtual_user" <fos...@gmail.com> 
To: puppet-users@googlegroups.com 
Sent: Wednesday, August 28, 2013 11:05:07 AM 
Subject: [Puppet Users] Run a script if port is not running 


Hi, 
basically i have script and when i run the script its open a port and listen on 
that port. 


I know i can use augeas to add entry into /etc/services but i am not using 
xiented . 


is there any way to to find out if the port is running or not (10049) 
and if the port is not running then force the script to run ?? 


Thanks 
Kind Regards 





-- 
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 . 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to