November DevOpsDC Meetup

Please join us for the November DevOpsDC Meetup!

Agenda:

6:30 - 7:00 - Meet, greet, eat, and add a topic to our list

7:00 - 7:10 - Announcements & Intros

7:15 - 9:00 - Presentations, conversations, etc.

  • Ruby: Not Just for Web Development - Keith BennetAlthough the Ruby language and the Ruby on Rails web development framework seem to be inseparable in the public eye, Ruby is an outstanding general purpose programming language in its own right, and has features that make it an excellent choice for system administration tasks.

    After an introduction to the Ruby language, we'll look at a few lines of Ruby code that extract values from a WordPress configuration file and automate the backup of a WordPress blog.
  • Test-driven ops at Brewster - Ric Lister - How the devops team at brewster.com uses Ruby to test their stuff. Featuring Auger and Front-End Loader.
  • Stay tuned for more...one or two additional presentations are in the works.  Maybe even yours!

Please tweet to @pburkholder if you have trouble finding us or getting in....

Join or login to comment.

  • Keith B.

    Ok, folks, I've finished polishing up (a little) the Unix users code I showed you Tuesday night. You can find it on Github as https://github.com/keithrbennett...­, but it's also now a Ruby gem that you can install as follows:

    gem install simple-unix-users

    Then, in irb, or in a script, you can do this:

    require 'simple-unix-users'
    users = Users.new

    Note that if you are running it on Mac OS, you will get a warning that the /etc/passwd file may not be parsed/understood correctly; the gem is really intended for Linux. In addition, to my surprise, my user name on my Mac was not listed in /etc/passwd! The /etc/passwd file has this note:

    # Note that this file is consulted directly only when the system is running
    # in single-user mode. At other times this information is provided by
    # Open Directory.

    I've added RSpec unit tests in the spec directory (on Github but not in the gem), in case anyone wants to see what RSpec tests look like.

    November 15, 2012

    • Ric L.

      Yep, the /etc/passwd et al on OSX are there mostly to keep a bunch of unix utilities happy. man opendirectoryd for the details (if you're on Mountain Lion).

      November 15, 2012

  • Keith B.

    (my message, part 2...)

    The slides from the Ruby slideshow are on my speakerdeck page at https://speakerdeck.com/keithrbe...­.

    On another note, I found out what the 'whoopsie' user on my system is. ;) Check out http://askubuntu.com/questions/...­. Short story: it's Ubuntu's error reporting daemon.

    I enjoyed meeting with you and hope to see you again.

    Regards,
    Keith

    --
    Keith Bennett
    http://about.me/keithrbennett­

    November 15, 2012

  • Ric L.

    Hey folks, I was asked about using external data sources for lists of hostnames in auger. So if you upgrade to the latest auger gem version you can now also define servers using expressions or a block that returns an array of hostnames, e.g.:

    server :app do
    array = someDbCall()
    end

    November 15, 2012

  • A former member
    A former member

    Excellent presentations on Ruby and its use for automating tasks and testing your systems.

    November 14, 2012

  • Peter B.

    Ric Lister has posted slides at:
    http://brewster.github.com/pres...­

    November 14, 2012

    • A former member
      A former member

      I'm definitely going to have to look into reveal.js for my next presentation. Looks like the kind of thing I've been wanting for a while.

      November 14, 2012

  • A former member
    A former member

    Going to be late. Google maps lied.

    November 13, 2012

  • Miguel

    I'm a bit under the weather so I won't be attending...my 2 coworkers are still going though, will they have problem to get in?

    November 13, 2012

  • Keith B.

    Can anyone familiar with the area (3000 K St NW) tell me where I can find a place to work nearby from mid to late afternoon with electricity and wifi?

    November 13, 2012

    • Peter B.

      Are you around? Just come up here. See my email.

      November 13, 2012

  • Keith B.

    Folks, on further thought, I came up with something better than the Wordpress parser to illustrate Ruby awesomeness -- it's simple but powerful code to manage user information from /etc/passwd. The Wordpress gem is still available on Github in case you're interested, at https://github.com/keithrbennett...­.

    Also, there will be some slide-type presentation, but we'll also exercise Ruby in irb, its interactive shell, and do a lot of inspecting of code.

    November 13, 2012

  • Deanna M.

    I'm familiar with PowerShell: the commands can become quite lengthy.

    I would love to get away from using the GUI that NetApp storage (custom flavor of UNIX) uses to gather information into reports that are useful to me.

    November 8, 2012

    • Keith B.

      Deanna - Do you know if they provide some kind of API or command line interface?

      November 8, 2012

    • Deanna M.

      I connect via SSH to the CLI.

      November 8, 2012

  • Keith B.

    All -

    I'm looking forward to showing you the Ruby language next Tuesday.

    I plan to give an overview of some of the (IMO) coolest features of the language, but in order to provide the most value, I'd like to ask if you have any specific questions about it.

    If you are already using another scripting language (e.g. Python, Perl), what are your frustrations or pain points with them? What would you like to be able to do that you can't?

    If you're not already using a scripting language, what kinds of things might you want to automate with one?

    Is there anything else not mentioned above that you'd like to see/discuss/learn about?

    - Keith Bennett
    http://about.me/keithrbennett­
    Work Status: Looking for Employment/Consulting Opportunities

    November 8, 2012

32 went

Imagine having a community behind you

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy