diff --git a/cookbooks/noosfero/recipes/default.rb b/cookbooks/noosfero/recipes/default.rb index ba8d0f6..a9e2a0e 100644 --- a/cookbooks/noosfero/recipes/default.rb +++ b/cookbooks/noosfero/recipes/default.rb @@ -42,6 +42,10 @@ execute 'plugins:enable' do command '/usr/lib/noosfero/script/noosfero-plugins enable ' + plugins.join(' ') end +execute 'theme:enable' do + command 'psql -h database -U noosfero --no-align --tuples-only -q -c "update environments set theme=\'noosfero-spb-theme\' where id=1;"' +end + template '/etc/noosfero/thin.yml' do owner 'root'; group 'root'; mode 0644 notifies :restart, 'service[noosfero]' diff --git a/cookbooks/postgresql/recipes/noosfero.rb b/cookbooks/postgresql/recipes/noosfero.rb index db99355..758c5d6 100644 --- a/cookbooks/postgresql/recipes/noosfero.rb +++ b/cookbooks/postgresql/recipes/noosfero.rb @@ -14,4 +14,3 @@ execute 'createdb:noosfero' do end end - -- libgit2 0.21.2