Commit 6feabfee authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Make Foswiki::{Config,Helper} available in every recipe and resource

parent f294f550
......@@ -5,5 +5,5 @@ DEPENDENCIES
GRAPH
apache2 (5.2.1)
foswiki (2.3.0)
foswiki (2.4.0)
apache2 (< 6.0)
......@@ -78,3 +78,6 @@ module Foswiki
end
end
end
Chef::DSL::Recipe.include Foswiki::Config
Chef::Resource.include Foswiki::Config
......@@ -74,3 +74,6 @@ module Foswiki
end
end
end
Chef::DSL::Recipe.include Foswiki::Helper
Chef::Resource.include Foswiki::Helper
......@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email 'hpc@gsi.de'
license 'All rights reserved'
description 'Installs/Configures Foswiki'
version '2.3.0'
version '2.4.0'
depends 'apache2', '< 6.0'
supports 'debian'
supports 'ubuntu'
Recipe.include Foswiki::Helper
include_recipe 'apache2'
apache_conf = node['foswiki']['apache']
......
......@@ -2,15 +2,12 @@
# Cookbook:: foswiki
# Recipe:: default
#
# Copyright:: 2011-2020, GSI Helmholtzzentrum für Schwerionenforschung
# Copyright:: 2011-2021, GSI Helmholtzzentrum für Schwerionenforschung
#
# All rights reserved - Do Not Redistribute
#
Chef::Recipe.include Foswiki::Config
Chef::Recipe.include Foswiki::Dependencies
Chef::Recipe.include Foswiki::Helper
Chef::Resource::Template.include Foswiki::Helper
# Install needed packages
if platform_family? 'debian'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment