- node.set[:mediawiki][:sites][new_resource.name][:directory] = site_directory
- node.set[:mediawiki][:sites][new_resource.name][:version] = new_resource.version
+ node.normal[:mediawiki][:sites][new_resource.name][:directory] = site_directory
+ node.normal[:mediawiki][:sites][new_resource.name][:version] = new_resource.version
directory site_directory do
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
directory site_directory do
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
end
directory mediawiki_directory do
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
end
directory mediawiki_directory do
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
end
directory "#{mediawiki_directory}/LocalSettings.d" do
user node[:mediawiki][:user]
group node[:mediawiki][:group]
end
directory "#{mediawiki_directory}/LocalSettings.d" do
user node[:mediawiki][:user]
group node[:mediawiki][:group]
source "LocalSettings.php.erb"
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
source "LocalSettings.php.erb"
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
variables :name => new_resource.name,
:directory => mediawiki_directory,
:database_params => new_resource.database_params,
variables :name => new_resource.name,
:directory => mediawiki_directory,
:database_params => new_resource.database_params,
variables :name => new_resource.name, :directory => site_directory,
:user => node[:mediawiki][:user]
end
variables :name => new_resource.name, :directory => site_directory,
:user => node[:mediawiki][:user]
end
variables :name => new_resource.name, :directory => site_directory,
:database_params => new_resource.database_params
end
variables :name => new_resource.name, :directory => site_directory,
:database_params => new_resource.database_params
end
apache_site new_resource.name do
cookbook "mediawiki"
template "apache.erb"
directory site_directory
variables :aliases => Array(new_resource.aliases),
:private => new_resource.private,
apache_site new_resource.name do
cookbook "mediawiki"
template "apache.erb"
directory site_directory
variables :aliases => Array(new_resource.aliases),
:private => new_resource.private,
source "LocalSettings.php.erb"
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
source "LocalSettings.php.erb"
owner node[:mediawiki][:user]
group node[:mediawiki][:group]
variables :name => new_resource.name,
:directory => mediawiki_directory,
:database_params => new_resource.database_params,
variables :name => new_resource.name,
:directory => mediawiki_directory,
:database_params => new_resource.database_params,