<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000066"> <small><font face="Verdana">Hi Group,</font><font face="Verdana"><br> <br> I have now configured puppet many times on CentOS and have made it work on Mongrel as well. Today, I was trying it on Ubuntu Hardy but can''t locate the file </font><font face="Verdana"><br> <br> /etc/sysconfig/puppetmaster to uncomment the line "PUPPETMASTER_PORTS=( 18140 18141 18142 18143 )"</font><font face="Verdana"><br> <br> I event tried passing "--servertype=mongrel" argument in /etc/init.d/puppetmaster script but still it didn''t work. Any ideas how to make it work on Ubuntu??</font><font face="Verdana"><br> <br> Many Thanks,<small><br> <big>Dhruv</big> </small></font></small> <blockquote cite="mid:4A5ED837.8080403@gmail.com" type="cite"><small></small></blockquote> <small><font face="Verdana"><br> </font></small> <br> --~--~---------~--~----~------------~-------~--~----~<br> You received this message because you are subscribed to the Google Groups "Puppet Users" group. <br> To post to this group, send email to puppet-users@googlegroups.com <br> To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en<br> -~----------~----~----~----~------~----~------~--~---<br> </body> </html> <br>
Bjørn Dyre Dyresen
2009-Jul-16 07:45 UTC
[Puppet Users] Re: Puppet + Mongrel on Ubuntu Hardy
In my initscript on ubuntu hardy running puppet with mongrel I use:
for argument in "$port1" "$port2" "$port3"
"$port4" "$port5"
"$port6"
do
puppetmasterd \
--pidfile=/var/run/puppetmasterd/puppetmasterd."${argument}".pid
\
--servertype=mongrel \
--ssl_client_header=HTTP_X_SSL_SUBJECT \
--masterport="${argument}" \
--logdir=/var/log/puppet
done
For starting puppet. It''s a while since I did this, but I think I
mostly
followed the docs.
Regards
Bjørn Dyresen
2009/7/16 Soi, Dhruv <soi.dhruv@gmail.com>
> Hi Group,
>
> I have now configured puppet many times on CentOS and have made it work on
> Mongrel as well. Today, I was trying it on Ubuntu Hardy but can''t
locate the
> file
>
> /etc/sysconfig/puppetmaster to uncomment the line
"PUPPETMASTER_PORTS=(
> 18140 18141 18142 18143 )"
>
> I event tried passing "--servertype=mongrel" argument in
> /etc/init.d/puppetmaster script but still it didn''t work. Any
ideas how to
> make it work on Ubuntu??
>
> Many Thanks,
> Dhruv
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
Thanks, I found an init script here:
<a class="moz-txt-link-freetext"
href="http://pastie.textmate.org/120468.txt">http://pastie.textmate.org/120468.txt</a>
and it worked for me. Thanks for
your help.<br>
<br>
Bjørn Dyre Dyresen wrote:
<blockquote
cite="mid:535107660907160045s384635a2pf6c6f580e3094a39@mail.gmail.com"
type="cite">In my initscript on ubuntu hardy running puppet with
mongrel I use:<br>
<br>
for
argument in "$port1" "$port2" "$port3"
"$port4" "$port5"
"$port6"<br>
do<br>
puppetmasterd \<br>
--pidfile=/var/run/puppetmasterd/puppetmasterd."${argument}".pid
\<br>
--servertype=mongrel \<br>
--ssl_client_header=HTTP_X_SSL_SUBJECT \<br>
--masterport="${argument}" \<br>
--logdir=/var/log/puppet<br>
done<br>
<br>
<br>
For starting puppet. It''s a while since I did this, but I think I
mostly followed the docs.<br>
<br>
<br>
Regards<br>
Bjørn Dyresen<br>
<br>
<br>
<br>
<div class="gmail_quote">2009/7/16 Soi, Dhruv <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:soi.dhruv@gmail.com">soi.dhruv@gmail.com</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt
0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff"
text="#000066"><small><font face="Verdana">Hi
Group,</font><font face="Verdana"><br>
<br>
I have now configured puppet many times on CentOS and have made it work
on Mongrel as well. Today, I was trying it on Ubuntu Hardy but can''t
locate the file </font><font face="Verdana"><br>
<br>
/etc/sysconfig/puppetmaster to uncomment the line "PUPPETMASTER_PORTS=(
18140 18141 18142 18143 )"</font><font
face="Verdana"><br>
<br>
I event tried passing "--servertype=mongrel" argument in
/etc/init.d/puppetmaster script but still it didn''t work. Any ideas how
to make it work on Ubuntu??</font><font
face="Verdana"><br>
<br>
Many Thanks,<small><br>
<big>Dhruv</big>
</small></font></small>
<small><font face="Verdana"><br>
</font></small>
<br>
</div>
<br>
</blockquote>
</div>
<br>
<br>
<br>
</blockquote>
<br>
<br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups
"Puppet Users" group. <br> To post to this group, send
email to puppet-users@googlegroups.com <br> To unsubscribe from this
group, send email to puppet-users+unsubscribe@googlegroups.com <br> For
more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en<br>
-~----------~----~----~----~------~----~------~--~---<br>
</body>
</html>
<br>
On Jul 16, 1:37 am, "Soi, Dhruv" <soi.dh...@gmail.com> wrote:> Hi Group, > I have now configured puppet many times on CentOS and have made it work on Mongrel as well. Today, I was trying it on Ubuntu Hardy but can''t locate the file > /etc/sysconfig/puppetmaster to uncomment the line "PUPPETMASTER_PORTS=( 18140 18141 18142 18143 )" > I event tried passing "--servertype=mongrel" argument in /etc/init.d/puppetmaster script but still it didn''t work. Any ideas how to make it work on Ubuntu?? > Many Thanks,DhruvI realize I''m a little late to the party here, but I saw this post while searching for information about using Puppet on Ubuntu and thought I''d go ahead and respond just in case anyone else comes across this post and has the same question. On Ubuntu the equivalent of the / etc/sysconfig/ folder which is found on many RedHat-based distros is actually found at /etc/defaults/ as far as I can tell. At least on the Ubuntu system I''m using at the moment, there is configuration files for Puppet in this folder which appear extremely similar to the files found in /etc/sysconfig/ on my Mandriva system. I hope that information helps someone. :) --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---