{"id":495,"date":"2010-05-14T16:29:30","date_gmt":"2010-05-14T15:29:30","guid":{"rendered":"http:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/"},"modified":"2010-05-14T16:29:30","modified_gmt":"2010-05-14T15:29:30","slug":"puppet-fabric-and-a-perl-alternative","status":"publish","type":"post","link":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/","title":{"rendered":"Puppet, Fabric and a Perl alternative?"},"content":{"rendered":"<p>Some time later this month I&#39;m going to write more extensively about a project that I&#39;ve been working on, not continuously, but for the last couple of months. It is about <b>small and medium scale projects configuration management and deployment<\/b>.<\/p>\n<p>For <b>configuration management<\/b> I evaluated several products like <code>bcfg2<\/code>, <code>puppet<\/code>, <code>cfengine<\/code> and <code>lcfg<\/code>, and I finally chose <a href=\"http:\/\/www.puppetlabs.com\/\" rel=\"nofollow\">puppet<\/a>.<\/p>\n<p>For &quot;the last mile&quot;, as I call it, the alternatives that I considered were <a href=\"http:\/\/fabfile.org\" rel=\"nofollow\">fabric<\/a>, <a href=\"http:\/\/capify.org\" rel=\"nofollow\">capistrano<\/a>, <a href=\"http:\/\/controltier.com\" rel=\"nofollow\">ControlTier<\/a> and TheNewShinyWheel(tm)<\/p>\n<p>So I settled on <b>puppet + fabric<\/b>. Puppet is a Ruby system, while Fabric is Python code. None of them is particularly fast, actually Puppet is slow, and Fabric is acceptable. The main problem I&#39;m confronting with, after having learnt how to use these tools, is that <b>Fabric does not support parallel processing of tasks<\/b>.<\/p>\n<p>This is a severe limitation for us. This was a pilot project. If it works well, it could be applied to many other deployment tasks. That could also mean that <b>a single deployment has to send code or files to tens of servers<\/b>, and you <b>don&#39;t want to do that sequentially waiting for each task to complete<\/b>.<\/p>\n<p>At the moment, this is impossible to do with Fabric. There is <a href=\"http:\/\/github.com\/goosemo\/fabric\" rel=\"nofollow\">an experimental fork in the works that might support parallel execution<\/a>, by adding a <code>@parallel<\/code> task decorator, but it still requires work and a good dose of testing.<\/p>\n<p>During my survey I looked for mature Perl-based deployment tools, but I failed at finding them. While Fabric is nice, I might be tempted to reconsider my choice. Any suggestions?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some time later this month I&#39;m going to write more extensively about a project that I&#39;ve been working on, not continuously, but for the last couple of months. It is about small and medium scale projects configuration management and deployment. For configuration management I evaluated several products like bcfg2, puppet, cfengine and lcfg, and I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[231,310,50,260,441,352],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Puppet, Fabric and a Perl alternative? - Random hacking<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Puppet, Fabric and a Perl alternative? - Random hacking\" \/>\n<meta property=\"og:description\" content=\"Some time later this month I&#039;m going to write more extensively about a project that I&#039;ve been working on, not continuously, but for the last couple of months. It is about small and medium scale projects configuration management and deployment. For configuration management I evaluated several products like bcfg2, puppet, cfengine and lcfg, and I [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/\" \/>\n<meta property=\"og:site_name\" content=\"Random hacking\" \/>\n<meta property=\"article:published_time\" content=\"2010-05-14T15:29:30+00:00\" \/>\n<meta name=\"author\" content=\"cosimo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cosimo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/\"},\"author\":{\"name\":\"cosimo\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"headline\":\"Puppet, Fabric and a Perl alternative?\",\"datePublished\":\"2010-05-14T15:29:30+00:00\",\"dateModified\":\"2010-05-14T15:29:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/\"},\"wordCount\":266,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"keywords\":[\"deployment\",\"fabric\",\"perl\",\"puppet\",\"python\",\"ruby\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/\",\"name\":\"Puppet, Fabric and a Perl alternative? - Random hacking\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\"},\"datePublished\":\"2010-05-14T15:29:30+00:00\",\"dateModified\":\"2010-05-14T15:29:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Puppet, Fabric and a Perl alternative?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\",\"name\":\"Random hacking\",\"description\":\"Assume nothing. Code defensively. Keep it simple, stupid!\",\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\",\"name\":\"cosimo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"caption\":\"cosimo\"},\"logo\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Puppet, Fabric and a Perl alternative? - Random hacking","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/","og_locale":"en_US","og_type":"article","og_title":"Puppet, Fabric and a Perl alternative? - Random hacking","og_description":"Some time later this month I&#39;m going to write more extensively about a project that I&#39;ve been working on, not continuously, but for the last couple of months. It is about small and medium scale projects configuration management and deployment. For configuration management I evaluated several products like bcfg2, puppet, cfengine and lcfg, and I [&hellip;]","og_url":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/","og_site_name":"Random hacking","article_published_time":"2010-05-14T15:29:30+00:00","author":"cosimo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"cosimo","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#article","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/"},"author":{"name":"cosimo","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"headline":"Puppet, Fabric and a Perl alternative?","datePublished":"2010-05-14T15:29:30+00:00","dateModified":"2010-05-14T15:29:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/"},"wordCount":266,"commentCount":0,"publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"keywords":["deployment","fabric","perl","puppet","python","ruby"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/","url":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/","name":"Puppet, Fabric and a Perl alternative? - Random hacking","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website"},"datePublished":"2010-05-14T15:29:30+00:00","dateModified":"2010-05-14T15:29:30+00:00","breadcrumb":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2010\/05\/puppet-fabric-and-a-perl-alternative\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.streppone.it\/cosimo\/blog\/"},{"@type":"ListItem","position":2,"name":"Puppet, Fabric and a Perl alternative?"}]},{"@type":"WebSite","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website","url":"https:\/\/www.streppone.it\/cosimo\/blog\/","name":"Random hacking","description":"Assume nothing. Code defensively. Keep it simple, stupid!","publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1","name":"cosimo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","caption":"cosimo"},"logo":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/495"}],"collection":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":0,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/495\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/categories?post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/tags?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}