GOMAXPROCS picks number of CPUs using sysconfig - Also updated Serverspec to 2.0

Current server spec installation will use 2.0 - which means i have to
change spec_helper and matchers.

Also consul uses the ui with an extra relative folder consul_ui - that
had to be fixed for server spec to pass
I think you'll need to just read the file on disk and grep for it. 

Jamie Winsor
@resetexistence

> On Oct 16, 2014, at 10:05 AM, Goncalo Pereira <notifications@github.com> wrote:
> 
> In recipes/_service.rb:
> 
> > @@ -130,6 +130,14 @@
> >  
> >  case node['consul']['init_style']
> >  when 'init'
> > +  template '/etc/sysconfig/consul' do
> > +    source 'consul-sysconfig.erb'
> > +    mode 0755
> > +    variables(
> > +      gomaxprocs: node['cpu']['total']
> @reset thank you. Is there a way to test this in rspec if it is not added by the resource?
> 
> —
> Reply to this email directly or view it on GitHub.