archive-info.com » INFO » I » IFLOWFOR8HOURS.INFO

Total: 5

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • iflowfor8hours.info · iflowfor8hours.info
    Me iflowfor8hours info 20 Sep 2015 Practical Migrants guide to moving to London 14 Sep 2015 Keyboards and how they work The hardware inside your keyboard and the microcontroller 07 Sep 2015 Hacking the IBM 6112884 Keyboard 27 Aug 2015 Keyboards and how they work An Introduction 20 Apr 2014 Vagrant Jenkins and CoreOS quickstart 01 Nov 2013 Vagrant chef solo and databags learning experience 27 Nov 2012 Chef Testing

    Original URL path: http://www.iflowfor8hours.info/ (2016-04-27)
    Open archived version from archive

  • Presentations and Talks · iflowfor8hours.info
    organized the first African DevopsDays in Nairobi It was great The event page is here and more videos on youtube Practical Vagrant Quick introduction to using vagrant that I gave at the 2013 South Africa Scrum Gathering There is a github repo for the practical part Process Isolation Containers Chroots and Virtualization Internal presentation that I gave to my coworkers about different kinds of virualization and how they work Notes

    Original URL path: http://www.iflowfor8hours.info/page/presentations/ (2016-04-27)
    Open archived version from archive

  • Colophon · iflowfor8hours.info
    a former sysadmin developer now devops programmer see what I did there interested in functional programming juggling photography and electronic music Professionally I am a devops consultant with a deep interest in making shit awesome I ve worked in a few interesting places but you can see all that in my linkedin About This Site iflowfor8hours is a hugo based blog The blog compiles into static HTML with some javascript

    Original URL path: http://www.iflowfor8hours.info/page/colophon/ (2016-04-27)
    Open archived version from archive

  • Google IO 2012
    conf do user www data group www data mode node apache2 mode source apache2 conf erb end service apache2 do action enable end Attributes make this stuff fly in TODO include Ohai slide Cookbooks are Chef s fundamental units of distribution Recipes Attributes Resources Providers Templates Metadata Files Libraries Attributes Parameters to recipies node specific data apache2 attributes default rb default apache2 user www data default apache2 group www data default apache2 mode 0644 Attributes apache2 recipes default rb package apache2 template etc apache2 apache2 conf do user www data group www data mode node apache2 mode source apache2 conf erb end service apache2 do action enable end Resources Providers Cookbooks are Chef s fundamental units of distribution Recipes Attributes Resources Providers Templates Metadata Files Libraries Resources Providers zypper yum apt pkg add ips service is running debian upstart vs chkconfig vs redhat service apache2 recipes default rb package apache2 template etc apache2 apache2 conf do user www data group www data mode node apache2 mode source apache2 conf erb end service apache2 do action enable end Resources Providers zypper yum apt pkg add ips service is running debian upstart vs chkconfig vs redhat service Resources Providers service is running debian upstart vs chkconfig vs redhat service apache2 recipes default rb package apache2 template etc apache2 apache2 conf do user www data group www data mode node apache2 mode source apache2 conf erb end service apache2 do action enable end Resources Providers zypper yum apt pkg add ips service is running debian upstart vs chkconfig vs redhat service Lightweight Resources Providers cookbook can have an LWRP with no recipes LWRPs require less ruby knowledge as they are built using chef s DSL Lightweight Resources Providers cookbooks opscode resources database rb actions create delete attribute name kind of String name attribute true attribute type kind of String Lightweight Resources Providers cookbooks opscode providers mysql rb action create do execute create database do not if mysql e show databases grep new resource name command mysqladmin create new resource name end end action delete do execute delete database do only if mysql e show databases grep new resource name command mysqladmin drop new resource name end end Lightweight Resources Providers cookbooks monkeynews app recipes default rb opscode database monkeynews do type innodb action create provider opscode mysql end Templates Cookbooks are Chef s fundamental units of distribution Recipes Attributes Resources Providers Templates Metadata Files Libraries Templates note the apache2 conf erb apache2 templates default apache2 conf erb ServerRoot node apache dir PidFile node apache pid file Timeout node apache timeout Include node apache dir conf d Include node apache dir sites enabled Templates apache2 recipes default rb package apache2 template etc apache2 apache2 conf do user www data group www data mode node apache2 mode source apache2 conf erb end service apache2 do action enable end Metadata Cookbooks are Chef s fundamental units of distribution Recipes Attributes Resources Providers Templates Metadata Files Libraries Metadata Version apache2 metadata rb name apache2 maintainer Opscode Inc

    Original URL path: http://www.iflowfor8hours.info/presentations/chef_intro/chef_intro.html (2016-04-27)
    Open archived version from archive

  • Google IO 2012
    0644 notifies restart resources service tomcat end Solution Short term Hack Another way to fix this would be to move these values into attributes that can be overridden externally tomcat recipes default rb Rainyday ified cookbook template etc default tomcat6 do source default tomcat6 erb owner webadm group webadm mode 0644 notifies restart resources service tomcat end Problem A rash way to fix it would be to hard code the values to whatever aligns with RainyDay s policies tomcat recipes default rb open source community cookbook template etc default tomcat6 do source default tomcat6 erb owner root group root mode 0644 notifies restart resources service tomcat end Solution Can we do this tomcat application goat finder do owner node rainyDayTomcat user group node rainyDayTomcat group action configure end Solution Yes tomcat application goat finder do owner node rainyDayTomcat user group node rainyDayTomcat group action configure end Abstract Resources into LWRP tomcat recipes default rb open source community cookbook template etc default tomcat6 do source default tomcat6 erb owner root group root mode 0644 notifies restart resources service tomcat end Abstract Resources into LWRP tomcat providers application rb action configure do name new resource name tomcat owner new resource owner tomcat group new resource group template catalina base tomcat6 do source default tomcat6 erb owner tomcat owner group tomcat group mode 0644 notifies restart resources service tomcat end new resource update by last action true end Set the interface of LWRP tomcat resources application rb actions configure attribute name kind of String name attribute true attribute owner kind of String default root attribute group kind of String default root Wrapper Cookbook rainyDayTomcat Calling this resource is now as simple as calling any other defined resource in chef This allows for code re use not copy pasting and everything that comes with doing that rainyDayTomcat metadata rb name rainyDayTomcat version 0 1 0 description Configure tomcat for RainyDay Inc depends tomcat Wrapper Cookbook rainyDayTomcat Calling this resource is now as simple as calling any other defined resource in chef This allows for code re use not copy pasting and everything that comes with doing that rainyDayTomcat recipes goat finder rb tomcat application goat finder do owner node rainyDayTomcat user group node rainyDayTomcat group action configure end rainyDayTomcat attributes default rb default rainyDayTomcat user webadm default rainyDayTomcat group webadm Upload To Community Repo Umbrella Corp Now Tashawnda a developer with Umbrella Corp has to configure tomcat instances for her application Zombie Finder Problem After she pushes it back to the community if a another user needs to change a value that is hard coded in the library cookbook this is where LWRPs in library cookbooks shine This is because the original creator of the LWRP library cookbook doesn t need to over engineer while allowing the community to add or modify with ease For example a company called Umbrella has a security policy dictating the mode of the tomcat configuration file to be 600 The library cookbook s LWRP automatically sets it to

    Original URL path: http://www.iflowfor8hours.info/presentations/lwrp/lwrp-slides.html (2016-04-27)
    Open archived version from archive



  •