[Puppet Users] Re: HP-UX Puppet Init Script !!

2014-03-24 Thread Ryan Anderson
A puppet init script would essentially be:

case $1 in

start)
  echo Starting puppet agent
  puppet agent --verbose
  ;;
stop)
  echo Stopping puppet agent
  kill `cat /var/run/puppet/agent.pid`
  ;;
esac

To make it work on HP-UX, copy the init script into /sbin/init.d, then 
create sym-links in /sbin/rc2.d/S99puppet and /sbin/rc0.d/K01puppet that 
point to it.


On Saturday, March 22, 2014 11:33:54 AM UTC-5, Rakesh K wrote:

 Hi,


 I have been successfully able to install puppet on hu-ux, all I am looking 
 is to run puppet agent from this server.

 Can someone please help me with the init script for puppet agent on HP-UX 
 ??

 It would be great if you have one, else if you can point me to the correct 
 directions for creating one.

 Thanks,

 Rakesh K


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/718530ff-ebf6-4c52-8fe2-29fac4ffdd44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: HP-UX Puppet Init Script !!

2014-03-24 Thread Rakesh Kathpal
looks great.. !!!

Thanks a lot Ryan..


On Mon, Mar 24, 2014 at 6:40 PM, Ryan Anderson ryan.c.ander...@gmail.comwrote:

 A puppet init script would essentially be:

 case $1 in

 start)
   echo Starting puppet agent
   puppet agent --verbose
   ;;
 stop)
   echo Stopping puppet agent
   kill `cat /var/run/puppet/agent.pid`
   ;;
 esac

 To make it work on HP-UX, copy the init script into /sbin/init.d, then
 create sym-links in /sbin/rc2.d/S99puppet and /sbin/rc0.d/K01puppet that
 point to it.



 On Saturday, March 22, 2014 11:33:54 AM UTC-5, Rakesh K wrote:

 Hi,


 I have been successfully able to install puppet on hu-ux, all I am
 looking is to run puppet agent from this server.

 Can someone please help me with the init script for puppet agent on HP-UX
 ??

 It would be great if you have one, else if you can point me to the
 correct directions for creating one.

 Thanks,

 Rakesh K

  --
 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 view this discussion on the web visit
 https://groups.google.com/d/msgid/puppet-users/718530ff-ebf6-4c52-8fe2-29fac4ffdd44%40googlegroups.comhttps://groups.google.com/d/msgid/puppet-users/718530ff-ebf6-4c52-8fe2-29fac4ffdd44%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAEJrXMX2N%3Dq-%3D81NoSNT1fgACz5E_j7rP0RN_ydu%2B0zUJSbdqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.