Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # With mod_authn_host disabled...
- include_recipe "apache2::mod_status"
- include_recipe "apache2::mod_alias"
- include_recipe "apache2::mod_auth_basic"
- include_recipe "apache2::mod_authn_file"
- include_recipe "apache2::mod_authz_default"
- include_recipe "apache2::mod_authz_groupfile"
- include_recipe "apache2::mod_authz_host"
- include_recipe "apache2::mod_authz_user"
- include_recipe "apache2::mod_autoindex"
- include_recipe "apache2::mod_dir"
- include_recipe "apache2::mod_env"
- include_recipe "apache2::mod_mime"
- include_recipe "apache2::mod_negotiation"
- include_recipe "apache2::mod_setenvif"
- execute "a2enmod #{params[:name]}" do
- command "/usr/sbin/a2enmod #{params[:name]}"
- notifies :restart, resources(:service => "apache2")
- Chef::Log.error("#{node[:apache_dir]}/mods-enabled/#{params[:name]}.load")
- not_if do File.symlink?("#{node[:apache_dir]}/mods-enabled/#{params[:name]}.load") end
- end
- [Wed, 19 Nov 2008 00:33:19 +0000] INFO: Starting Chef Run
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/alias.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/auth_basic.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/authn_file.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/authz_default.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/authz_groupfile.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/authz_host.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: false
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/authz_user.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/autoindex.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/dir.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/env.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/mime.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/negotiation.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/setenvif.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: /etc/apache2/mods-enabled/setenvif.load
- [Wed, 19 Nov 2008 00:33:22 +0000] ERROR: WTF: true
- [Wed, 19 Nov 2008 00:33:23 +0000] INFO: Ran execute[apt-get-update] successfully
- [Wed, 19 Nov 2008 00:33:24 +0000] INFO: Chef Run complete in 5.555302 seconds
- # Notice, no enabling of authz_host
Add Comment
Please, Sign In to add comment