Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 18 2015 22:51

    svanzoest on master

    Update the gitter.im token (compare)

  • Feb 18 2015 18:46
    someara added as member
  • Feb 18 2015 17:34

    svanzoest on master

    opscode2chef Merge pull request #316 from so… (compare)

  • Feb 18 2015 17:34
    svanzoest closed #316
  • Feb 18 2015 17:01
    someara commented #316
  • Feb 18 2015 16:51
    svanzoest commented #316
  • Feb 18 2015 16:50
    someara commented #316
  • Feb 18 2015 16:48
    svanzoest commented #316
  • Feb 18 2015 16:41
    someara opened #316
  • Feb 17 2015 08:12
    hrak commented #295
  • Feb 17 2015 03:30

    svanzoest on master

    Update maintainer metadata (compare)

  • Feb 17 2015 03:18
    svanzoest commented #230
  • Feb 17 2015 03:18
    svanzoest closed #230
  • Feb 17 2015 03:13
    svanzoest commented #241
  • Feb 17 2015 03:04

    svanzoest on master

    Also reference #293 in CHANGELOG (compare)

  • Feb 17 2015 03:01

    svanzoest on master

    Update CHANGELOG (compare)

  • Feb 17 2015 02:51
    svanzoest commented #258
  • Feb 17 2015 02:51
    svanzoest closed #258
  • Feb 17 2015 02:50
    svanzoest closed #315
  • Feb 17 2015 02:50
    svanzoest commented #315
Taylor Price
@drpebcak
i just committed the change i made to get centos to work
Sander van Zoest
@svanzoest
I also wanted to see if the chef-client freebsd changes are now smoothed out with chefspec.
did we upgrade to serverspec 2?
Taylor Price
@drpebcak
actually, im noticing that we dont have serverspec in our gemfile
Sander van Zoest
@svanzoest
it doesn't need to be in there. It is pulled in by test-kitchen busser
Taylor Price
@drpebcak
ah yeah, duh
-----> serverspec installed (version 2.3.1)
looks like we upgraded
fails miserably on centos 65 though
and centos-7
Taylor Price
@drpebcak
-----> serverspec installed (version 2.3.1)
       /opt/chef/embedded/bin/ruby -I/tmp/busser/suites/serverspec -I/tmp/busser/gems/gems/rspec-support-3.1.2/lib:/tmp/busser/gems/gems/rspec-core-3.1.7/lib /opt/chef/embedded/bin/rspec --pattern /tmp/busser/suites/serverspec/\*\*/\*_spec.rb --color --format documentation --default-path /tmp/busser/suites/serverspec
       /tmp/kitchen/data/serverspec_helper.rb:4:in `<top (required)>': uninitialized constant SpecInfra (NameError)
           from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
           from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
           from /tmp/busser/suites/serverspec/localhost/default_spec.rb:16:in `<top (required)>'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/configuration.rb:1105:in `load'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/configuration.rb:1105:in `block in load_spec_files'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/configuration.rb:1105:in `each'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/configuration.rb:1105:in `load_spec_files'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:96:in `setup'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:84:in `run'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:69:in `run'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/lib/rspec/core/runner.rb:37:in `invoke'
           from /tmp/busser/gems/gems/rspec-core-3.1.7/exe/rspec:4:in `<top (required)>'
           from /opt/chef/embedded/bin/rspec:23:in `load'
           from /opt/chef/embedded/bin/rspec:23:in `<main>'
       /opt/chef/embedded/bin/ruby -I/tmp/busser/suites/serverspec -I/tmp/busser/gems/gems/rspec-support-3.1.2/lib:/tmp/busser/gems/gems/rspec-core-3.1.7/lib /opt/chef/embedded/bin/rspec --pattern /tmp/busser/suites/serverspec/\*\*/\*_spec.rb --color --format documentation --default-path /tmp/busser/suites/serverspec failed
       Ruby Script [/tmp/busser/gems/gems/busser-serverspec-0.5.3/lib/busser/runner_plugin/../serverspec/runner.rb /tmp/busser/suites/serverspec] exit code was 1
>>>>>> Verify failed on instance <default-centos-70>.
>>>>>> Please see .kitchen/logs/default-centos-70.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c 'BUSSER_ROOT="/tmp/busser" GEM_HOME="/tmp/busser/gems" GEM_PATH="/tmp/busser/gems" GEM_CACHE="/tmp/busser/gems/cache" ; export BUSSER_ROOT GEM_HOME GEM_PATH GEM_CACHE; sudo -E /tmp/busser/bin/busser test']
>>>>>> ----------------------
looks like SpecInfra was renamed to Specinfra
Maks3w
@Maks3w
I have deployed ssl branch on production without any problem on Ubuntu 14.04. SSLlabs tests A+ with OSCL enabled
Taylor Price
@drpebcak
@Maks3w serverspec is failing pretty hard
Sander van Zoest
@svanzoest
yeah, we need to update to serverspec 2. http://serverspec.org/changes-of-v2.html (which includes an update to rspec 3 :confetti_ball: ).
@Maks3w thanks for the feedback.
also our chefspec coverage has dropped from 79% to 55% it seems
Maks3w
@Maks3w
I think specs need a huge refactor and may drop all that runs for every platform and every version
Should be many specs testing attributes are used and the rest of specs just test file is created
I want to say. There is no need of test thousand of times apache lib dir is the correct one for each mod and for each os
@drpebcak If you want to go a bit more far with openssl thing you may move all that specific attributes inside of the "directives" attribute
Sander van Zoest
@svanzoest
@Maks3w You need to test that lib_dir is correct for each OS and you need to test that the apache module config that is dropped is correct. We found too many issues in the older versions of the cookbook where things were not correct.
I think the specs are clearly a work in progress, but without the current tests we would not have been able to release 2.0
Sander van Zoest
@svanzoest
I am getting this on master now.
  1) apache2::default on Ubuntu 12.04 with valid apache configuration  runs a2enconf security.conf
     Failure/Error: expect(chef_run).to run_execute("/usr/sbin/a2enconf #{config}.conf")
       expected "execute[a2enconf security.conf]" actions [] to include :run
     # ./spec/default_spec.rb:156:in `block (7 levels) in <top (required)>'
Taylor Price
@drpebcak
@Maks3w I think thats probably far enough. I don't want to make it too confusing for people. I think of the directives attribute as being for advanced users, while the protocol and other attributes are somewhat basic options that a user who isnt terribly familiar with apache may want to tune
essentially they are there for convenience
Taylor Price
@drpebcak
i just got like 4 emails from the supermarket about us releasing new versions of the cookbook...
Sander van Zoest
@svanzoest
@drpebcak I didn't get any
Taylor Price
@drpebcak
@svanzoest yeah its weird.. looking in supermarket there definitely isnt a new release - im guessing my alerts were stuck in a queue somewhere from past releases.
Sander van Zoest
@svanzoest
hmm..parts of the chefspec tests now use chef_run.node rather than properties which means we are no longer testing to see if the attribute was set correctly per platform, but rather just that it was set.
we could leave the actual per platform test to serverspec, but travis wouldn't find any platform specific issues with the attribute changes
Sander van Zoest
@svanzoest
@drpebcak how much have you tested the SSLUpdates branch? I haven't had as much time on it as I wanted to.
It would be good to get another release out
Taylor Price
@drpebcak
@svanzoest from what I have seen it works well. I haven't deployed it into production, but I haven't seen any weird bugs or anything with it.
Sander van Zoest
@svanzoest
I have been working on the serverspec tests and with the MPM changes lots of it doesn't work out of the box. This is primarily because php, among others, require the prefork mpm.
I also updated the serverspec tests to be serverspec 2 compatible, which seemed like it wasn't done before.
Sander van Zoest
@svanzoest
So far the testing is going pretty good however, some tests fail now because we switched the default MPMs.. So for example mod_cgi is incompatible with any threaded mpm, so you need to load up mod_cgid instead. The tests currently always assume prefork mpm and need to be adjusted accordingly. I created suites per mpm allowing for mpm specific testing, such as prefork with mod_php5, etc.
This primarily shows up in serverspec testing, as chefspec doesn't actually test with the web server binary
Sander van Zoest
@svanzoest
Okay. I seem to be have fully passing serverspec tests now for the major supported platforms, so I plan to wrap up a 3.0.0 release later today with what is currently on master
It will be great to get the SSL changes out there
let me know what you guys think or if you see any issues with master right now.
After we get that release out we can do a push to do another small bugfix release not to long after. The big work will be supporting MPM switching
only issue that I see is serverspec identifies freebsd 10.0 as freebsd 10
so that doesn't map well to our platform fixtures
Sander van Zoest
@svanzoest
Okay I pushed v3.0.0, enjoy!
hardik Gajjar
@gajjar8055
oversized response headers received from daemon process
Django + WSGI
Arnas Fomenko
@arnasfomenko
Hello,
Swapnil Srivastava
@swapnil_sri_twitter

I have configured Apache2 Httpd on Ubuntu Inside docker image using dockerfile, the angular app is up and running but unable to load the .png file ... is there any configuration that I need to activate in order for it to work. I tried with rewriting the url to redirect to proper file path but it’s throwing 400 bad request
Can some one help me in this regard

.htaccess
RewriteEngine On

If an existing asset or directory is requested go to it as it is

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d

RewriteRule ^ - [L]

If the requested resource doesn't exist, use index.html

RewriteRule ^ /workbench/index.html

I have configured Apache2 Httpd on Ubuntu Inside docker image using dockerfile, the angular app is up and running but unable to load the .png file ... is there any configuration that I need to activate in order for it to work. I tried with rewriting the url to redirect to proper file path but it’s throwing 400 bad request

Can some one help me in this regard

Here is the .htaccess file
.htaccess config
RewriteEngine On
If an existing asset or directory is requested go to it as it is
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]

If the requested resource doesn't exist, use index.html
RewriteRule ^ /workbench/index.html

Enabled the mod_rewrite file.