Coder Social home page Coder Social logo

Comments (4)

icinga-migration avatar icinga-migration commented on September 26, 2024

Updated by JannikZed on 2015-02-18 14:45:57 +00:00

Sorry for the typo. I meant "mod_wsgi"

from chef-icinga2.

icinga-migration avatar icinga-migration commented on September 26, 2024

Updated by vkhatri on 2015-02-19 10:56:51 +00:00

how about adding another attribute file `attributes/server_apache.rb` with this? it will go a long way

default['icinga2']['apache_modules'] = value_for_platform(
%w(centos redhat fedora) => { '7' => %w(default mod_wsgi mod_php5 mod_cgi mod_ssl mod_rewrite),
'default' => %w(default mod_python mod_php5 mod_cgi mod_ssl mod_rewrite) },
'amazon' => { 'default' => "http://packages.icinga.org/epel/6/#{node\['icinga2'\]\['build\_type'\]}/" }
)

then modify recipe `recipes/server_apache.rb` like this:

-include_recipe 'apache2::default'
-include_recipe 'apache2::mod_python'
-include_recipe 'apache2::mod_php5'
-include_recipe 'apache2::mod_cgi'
-include_recipe 'apache2::mod_ssl'
-include_recipe 'apache2::mod_rewrite'
+node['icinga2']['apache_modules'].each { |mod| include_recipe "apache2::#{mod}" }

from chef-icinga2.

icinga-migration avatar icinga-migration commented on September 26, 2024

Updated by vkhatri on 2015-02-19 11:36:20 +00:00

  • Status changed from New to Assigned
  • Assigned to set to vkhatri

from chef-icinga2.

icinga-migration avatar icinga-migration commented on September 26, 2024

Updated by vkhatri on 2015-02-20 14:04:41 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

change applied.

from chef-icinga2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.