From freefood, 1 Year ago, written in Plain Text.
This paste will go to meet its maker in 1 Second.
Embed
  1. freefood at turquoise in ~/chef-repo/osuosl-cookbooks/proj-misc on master [$]
  2. $ rspec
  3.  
  4. proj-misc::apereo
  5.   centos 6.8
  6.     should include recipe "osl-php::default"
  7.     should include recipe "osl-apache::default"
  8.     should include recipe "osl-apache::mod_php"
  9.     should include recipe "apache2::mod_ssl"
  10.     should include recipe "osl-apache::mod_evasive"
  11.     should include recipe "php::module_gd"
  12.     should include recipe "osl-php::apc"
  13.     should include recipe "git::default"
  14.     should include recipe "osl-mysql::client"
  15.     should include recipe "sudo::default"
  16.     should include recipe "osl-acme::default"
  17.     converges successfully
  18.     should render file "/etc/php.ini" with content /^memory_limit=512M$/
  19.     should render file "/etc/php.ini" with content /^post_max_size=10M$/
  20.     should render file "/etc/php.ini" with content /^upload_max_filesize=10M$/
  21.     should render file "/etc/php.d/APC.ini" with content /^shm_size="512M"$/ (FAILED - 1)
  22.     should  acme_selfsigned "www.apereo.org"
  23.     should  acme_certificate "www.apereo.org"
  24.     should  apache_app "qa.apereo.org"
  25.     should  apache_app "www.sakaiproject.org"
  26.     should  acme_selfsigned "www.sakaiproject.org"
  27.     should  acme_certificate "www.sakaiproject.org"
  28.     should  apache_app "jasig.org"
  29.     should  apache_app "uportal.org"
  30.     should  apache_app "equella.com"
  31.     should render file "/etc/httpd/conf-available/mpm_prefork.conf" with content /ServerLimit\s+249$/
  32.     should render file "/etc/httpd/conf-available/mpm_prefork.conf" with content /MaxClients\s+249$/
  33.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "Timeout 10"
  34.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "KeepAlive On"
  35.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "SetEnvIfNoCase user-agent \"MicroMessenger\" bad_agent=1"
  36.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "SetEnvIf Referer cas\\.qspfw\\.com bad_agent=1"
  37.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "Deny from env=bad_agent"
  38.     should  apache_app "www.apereo.org"
  39.   centos 7.2.1511
  40.     should include recipe "osl-php::default"
  41.     should include recipe "osl-apache::default"
  42.     should include recipe "osl-apache::mod_php"
  43.     should include recipe "apache2::mod_ssl"
  44.     should include recipe "osl-apache::mod_evasive"
  45.     should include recipe "php::module_gd"
  46.     should include recipe "osl-php::apc"
  47.     should include recipe "git::default"
  48.     should include recipe "osl-mysql::client"
  49.     should include recipe "sudo::default"
  50.     should include recipe "osl-acme::default"
  51.     converges successfully
  52.     should render file "/etc/php.ini" with content /^memory_limit=512M$/
  53.     should render file "/etc/php.ini" with content /^post_max_size=10M$/
  54.     should render file "/etc/php.ini" with content /^upload_max_filesize=10M$/
  55.     should render file "/etc/php.d/APC.ini" with content /^shm_size="512M"$/ (FAILED - 2)
  56.     should  acme_selfsigned "www.apereo.org"
  57.     should  acme_certificate "www.apereo.org"
  58.     should  apache_app "qa.apereo.org"
  59.     should  apache_app "www.sakaiproject.org"
  60.     should  acme_selfsigned "www.sakaiproject.org"
  61.     should  acme_certificate "www.sakaiproject.org"
  62.     should  apache_app "jasig.org"
  63.     should  apache_app "uportal.org"
  64.     should  apache_app "equella.com"
  65.     should render file "/etc/httpd/mods-available/mpm_prefork.conf" with content /ServerLimit\s+249$/
  66.     should render file "/etc/httpd/mods-available/mpm_prefork.conf" with content /MaxRequestWorkers\s+249$/
  67.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "Timeout 10"
  68.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "KeepAlive On"
  69.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "RewriteEngine On"
  70.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "RewriteCond %{HTTP_REFERER} cas\\.qspfw\\.com"
  71.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "RewriteRule .* - [F]"
  72.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "<If \"%{HTTP_USER_AGENT} == 'MicroMessenger'\">"
  73.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "Require all denied"
  74.     should render file "/etc/httpd/sites-available/www.apereo.org.conf" with content "</If>"
  75.     should  apache_app "www.apereo.org"
  76.  
  77. proj-misc::buildroot_sources
  78.   centos 6.8
  79.     converges successfully
  80.     should  group "busybox"
  81.     should  sudo "busybox"
  82.   centos 7.2.1511
  83.     converges successfully
  84.     should  group "busybox"
  85.     should  sudo "busybox"
  86.  
  87. proj-misc::mozillazine
  88.   centos 6.8
  89.     should include recipe "user::default"
  90.     should include recipe "osl-php::default"
  91.     should include recipe "osl-apache::default"
  92.     should include recipe "osl-apache::mod_php"
  93.     should include recipe "osl-mysql::client"
  94.     should  package "ImageMagick"
  95.     should  apache_app "feedhouse.mozillazine.org"
  96.     should  apache_app "kb.mozillazine.org"
  97.     should  apache_app "static.mozillazine.org"
  98.     should  apache_app "weblogs.mozillazine.org"
  99.     should  apache_app "www.mozillazine.org"
  100.     should  apache_app "forums.mozillazine.org"
  101.   centos 7.2.1511
  102.     should include recipe "user::default"
  103.     should include recipe "osl-php::default"
  104.     should include recipe "osl-apache::default"
  105.     should include recipe "osl-apache::mod_php"
  106.     should include recipe "osl-mysql::client"
  107.     should  package "ImageMagick"
  108.     should  apache_app "feedhouse.mozillazine.org"
  109.     should  apache_app "kb.mozillazine.org"
  110.     should  apache_app "static.mozillazine.org"
  111.     should  apache_app "weblogs.mozillazine.org"
  112.     should  apache_app "www.mozillazine.org"
  113.     should  apache_app "forums.mozillazine.org"
  114.  
  115. proj-misc::openmrs
  116.   on centos 6.8
  117.     should  user_account "burke"
  118.     should  user_account "cintiadr"
  119.     should  user_account "djazayeri"
  120.     should  user_account "pascal"
  121.     should  user_account "whiscard"
  122.     should include recipe "osl-apache::default"
  123.     should include recipe "apache2::mod_ssl"
  124.     should include recipe "apache2::mod_dav_svn"
  125.     should include recipe "apache2::mod_include"
  126.     should include recipe "osl-acme::default"
  127.     should include recipe "user::data_bag"
  128.     should include recipe "sudo::default"
  129.     should include recipe "osl-nrpe::check_svn"
  130.     should  package "limnoria"
  131.     should  apache_app "svn.openmrs.org"
  132.     should notify "service[apache2]" with action :restart immediately
  133.     should  acme_selfsigned "svn.openmrs.org"
  134.     should  acme_certificate "svn.openmrs.org"
  135.     should  directory "/var/lib/svn"
  136.     should  directory "/data/openmrs/supybot"
  137.     should  user_account "supybot"
  138.     should  systemd_service "limnoria"
  139.   on centos 7.2.1511
  140.     should  user_account "burke"
  141.     should  user_account "cintiadr"
  142.     should  user_account "djazayeri"
  143.     should  user_account "pascal"
  144.     should  user_account "whiscard"
  145.     should include recipe "osl-apache::default"
  146.     should include recipe "apache2::mod_ssl"
  147.     should include recipe "apache2::mod_dav_svn"
  148.     should include recipe "apache2::mod_include"
  149.     should include recipe "osl-acme::default"
  150.     should include recipe "user::data_bag"
  151.     should include recipe "sudo::default"
  152.     should include recipe "osl-nrpe::check_svn"
  153.     should  package "limnoria"
  154.     should  apache_app "svn.openmrs.org"
  155.     should notify "service[apache2]" with action :restart immediately
  156.     should  acme_selfsigned "svn.openmrs.org"
  157.     should  acme_certificate "svn.openmrs.org"
  158.     should  directory "/var/lib/svn"
  159.     should  directory "/data/openmrs/supybot"
  160.     should  user_account "supybot"
  161.     should  systemd_service "limnoria"
  162.  
  163. proj-misc::web3
  164.   on centos 6.8
  165.     should include recipe "osl-php::default"
  166.     should include recipe "osl-apache::default"
  167.     should include recipe "osl-apache::mod_php"
  168.     should include recipe "osl-apache::mod_rpaf"
  169.     should include recipe "apache2::mod_ssl"
  170.     should include recipe "apache2::mod_filter"
  171.     should include recipe "apache2::mod_include"
  172.     should include recipe "git::default"
  173.     should include recipe "poise-python::default"
  174.     should  package "["php-pear-Numbers-Words", "php71u-devel", "php71u-gd", "php71u-intl", "php71u-mbstring", "php71u-mcrypt", "php71u-mysqlnd", "php71u-opcache", "php71u-pdo", "php71u-pecl-imagick", "php71u-pecl-memcached", "php71u"]"
  175.     should  template "/etc/php.ini"
  176.     adds "php7" apache module
  177.     should  apache_app "schemas.openid.net"
  178.     should  apache_app "specs.openid.net"
  179.     should  apache_app "openid.net"
  180.     should  apache_app "mutt.org"
  181.     should  apache_app "mulgara.org"
  182.     should  apache_app "docs.mulgara.org"
  183.     should  apache_app "elinux.org"
  184.     should  acme_selfsigned "elinux.org"
  185.     should  acme_certificate "elinux.org"
  186.   on centos 7.2.1511
  187.     should include recipe "osl-php::default"
  188.     should include recipe "osl-apache::default"
  189.     should include recipe "osl-apache::mod_php"
  190.     should include recipe "osl-apache::mod_rpaf"
  191.     should include recipe "apache2::mod_ssl"
  192.     should include recipe "apache2::mod_filter"
  193.     should include recipe "apache2::mod_include"
  194.     should include recipe "git::default"
  195.     should include recipe "poise-python::default"
  196.     should  package "["php-pear-Numbers-Words", "php71u-devel", "php71u-gd", "php71u-intl", "php71u-mbstring", "php71u-mcrypt", "php71u-mysqlnd", "php71u-opcache", "php71u-pdo", "php71u-pecl-imagick", "php71u-pecl-memcached", "php71u"]"
  197.     should  template "/etc/php.ini"
  198.     adds "php7" apache module
  199.     should  apache_app "schemas.openid.net"
  200.     should  apache_app "specs.openid.net"
  201.     should  apache_app "openid.net"
  202.     should  apache_app "mutt.org"
  203.     should  apache_app "mulgara.org"
  204.     should  apache_app "docs.mulgara.org"
  205.     should  apache_app "elinux.org"
  206.     should  acme_selfsigned "elinux.org"
  207.     should  acme_certificate "elinux.org"
  208.  
  209. proj-misc::web2
  210.   on centos 6.8
  211.     should include recipe "yum-ius::default"
  212.     should include recipe "osl-php::default"
  213.     should include recipe "osl-apache::default"
  214.     should include recipe "osl-apache::mod_php"
  215.     should include recipe "osl-apache::mod_rpaf"
  216.     should include recipe "apache2::mod_include"
  217.     should include recipe "apache2::mod_vhost_alias"
  218.     should include recipe "git::default"
  219.     should include recipe "poise-python::default"
  220.     should include recipe "build-essential::default"
  221.     should  package "php56u-devel, php56u-gd, php56u-intl, php56u-mbstring, php56u-mcrypt, php56u-mysqlnd, php56u-opcache, php56u-pdo, php56u-pecl-imagick, php56u-pecl-memcached, php56u"
  222.     should  package "php56u-pear"
  223.     should  package "drush"
  224.     should  package "graphviz"
  225.     should  package "planet"
  226.     should  template "/etc/php.ini"
  227.     adds "php5" apache module
  228.     adds "include" apache module
  229.     adds "vhost_alias" apache module
  230.     should  apache_app "invoicing.cass.oregonstate.edu"
  231.     should  apache_app "cs312.osuosl.org"
  232.     should  apache_app "invoicing-staging.osuosl.org"
  233.     should  apache_app "gsoc-wiki.osuosl.org"
  234.     should  apache_app "pac12.staging.osuosl.org"
  235.     should  apache_app "archive.osuosl.org"
  236.     should  apache_app "pac12challenge.org"
  237.     should  apache_app "tos-wp-staging.osuosl.org"
  238.     should  apache_app "manjaro-arm.org"
  239.     should  apache_app "wiki.manjaro-arm.org"
  240.     should  apache_app "createrepo.baseurl.org"
  241.     should  apache_app "baseurl.org"
  242.     should  apache_app "urlgrabber.baseurl.org"
  243.     should  apache_app "pastebin2.osuosl.org"
  244.     should  apache_app "downloads.manjaro-arm.org"
  245.     should  apache_app "staging.osuosl.org"
  246.     should  apache_app "osuosl.org"
  247.     should  apache_app "netwinder.org"
  248.     should  apache_app "teachingopensource.org"
  249.     should  apache_app "open-advice.org"
  250.     should  apache_app "wiki.sahanafoundation.org"
  251.     should  apache_app "mayon.sahanafoundation.org"
  252.     should  apache_app "vesuvius.sahanafoundation.org"
  253.     should  apache_app "tasktracer.osuosl.org"
  254.     should  apache_app "blog.replicant.us"
  255.     should  acme_selfsigned "blog.replicant.us"
  256.     should  acme_certificate "blog.replicant.us"
  257.     should  apache_app "civicapps.org"
  258.     should  apache_app "www.harmonyagreements.org"
  259.     should  apache_app "getpython3.com"
  260.     should  acme_selfsigned "beaverbarcamp.org"
  261.     should  acme_certificate "beaverbarcamp.org"
  262.     should  apache_app "beaverbarcamp.org"
  263.     should  apache_app "pastebin.osuosl.org"
  264.     should  apache_app "www.replicant.us"
  265.     should  acme_selfsigned "replicant.us"
  266.     should  acme_certificate "replicant.us"
  267.     should  apache_app "docs.osuosl.org"
  268.     should  apache_app "linuxfund.org"
  269.     should  apache_app "mycroftproject.com"
  270.     should  acme_selfsigned "mycroftproject.com"
  271.     should  acme_certificate "mycroftproject.com"
  272.     should  apache_app "devopsbootcamp.osuosl.org"
  273.     should  apache_app "daycamp.osuosl.org"
  274.     should  apache_app "www.flossfoundations.org"
  275.     should  acme_selfsigned "www.flossfoundations.org"
  276.     should  acme_certificate "www.flossfoundations.org"
  277.     should  apache_app "planet.flossfoundations.org"
  278.     should  acme_selfsigned "planet.flossfoundations.org"
  279.     should  acme_certificate "planet.flossfoundations.org"
  280.     should  cron "flossfoundations_drupal"
  281.     should  cron "flossfoundations_planet"
  282.     should  apache_app "slides.osuosl.org"
  283.     should  apache_app "lug.oregonstate.edu"
  284.     should  apache_app "wiki.osuosl.org"
  285.     should  apache_app "awstats.osuosl.org"
  286.     should  cron "awstats"
  287.     should  apache_app "pastebin.centos.org"
  288.     should  apache_app "planet.openmrs.org"
  289.     should  cron "openmrs_planet"
  290.     should  apache_app "yum.baseurl.org"
  291.     should  apache_app "www.purrdata.net"
  292.     should  acme_selfsigned "www.purrdata.net"
  293.     should  acme_certificate "www.purrdata.net"
  294.     should  apache_app "drupal.streamwebs.org"
  295.     should  apache_app "freedroid.org"
  296.     should  apache_app "planet.librehealth.io"
  297.     should  acme_selfsigned "planet.librehealth.io"
  298.     should  acme_certificate "planet.librehealth.io"
  299.     should  cron "librehealth_planet"
  300.   on centos 7.2.1511
  301.     should include recipe "yum-ius::default"
  302.     should include recipe "osl-php::default"
  303.     should include recipe "osl-apache::default"
  304.     should include recipe "osl-apache::mod_php"
  305.     should include recipe "osl-apache::mod_rpaf"
  306.     should include recipe "apache2::mod_include"
  307.     should include recipe "apache2::mod_vhost_alias"
  308.     should include recipe "git::default"
  309.     should include recipe "poise-python::default"
  310.     should include recipe "build-essential::default"
  311.     should  package "php56u-devel, php56u-gd, php56u-intl, php56u-mbstring, php56u-mcrypt, php56u-mysqlnd, php56u-opcache, php56u-pdo, php56u-pecl-imagick, php56u-pecl-memcached, php56u"
  312.     should  package "php56u-pear"
  313.     should  package "drush"
  314.     should  package "graphviz"
  315.     should  package "planet"
  316.     should  template "/etc/php.ini"
  317.     adds "php5" apache module
  318.     adds "include" apache module
  319.     adds "vhost_alias" apache module
  320.     should  apache_app "invoicing.cass.oregonstate.edu"
  321.     should  apache_app "cs312.osuosl.org"
  322.     should  apache_app "invoicing-staging.osuosl.org"
  323.     should  apache_app "gsoc-wiki.osuosl.org"
  324.     should  apache_app "pac12.staging.osuosl.org"
  325.     should  apache_app "archive.osuosl.org"
  326.     should  apache_app "pac12challenge.org"
  327.     should  apache_app "tos-wp-staging.osuosl.org"
  328.     should  apache_app "manjaro-arm.org"
  329.     should  apache_app "wiki.manjaro-arm.org"
  330.     should  apache_app "createrepo.baseurl.org"
  331.     should  apache_app "baseurl.org"
  332.     should  apache_app "urlgrabber.baseurl.org"
  333.     should  apache_app "pastebin2.osuosl.org"
  334.     should  apache_app "downloads.manjaro-arm.org"
  335.     should  apache_app "staging.osuosl.org"
  336.     should  apache_app "osuosl.org"
  337.     should  apache_app "netwinder.org"
  338.     should  apache_app "teachingopensource.org"
  339.     should  apache_app "open-advice.org"
  340.     should  apache_app "wiki.sahanafoundation.org"
  341.     should  apache_app "mayon.sahanafoundation.org"
  342.     should  apache_app "vesuvius.sahanafoundation.org"
  343.     should  apache_app "tasktracer.osuosl.org"
  344.     should  apache_app "blog.replicant.us"
  345.     should  acme_selfsigned "blog.replicant.us"
  346.     should  acme_certificate "blog.replicant.us"
  347.     should  apache_app "civicapps.org"
  348.     should  apache_app "www.harmonyagreements.org"
  349.     should  apache_app "getpython3.com"
  350.     should  acme_selfsigned "beaverbarcamp.org"
  351.     should  acme_certificate "beaverbarcamp.org"
  352.     should  apache_app "beaverbarcamp.org"
  353.     should  apache_app "pastebin.osuosl.org"
  354.     should  apache_app "www.replicant.us"
  355.     should  acme_selfsigned "replicant.us"
  356.     should  acme_certificate "replicant.us"
  357.     should  apache_app "docs.osuosl.org"
  358.     should  apache_app "linuxfund.org"
  359.     should  apache_app "mycroftproject.com"
  360.     should  acme_selfsigned "mycroftproject.com"
  361.     should  acme_certificate "mycroftproject.com"
  362.     should  apache_app "devopsbootcamp.osuosl.org"
  363.     should  apache_app "daycamp.osuosl.org"
  364.     should  apache_app "www.flossfoundations.org"
  365.     should  acme_selfsigned "www.flossfoundations.org"
  366.     should  acme_certificate "www.flossfoundations.org"
  367.     should  apache_app "planet.flossfoundations.org"
  368.     should  acme_selfsigned "planet.flossfoundations.org"
  369.     should  acme_certificate "planet.flossfoundations.org"
  370.     should  cron "flossfoundations_drupal"
  371.     should  cron "flossfoundations_planet"
  372.     should  apache_app "slides.osuosl.org"
  373.     should  apache_app "lug.oregonstate.edu"
  374.     should  apache_app "wiki.osuosl.org"
  375.     should  apache_app "awstats.osuosl.org"
  376.     should  cron "awstats"
  377.     should  apache_app "pastebin.centos.org"
  378.     should  apache_app "planet.openmrs.org"
  379.     should  cron "openmrs_planet"
  380.     should  apache_app "yum.baseurl.org"
  381.     should  apache_app "www.purrdata.net"
  382.     should  acme_selfsigned "www.purrdata.net"
  383.     should  acme_certificate "www.purrdata.net"
  384.     should  apache_app "drupal.streamwebs.org"
  385.     should  apache_app "freedroid.org"
  386.     should  apache_app "planet.librehealth.io"
  387.     should  acme_selfsigned "planet.librehealth.io"
  388.     should  acme_certificate "planet.librehealth.io"
  389.     should  cron "librehealth_planet"
  390.  
  391. Failures:
  392.  
  393.   1) proj-misc::apereo centos 6.8 should render file "/etc/php.d/APC.ini" with content /^shm_size="512M"$/
  394.      Failure/Error: expect(chef_run).to render_file('/etc/php.d/APC.ini').with_content(/^shm_size="512M"$/)
  395.      
  396.        expected Chef run to render "/etc/php.d/APC.ini" matching:
  397.      
  398.        (?-mix:^shm_size="512M"$)
  399.      
  400.        but got:
  401.      
  402.      
  403.        
  404.      # ./spec/unit/recipes/apereo_spec.rb:50:in `block (4 levels) in <top (required)>'
  405.  
  406.   2) proj-misc::apereo centos 7.2.1511 should render file "/etc/php.d/APC.ini" with content /^shm_size="512M"$/
  407.      Failure/Error: expect(chef_run).to render_file('/etc/php.d/APC.ini').with_content(/^shm_size="512M"$/)
  408.      
  409.        expected Chef run to render "/etc/php.d/APC.ini" matching:
  410.      
  411.        (?-mix:^shm_size="512M"$)
  412.      
  413.        but got:
  414.      
  415.      
  416.        
  417.      # ./spec/unit/recipes/apereo_spec.rb:50:in `block (4 levels) in <top (required)>'
  418.  
  419. Finished in 27.15 seconds (files took 1.27 seconds to load)
  420. 363 examples, 2 failures
  421.  
  422. Failed examples:
  423.  
  424. rspec ./spec/unit/recipes/apereo_spec.rb[1:1:16] # proj-misc::apereo centos 6.8 should render file "/etc/php.d/APC.ini" with content /^shm_size="512M"$/
  425. rspec ./spec/unit/recipes/apereo_spec.rb[1:2:16] # proj-misc::apereo centos 7.2.1511 should render file "/etc/php.d/APC.ini" with content /^shm_size="512M"$/
  426.