#chef

/

      • zz_timnovinger is now known as timnovinger
      • timnovinger is now known as zz_timnovinger
      • kbarry has quit
      • shlant
        coderanger: but then would I change the ohai run_action to :nothing?
      • coderanger
        Yep
      • cudgel_
        @coderanger: how would I pass the attribute to knife ssh -a that represents "ec2 local_ipv4"
      • shlant
        coderanger: cool, thanks!
      • coderanger
        cudgel_: Try cloud.local_ipv4
      • cudgel_: Not 100% that supports the dotted syntax, but if it supports anything that would be it
      • achanda has quit
      • ericReeves has quit
      • MattMake_ joined the channel
      • pengin has quit
      • ashp
        searching XML in ruby, no fun
      • coderanger
        ashp: jenkins supports json formatting for all API data
      • ashp: Add format=json
      • crazysix joined the channel
      • ashp
        coderanger: Oh I'm directly parsing credentials.xml
      • I finally had enough of this shit
      • coderanger
        ashp: Oh, can't help ya there :)
      • alanwill joined the channel
      • ashp
        It got too painful
      • my nokogiri skills are weak but I managed to kludge something that seems to work
      • I know in the long run I'll pay for this horror
      • maniacal has quit
      • + credentials-id: '97abb961-0c88-4e60-94d7-7e82c01b5175'
      • maniacal joined the channel
      • mwhite|away is now known as mwhite
      • MattMaker has quit
      • I guess it worked but.. I'm pretty sure my soul just took a denting
      • cudgel_
        knife ssh "role:base" "uptime" -A -a ec2.local_ipv4 <-- just hangs. love it
      • JoeNuspl has quit
      • I may be forced to wring necks tomorrow
      • :D
      • Jan_Garaj3 has quit
      • raygunsix has quit
      • @coderanger: thanks tons for the support
      • coderanger
        cudgel_: Good luck 07
      • crazysix has quit
      • alexbst_ joined the channel
      • bnzmnzhnz joined the channel
      • cudgel_
        ah, ooh, I was missing the gateway config. works now. woot!
      • ericReeves joined the channel
      • maniacal has quit
      • xerox357 joined the channel
      • alexbst has quit
      • jsm has quit
      • raygunsix joined the channel
      • mwhite is now known as mwhite|away
      • metadave has quit
      • metadave joined the channel
      • coderanger
        :)
      • Guest____ has quit
      • cudgel_
        ok, now i'm trying something more complicated: knife search node "ec2.placement_availability_zone:us-east-1a"
      • returns 0 items found.
      • raygunsix has quit
      • is that search valid?
      • coderanger
        cudgel_: No, replace the . with a _
      • cudgel_: We're working on unifiying that :)
      • Guest__ joined the channel
      • Thesolonius has quit
      • cudgel_
        aha
      • v13? :)
      • works like a charm btw
      • coderanger
        cudgel_: Probably not, it will take a while given how core the search syntax is
      • c_t
        somewhere along the line, in my voluminous free time, I have some notions I want to try out for search
      • cudgel_
        I really need to dig into the code on this and further my understanding
      • ericReeves has quit
      • c_t
        that way lies madness, cudgel_
      • cudgel_
        knife ssh "ec2_placement_availability_zone:us-east-1a" "sudo yum update base" -A -a ec2.local_ipv4
      • dyer is now known as dyer|away
      • haha
      • coderanger
        Run away while you still can
      • cudgel_
        madness is a synonym for mastery imo :D
      • bash. sudo yum update bash
      • because, you know, bash updates
      • c_t
        oh, but this isn't even the good kind of madness
      • anyway, I feel like there's potential with using postgres' json bits to make search less hairy
      • rather than having to engage in solr (or ersatz solr, depending) abuse
      • coderanger
        c_t: Maybe, probably not quite yet. I've been keeping an eye on the new index types going in to 9.4
      • yfeldblum joined the channel
      • bmurt joined the channel
      • c_t
        coderanger: yeah, I think it needs 9.4
      • There's a bigger list of stuff waiting anyway, like orgs
      • alexbst_ has quit
      • coderanger
        c_t: Buuuuut I think with some plv8 it could definitely be done
      • c_t: So depends on how bonkers you are feeling
      • c_t
        well
      • alexbst joined the channel
      • goiardi kind of starts groaning with 5500 nodes added with fauxhai
      • it works, mind you
      • but the search index gets up around 6.5GB RAM
      • josef_ joined the channel
      • bmurt has quit
      • crazysix joined the channel
      • (goiardi has that internal ersatz solr query parser and index)
      • therealkoopa joined the channel
      • works fine for what it does
      • doesn't handle fuzzy searches real well
      • coderanger
        c_t: Yeah, I used whoosh for commis
      • same issues
      • c_t
        but I don't think anyone, anywhere, has ever used fuzzy or "near" searches for chef
      • metadave has quit
      • metadave joined the channel
      • k0rupted has quit
      • metadave has quit
      • it's still way fast with 5500 nodes, but it takes up a disturbing amount of RAM
      • coderanger
      • c_t
        so being able to use postgres' json stuff (even if it won't actually work until 9.4) seems worth at least investigating
      • paulmooring is now known as paulmooring_away
      • metadave joined the channel
      • coderanger
        c_t: It's a GiST plugin for hierarchical data, not sure if it was ever completed though
      • c_t lookies
      • c_t: Could potentially be combined with the hstore indexer system to build all the search we need inside postgres
      • c_t: But unless someone wants to pay me to build this I suspect Ill never get to it :P
      • crazysix has quit
      • bnzmnzhnz has quit
      • c_t
        I'll certainly check it out
      • I've never been quite sure solr was entirely the right tool for this particular job
      • coderanger
        c_t: Looks like http://www.sai.msu.su/~megera/postgres/gist/ltree/ is the continuation of that tree work
      • c_t: It isn't, not even remotely, it was just a convenient tool :)
      • c_t: hierarchial data search and FTS only look similar if you squint really hard
      • adamedx has quit
      • c_t
        or_if_you_do_something_like_this_deeply_nested_joy_and_fun: value
      • xrl joined the channel
      • sivy has quit
      • josef_ has quit
      • tjr9898 joined the channel
      • zz_timnovinger is now known as timnovinger
      • coderanger
        c_t: Data structures are haaaaaard
      • martinisoft
        coderanger: Think part of this is that the cookbook is using gem_package so this assumes a system ruby exists. Otherwise it’ll use the embedded ruby.
      • timnovinger is now known as zz_timnovinger
      • coderanger: Think I accidentally a bug
      • c_t
        coderanger: pretty much
      • martinisoft
        :x
      • coderanger
        martinisoft: Accidentally all the things
      • hasues joined the channel
      • c_t
        but as hard as Open House Night for elementary school?
      • I'm about to find out
      • martinisoft
        coderanger: But I don’t want all the things :(
      • crazysix joined the channel
      • sivy joined the channel
      • awc737 has quit
      • sivy has quit
      • sivy joined the channel
      • inigo888 has quit
      • zz_timnovinger is now known as timnovinger
      • inigo88 joined the channel
      • timnovinger is now known as zz_timnovinger
      • tjr9898 has quit