Bootstrap YET infrastructure using Opscode Chef - part 3 - Rackspace

Last time I spoke about YET infrastructure everything was hosted on HP cloud managed by Chef. This thrid chapter will demonstrate how easy moving to another cloud provider could be when you use such a Configuration Management tool. Installing Knife Rackspace Rackspace Cloud Servers use a different variant of OpenStack when we compare it to HP Cloud. So there is a specific plugin to deal with their cloud. To install it you just need to type: ...

May 12, 2013 · 2 min · planetrobbie

Bootstrap YET infrastructure using Opscode Chef - part 2 - load balancing

In our first Boostrap YET article, we’ve seen how we could easily instantiate a new node at HP Cloud using knife hp and some Chef Cookbooks, Roles, … Today we’ll see how we can add Load Balancing into the picture using the HAProxy cookbook. Add HA Proxy cookbook to your chef-repo To install the community version of haproxy cookbook (it’s not the latest one): % knife cookbook site install haproxy NOTE: You could use Librarian-chef or Berkshelf to manage your cookbooks dependencies in a cleaner way. ...

December 19, 2012 · 2 min · planetrobbie

Bootstrap YET infrastructure using Opscode Chef - part 1

In this article, we will details all the required steps to build up an environment to host the previous incarnation of this blog on Nginx using Chef on HP Cloud. Twelve years later the world has changed and this blog is now hosted on a bare metal machine in Germany. Chef Repo cloning First of all, if you don’t already have a Chef Repository available on your Chef Workstation, you can clone one easily : ...

December 1, 2012 · 6 min · planetrobbie

nanoc

nanoc is a tool that runs on your local computer and compiles documents written in formats such as Markdown, Textile, Haml,… into a static web site consisting of simple HTML files, ready for uploading to any web server. Installation Start by installing the following dependencies # apt-get install ruby-dev zlib1g-dev libglib2.0-dev Continue on with all the required Gems. % gem install nanoc % gem install adsf # A Dead Simple Fileserver % gem install fssm # File System State Monitor % gem install kramdown # Markdown parser % gem install haml # HTML Abstraction Markup Language % gem install less # Invoke the Less CSS compiler from Ruby % gem install pygments.rb # Exposes the pygments syntax highlighter to Ruby % gem install coderay # Another Syntax Highlightter % gem install coderay_bash # Plugin to process Bash % gem install stringex # useful extensions to Ruby's String class % gem install nokogiri # Parser used by `nanoc validate-links` % gem install rainpress # A CSS compressor % gem install therubyracer # Call javascript code and manipulate javascript objects from ruby. % gem install rpeg-multimarkdown # MultiMarkdown processing used in a new Filter. (req. libgtk2.0-dev.) % gem install nanoc-guard # now replace nanoc watch command [see [docs](https://github.com/guard/guard-nanoc)] Create a web site create yet subdirectory with a blank web site ...

November 21, 2012 · 9 min · planetrobbie