#chef

/

      • acts_as__ has quit
      • maplebed_ joined the channel
      • maplebed_ has quit
      • michaelhart joined the channel
      • yfeldblu_ has quit
      • yfeldblum joined the channel
      • glen joined the channel
      • maplebed has quit
      • glen
        is there difference of @new_resource and new_resource in lrwp?
      • zenloop has quit
      • ema has quit
      • damian__ joined the channel
      • ndrei has quit
      • daxroc has quit
      • jaqque has quit
      • yuppers has quit
      • ndrei joined the channel
      • martinisoft has quit
      • allaire joined the channel
      • mapop joined the channel
      • alunduil joined the channel
      • jmickle joined the channel
      • shlant has quit
      • leozh has quit
      • shadoi has quit
      • emcfins joined the channel
      • leozh joined the channel
      • shadoi joined the channel
      • acts_as_coder joined the channel
      • acts_as_coder has quit
      • caryp has quit
      • acts_as_coder joined the channel
      • emcfins has quit
      • yuri1 has quit
      • sbrinkmeyer joined the channel
      • sbrinkmeyer
        hello
      • ikrima has quit
      • Majost
        Does chefspec support the .and compound matcher expression?
      • shawn_sher has quit
      • ehthayer joined the channel
      • jmickle has quit
      • I am getting a undefined method error -- but I would expect chefspec to add to the rspec-expectations instead of replace it
      • sbrinkmeyer
        has anyone used groovy (gradle) to get at chef data bags?
      • yuri1 joined the channel
      • i guess groovy could pull in jruby, then groovy could connect to the kitchen ....
      • Majost
        why would you do that?
      • that sounds painful
      • why not just use the client to dump it as json and parse it from gradle?
      • granted its a shell out.. but its probably a lot less of a headache.
      • paulmooring is now known as paulmooring_away
      • shlant joined the channel
      • damian__ has quit
      • wamilton joined the channel
      • databus23 joined the channel
      • sbrinkmeyer
        heh
      • ipalreadytaken joined the channel
      • we we gradle
      • we want to do smoke test running in our continuous integration environment
      • so you have a build agent running gradle on a chef controled build agent
      • justizin has quit
      • lopaka has quit
      • you could write a task that loads the environment, node, database, connection information from the agent for the build integration test to use
      • without hardcoding a properties file
      • but ... you make a good point
      • lukecarrier
        urgh
      • Chef on Ubuntu 14.04 is totally broken
      • nice that opscode kept apt.opscode.com up to date
      • wamilton has quit
      • waltisfrozen has left the channel
      • Majost
        lukecarrier: You can't use the omnibus installer?
      • I really don't know -- I haven't tried 14.04 with Chef just yet.
      • sethvargo joined the channel
      • scalp42 has quit
      • fleish joined the channel
      • sbrinkmeyer has quit
      • fleish
        hi all, I have an iptables template defined in a firewall recipe. it specifics "notifies :restart, "service[firewall]"" which I thought should only trigger the restart if the resulting iptables template file has changed - however it seems to be triggering every time the chef recipe runs.
      • lukecarrier
        Majost, if the website wasn't screwed I'd try
      • the packages Canonical ship have broken dependencies, though
      • troyready
        Broken on 14.04 you mean?
      • yuppers joined the channel
      • lukecarrier
        correct
      • Majost
        yeah, don't use their debs
      • lukecarrier
        well, opscode don't even build any
      • troyready
        Ah -- what's different now in 14.04 that's breaking it?
      • databus23 has quit
      • lukecarrier
        lord knows what happened to apt.opscode.com, that's an absolute joke
      • wamilton joined the channel
      • troyready, ruby-net-ssh-multi
      • Majost
      • lukecarrier
        Majost, tried that exact package IIRC
      • Majost
        Assuming you want 11.8.2 and AMD64
      • jchauncey has quit
      • troyready
        Well, it's stale and shouldn't be around anymore, but it's not suprising that the apt repo is out of date. It's no longer supported
      • Majost
        that *should* work on 14.04 even though its for 13.04/13.10
      • timothysabat has quit
      • timothysabat joined the channel
      • also can try this: curl -L https://www.opscode.com/chef/install.sh | sudo bash
      • timothysabat has quit
      • the latter basically pulls down the deb for you.
      • timothysabat joined the channel
      • troyready
        What's different about ruby-net-ssh-multi in trusty? Does the deb specifically require < 1.2 or something?
      • lukecarrier
        troyready, yep, I cba screwing around patching it
      • ikrima joined the channel
      • if it's broke, I'll drop chef-solo in favour of something less dep-heavy
      • canonical dropped it and re-adopted in the space of a year and I hate opscode's approach to releases, just cba rewriting everything
      • Majost
        troyready: I would advise against the ubuntu/debian packages for any of it though and opt for the omnibus version. Its updated more frequently and gets security fixes faster
      • yuppers has quit
      • lukecarrier
        Majost, what is the difference?
      • wamilton has quit
      • troyready
        Majost, I think we're having some terminology issue
      • kbarry has quit
      • Majost
        Omnibus basically has all the ruby deps self-contained
      • troyready
        the install.sh is still installing Chef via a debian package file
      • lukecarrier
        I'm sure opscode could use apt properly if they tried
      • Majost
        ah, yes -- true
      • troyready
        lukecarrier, I'm sure you're right, and I actually agree -- it's not exactly what I'd prefer
      • Majost
        When I reference the ubuntu/debian packages -- I mean the ones in their apt repo
      • not the .deb distributed by the company formally known as Opscode
      • troyready
        :)
      • wateronsand joined the channel
      • Majost
        and their apt repo, I mean canonical and debian.org
      • timothysabat has quit
      • troyready
        Hmm, where in a deb are the dependencies set? I'm trying to find the problem in the omnibus package and i don't see any dependencies listed in the control file
      • fleish not a fan of the omnibus .deb installer personally
      • Majost
        Honestly, I think they could still have maintained an apt repo in s3 with reprepro.
      • Majost shrugs
      • but whatever... its at least a deb.
      • fleish
        yeah, but it might as well be a tarball ;)
      • lukecarrier
        troyready, sorry, I'm being a dick. it's not in the actual deb control file, but you get a rubygems error on executing any chef* command
      • troyready
        And the install script seems like it's generic enough to keep working. lukecarrier, what is the exact ruby-net-ssh-multi error that's coming up?
      • splittingfield has quit
      • Majost
        troyready: they are all bundled within
      • lukecarrier
        "could not find net-ssh-multi (~> 1.1.0)"
      • Majost
        it really comes down to the fact that ruby is not a compiled language
      • glen
        02:06:59 glen> is there difference of @new_resource and new_resource in lrwp?
      • fleish
        anyone have any ideas on what's causing my firewall service restart posted above
      • troyready
        lukecarrier, sounds like you also have the chef gem installed in your system or profile?
      • fleish
        am I wildly misunderstanding notifies? seems like I'm using them in lots of other places and the restart/reload/$action only takes place if something changes
      • lukecarrier
        troyready, nope, just net-ssh-multi 1.2
      • this user acct has no rbenv/gems/rvm junk
      • Majost, we run a legacy systems management system at work, written in python with about 40 deps
      • yuri1 has quit
      • Majost, we use system python and grab our deps via pip, it's never been an issue
      • troyready
        lukecarrier, weird. So /opt/chef/bin/knife commands give the same error?
      • lukecarrier
        troyready, yep
      • we'll see what install.sh does
      • it looks to be dling newer packages so maybe all will work
      • Majost
        luke: great -- now try distributing that single piece of software with 40 deps to hundreds of thousands of customers.
      • ;)
      • lukecarrier
        Majost, that's what dependencies and post-inst hooks are for