Comments (4)
Updated by JannikZed on 2015-02-18 14:45:57 +00:00
Sorry for the typo. I meant "mod_wsgi"
from chef-icinga2.
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.
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.
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)
- switch to chefdk
- Chef 13.0.113 - Release April 6, 2017 is not Supported HOT 9
- Documentation: icinga2_endpoint action HOT 3
- Split cookbook HOT 10
- release new cookbook version HOT 1
- Fix tests again before merging something HOT 5
- add support for amazon platform_family
- Installing icinga2 on CentOS fails HOT 8
- create new repo for chef-icinga* HOT 10
- add fedora platform support HOT 1
- Bump Apache Support from 3.2.2 to 3.3.0 HOT 3
- icinga2 fails to start on fresh CentOS 7 install HOT 3
- Release v4.0.0 HOT 1
- issue in server_os_packages.rb HOT 8
- rewrite icinga2* resources
- create icinga2 install, config, and service resource
- Ubuntu 18.04 Bionic Support
- Need better top down config sync doc/example HOT 2
- certificates in apilistener depricated
- Influxdbwriter prevents icinga2 from starting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-icinga2.