<p>I'll give you a straight answer. Chose Python. People who learned Perl forever ago still prefer it, of course. But since you are learning it as something new, chose Python.</p>
<p>The reason is the focus on readable code. No one ever wants to maintain someone else's Perl. Python has <a href="http://www.python.org/dev/peps/pep-0020/">http://www.python.org/dev/peps/pep-0020/</a> and pep 8 as cultural guidelines and it makes a huge difference in the help and examples you will find online.</p>
<div class="gmail_quote">On Oct 18, 2011 2:09 PM, "Chuck Payne" <<a href="mailto:terrorpup@gmail.com">terrorpup@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
No Puppet. I wish. I have to do via script. <br><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 1:56 PM, planas <span dir="ltr"><<a href="mailto:jslozier@gmail.com" target="_blank">jslozier@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204, 204, 204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<u></u>
<div><div><div></div><div>
On Tue, 2011-10-18 at 11:55 -0500, Doug Hall wrote:
<blockquote type="CITE">
<pre>For the record, I agree with Brian. There's probably already a puppet
recipe which does what you want to do.
<<a href="http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Patterns" target="_blank">http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Patterns</a>>
Unless this is a trivial, one-time thing that will not need to be
modified, I'd look at Puppet, first. Puppet can be used not only up
front, for setting up "standard" systems, but it can be used for
maintenance tasks, as well. We install Puppet clients on all our
equipment.
Puppet has its own Domain Specific Language (DSL) for getting things
done. It executes ruby code behind the scenes, but you won't need to
know ruby.
Doug
On Mon, Oct 17, 2011 at 2:38 PM, Brian Mathis
<<a href="mailto:brian.mathis+ale@betteradmin.com" target="_blank">brian.mathis+ale@betteradmin.com</a>> wrote:
> If you are looking to do this for system deployment, you might want to
> look into Puppet. It has a bigger learning curve up front, but it
> will pay off in the long run with better automation.
>
> In general this kind of scripting can be error prone because you need
> to worry about cases where you run the script and only 1/2 of it works
> (maybe because a package config file changed). The parts that did
> work have to be smart enough not to run again (not an easy task).
> Once you've got the logic in the script to avoid stuff like this,
> you're already on your way to writing a full-blown management system,
> so you might want to start there from the beginning.
>
</pre>
</blockquote></div></div>
Puppet is available in the Ubuntu Natty repositories, I assume also on the Onereic repositories also.
<div><blockquote type="CITE">
<pre>_______________________________________________
Ale mailing list
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
<br>
</div><font color="#888888"><table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
-- <br>
<font size="4">Jay Lozier</font><br>
<font size="4"><a href="mailto:jslozier@gmail.com" target="_blank">jslozier@gmail.com</a></font>
</td>
</tr>
</tbody></table>
</font></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="tel:%28678%29%20636-9678" value="+16786369678" target="_blank">(678) 636-9678</a><br>-----------------------------------------<br>Discover it! Enjoy it! Share it! openSUSE Linux.<br>
-----------------------------------------<br>openSUSE -- <a href="http://en.opensuse.org/User:Terrorpup" target="_blank">en.opensuse.org/User:Terrorpup</a><br>
openSUSE Ambassador/openSUSE Member<br>skype,twiiter,identica,friendfeed -- terrorpup<br>freenode(irc) --terrorpup/lupinstein<br>Register Linux Userid: 155363<br><br>Have you tried SUSE Studio? Need to create a Live CD, an app you want to package and distribute , or create your own linux distro. Give SUSE Studio a try. <a href="http://www.susestudio.com" target="_blank">www.susestudio.com</a>.<br>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div>