/blog/public/blog/2012/04/01/weekend-chef-and-puppet-projects/index.html
HTML | 274 lines | 162 code | 108 blank | 4 comment | 0 complexity | f82a02f02cc710e9008efa72ce8e91af MD5 | raw file
- <!DOCTYPE html>
- <!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
- <!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
- <!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
- <head>
- <meta charset="utf-8">
- <title>Weekend Chef and Puppet Projects - WYSIWYG</title>
- <meta name="author" content="Sascha Bates">
-
- <meta name="description" content="I have a few clients that I keep in touch with and take on small projects from time to time. This has been a strange week. I’m …">
-
- <!-- http://t.co/dKP3o1e -->
- <meta name="HandheldFriendly" content="True">
- <meta name="MobileOptimized" content="320">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link rel="canonical" href="http://brattyredhead.com/blog/2012/04/01/weekend-chef-and-puppet-projects">
- <link href="/favicon.png" rel="icon">
- <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
- <script src="/javascripts/modernizr-2.0.js"></script>
- <script src="/javascripts/ender.js"></script>
- <script src="/javascripts/octopress.js" type="text/javascript"></script>
- <link href="/atom.xml" rel="alternate" title="WYSIWYG" type="application/atom+xml">
- <!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
- <link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
- <link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
-
- </head>
- <body >
- <header role="banner"><hgroup>
- <h1><a href="/">WYSIWYG</a></h1>
-
- <h2>no subtext here</h2>
-
- </hgroup>
- </header>
- <nav role="navigation"><ul class="subscription" data-subscription="rss">
- <li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
-
- </ul>
-
- <form action="http://www.duckduckgo.com/" method="get">
- <fieldset role="search">
- <input type="hidden" name="q" value="site:brattyredhead.com" />
- <input class="search" type="text" name="q" results="0" placeholder="Search"/>
- </fieldset>
- </form>
-
- <ul class="main-navigation">
- <li><a href="/">Blog</a></li>
- <li><a href="/blog/archives">Archives</a></li>
- </ul>
- </nav>
- <div id="main">
- <div id="content">
- <div>
- <article class="hentry" role="article">
-
- <header>
-
- <h1 class="entry-title">Weekend Chef and Puppet Projects</h1>
-
-
- <p class="meta">
-
-
- <time datetime="2012-04-01T00:00:00-05:00" pubdate data-updated="true">Apr 1<span>st</span>, 2012</time>
-
- </p>
-
- </header>
- <div class="entry-content"><p>I have a few clients that I keep in touch with and take on small projects from time to time. This has been a strange week. I’m technically full time on a project at the moment and I haven’t gotten any calls for new work in a couple of months. It’s been quiet. Then all of the sudden Wednesday I had 3 different people contact me about work. </p>
- <p><br />One call was actually for some awesome Chef work at a place I’ve been before that I’d love to go back to. It really pained me to tell them that I thought they had in-house resources of which they weren’t aware and that these resources would be more than sufficient to Chef their project without my help. Sadface Sascha.</p>
- <p><br />Another call was from someone I do work for from time to time. Their projects source my “Puppet for Chef” series, if 2 blog posts can be called a series. In my head I have a 3rd one on templates but haven’t gotten around to it yet. This 3wk run may source some if I’m lucky. I agreed to do some ad hoc sysadmin work for these guys because they’re in a swivet, getting ready for a PCI audit in 3 weeks.</p>
- <p>The job: There are about 150 Centos 5 servers. Caveat: some of the servers on the list may be retired already. Examine all of the configuration files for ConfigServer Firewall, bring them under Puppet control. Individual node config sets are ok (ugh). All servers are running a puppet client. I don’t know if it’s the same client. The master was at 2.7.9 last I checked, I think.<p />I have a mini Chef project too for the weekend, but I think I’ll save that for another blog post. I actually wrote post of this post on Saturday morning and am just finishing it up. I haven’t actually started my Puppet stuff except to wonder if they have some command line tools and think I’d better get to writing some tcp testers and comparison scripts if there isn’t such a thing.</p>
- <p><br />I actually spent a chunk of time working on my Chef thing which was an exercise in frustration. It’s for a Windows Ohai plugin and the actual ruby work was a piece of cake. Testing has made me crazy though. Windows servers don’t fire up as fast as Linux for one and they are a huge pain in the ass to interact with. On my todo list is an SSH server for Windows cookbook, unless my ultimate wish of hoping that all Windows servers DIAF happens prior to that. The ssh cookbook is half done, like so many things.</p>
- <p>I also am not sure I understand the testing strategy. I didn’t write any new code so I shouldn’t need to author any tests (relief). But it turns out I can’t seen any windows testing happening in the run, or at least, I think that’s what’s not happening. It ran happily on my Mac and then I thought maybe I should run the test on the Windows box too to see if the output was different. It was different. But I think that’s because there’s no Windows plugin tests in there? Wondering if I missed them? I was planning to email the chef-dev list tomorrow to see if I can get some love. Unfortunately the time I have to work on pet projects is the weekends and the IRC channels were like graveyards this weekend.<p />But I digress. I also ran manual tests - you know, the kind where you do stuff by hand and watch the output? My Ohai changes tested perfectly sanely on my Windows 7 64bit workstation. They tested insanely on a 2008r2 VMware VM I had available to me. And when I went into ec2 to fire up a neutral 2008r2, I discovered Ohai hangs on gathering ec2 metadata when run from the command line. I have no idea why. I hand-edited the ec2 plugin and the mixin/ec2_metadata to try and eke out some debug info but I got no joy. While the problem fascinated me, that was as far down that yak shave as I wanted to go today. So I put away the Chef and cleaned up the yard for 2 hours.</p>
- <p>Now I guess it’s time to play with Puppet!</p>
- </div>
- <footer>
- <p class="meta">
-
-
- <span class="byline author vcard">Posted by <span class="fn">Sascha Bates</span></span>
-
-
- <time datetime="2012-04-01T00:00:00-05:00" pubdate data-updated="true">Apr 1<span>st</span>, 2012</time>
-
- </p>
-
- <div class="sharing">
-
- <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://brattyredhead.com/blog/2012/04/01/weekend-chef-and-puppet-projects/" data-via="sascha_d" data-counturl="http://brattyredhead.com/blog/2012/04/01/weekend-chef-and-puppet-projects/" >Tweet</a>
-
-
-
- </div>
-
- <p class="meta">
-
- <a class="basic-alignment left" href="/blog/2012/03/26/annoying-recruiter-call-45/" title="Previous Post: Annoying Recruiter Call #45">« Annoying Recruiter Call #45</a>
-
-
- <a class="basic-alignment right" href="/blog/2012/04/15/yak-hacking/" title="Next Post: Yak Hacking - A Story">Yak Hacking - A Story »</a>
-
- </p>
- </footer>
- </article>
- </div>
- <aside class="sidebar">
-
- <section>
- <h1>About Me</h1>
- <p>A little something about me.</p>
- </section>
- <section>
- <h1>Recent Posts</h1>
- <ul id="recent_posts">
-
- <li class="post">
- <a href="/blog/2012/05/27/finding-sanity-with-chef/">Finding Sanity With Chef</a>
- </li>
-
- <li class="post">
- <a href="/blog/2012/05/08/test/">test</a>
- </li>
-
- <li class="post">
- <a href="/blog/2012/04/27/my-favorite-jvm-arg-ever/">My Favorite JVM Arg EVER</a>
- </li>
-
- <li class="post">
- <a href="/blog/2012/04/26/the-alien-technology-tuning-challenge/">The Alien Technology Tuning Challenge</a>
- </li>
-
- <li class="post">
- <a href="/blog/2012/04/15/yak-hacking/">Yak Hacking - A Story</a>
- </li>
-
- <li class="post">
- <a href="/blog/2012/04/01/weekend-chef-and-puppet-projects/">Weekend Chef and Puppet Projects</a>
- </li>
-
- <li class="post">
- <a href="/blog/2012/03/26/annoying-recruiter-call-45/">Annoying Recruiter Call #45</a>
- </li>
-
- <li class="post">
- <a href="/blog/2012/03/23/i-am-not-a-fangirl/">I am not a fangirl</a>
- </li>
-
- <li class="post">
- <a href="/blog/2011/11/19/puppet-for-chef-users-part-2-when-is-a-node-a/">Puppet for Chef Users - Part 2 - When is a node a node? </a>
- </li>
-
- <li class="post">
- <a href="/blog/2011/11/07/puppet-for-chef-users/">Puppet for Chef Users</a>
- </li>
-
- </ul>
- </section>
- <section>
- <h1>Latest Tweets</h1>
- <ul id="tweets">
- <li class="loading">Status updating...</li>
- </ul>
- <script type="text/javascript">
- $.domReady(function(){
- getTwitterFeed("sascha_d", 4, false);
- });
- </script>
- <script src="/javascripts/twitter.js" type="text/javascript"> </script>
-
- <a href="http://twitter.com/sascha_d" class="twitter-follow-button" data-show-count="false">Follow @sascha_d</a>
-
- </section>
- <section>
- <h1>My Pinboard</h1>
- <ul id="pinboard_linkroll">Fetching linkroll...</ul>
- <p><a href="http://pinboard.in/u:sascha_d">My Pinboard Bookmarks »</a></p>
- </section>
- <script type="text/javascript">
- var linkroll = 'pinboard_linkroll'; //id target for pinboard list
- var pinboard_user = "sascha_d"; //id target for pinboard list
- var pinboard_count = 3; //id target for pinboard list
- (function(){
- var pinboardInit = document.createElement('script');
- pinboardInit.type = 'text/javascript';
- pinboardInit.async = true;
- pinboardInit.src = '/javascripts/pinboard.js';
- document.getElementsByTagName('head')[0].appendChild(pinboardInit);
- })();
- </script>
-
- </aside>
- </div>
- </div>
- <footer role="contentinfo"><p>
- Copyright © 2012 - Sascha Bates -
- <span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
- </p>
- </footer>
-
- <script type="text/javascript">
- (function(){
- var twitterWidgets = document.createElement('script');
- twitterWidgets.type = 'text/javascript';
- twitterWidgets.async = true;
- twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
- document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
- })();
- </script>
- </body>
- </html>