<div class="gmail_quote"><span class="Apple-style-span" style="font-family: verdana, sans-serif;">2009/3/16 Roger Håkansson </span><span dir="ltr"><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><<a href="mailto:roger.hakansson@gmail.com">roger.hakansson@gmail.com</a>></span></span><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><span class="Apple-style-span" style="font-family: verdana, sans-serif;">Maciej Bliziński wrote:<br>
</span>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="Apple-style-span" style="font-family: verdana, sans-serif;">
Hi Gary,<br><br>
I can see you're using custom shell scripts to build facter and puppet<br>
packages[1]. Would you mind porting those builds to mGAR?<br><br></span>
</blockquote>
<span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">
In the spirit of the thematics of the month and having a few free minutes I took a quick look at it to help Gary.<br><br>
facter was no problem and what's in svn now builds a package which should be just like the released one.<br></span>
</blockquote></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family: verdana;">> <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; ">I'm not sure which address Gary actually uses.</span></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-family: verdana, sans-serif;">I'm pretty good at ignoring all of them. ;) so s<span class="Apple-style-span" style="border-collapse: separate; ">orry to get into this discussion late, I'm a little busy at the moment. ..</span></span></span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">Most of my packages are in mgar, but not facter and puppet thus far. They're very custom, not you're usual configure/make/make install. Then again, I just got djbdns into mgar, and that's a fairly custom too, so I'm sure it's doable. I'll take a look at the facter output when I get some free time for testing it.</span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br>puppet is a bit trickier since there are two startup scripts and I'm really not used to create packages which have startup scipts.<br>What's in svn isn't complete to build a package, right now pkgmk breaks due to problems with the startup scripts, but I commited it anyway so Gary at least have a starting point.<br>
</span></blockquote><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">The startup scripts are based on those shipped by puppet's developers, nice of them to put together svcadm friendly xml files, I just needed to sed 'em into CSW-friendly paths. Not too tricky. I've also, purely for my own purposes, just put together the needed methods and xmls for puppetmaster, and was planning to pop these into the next update of the package I go.</span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">If you want to see the gory details of the scripts, in order to see what customisation needs to be ported into gar, they're here:</span></div>
<div><span class="Apple-style-span" style="font-family: verdana; "><a href="http://garylaw.net/packages">http://garylaw.net/packages</a></span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">I've just re-uploaded tonight to make sure the published ones are the latest and greatest.</span></div>
<div><span class="Apple-style-span" style="font-family: verdana;"><br></span></div></div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">I fully intend to get these into mgar. One day. I've also suggested to the maintainers list that </span><span class="Apple-style-span" style="font-style: italic;"><span class="Apple-style-span" style="font-family: verdana, sans-serif;">all </span></span><span class="Apple-style-span" style="font-family: verdana, sans-serif;">CSW software be either ported to mgar or desupported. Custom scripts are really not the way to go. I feel, at the very least, the custom scripts that are used need to be published or the software pulled from the archives.</span></div>
<div><span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">Anyway, thanks for taking a look.</span></div><div>
<span class="Apple-style-span" style="font-family: verdana, sans-serif;"><br></span></div><div><span class="Apple-style-span" style="font-family: verdana, sans-serif;">Gary<br clear="all"></span><br>-- <br>Gary Law<br>
</div><div><br></div>