Commit 9449afc7745d12ad47fa2c2ebbddef836464a207

Authored by Lucas Kanashiro
1 parent b4e24af7

Set noosfero-spb-theme in database

cookbooks/noosfero/recipes/default.rb
@@ -42,6 +42,10 @@ execute 'plugins:enable' do @@ -42,6 +42,10 @@ execute 'plugins:enable' do
42 command '/usr/lib/noosfero/script/noosfero-plugins enable ' + plugins.join(' ') 42 command '/usr/lib/noosfero/script/noosfero-plugins enable ' + plugins.join(' ')
43 end 43 end
44 44
  45 +execute 'theme:enable' do
  46 + command 'psql -h database -U noosfero --no-align --tuples-only -q -c "update environments set theme=\'noosfero-spb-theme\' where id=1;"'
  47 +end
  48 +
45 template '/etc/noosfero/thin.yml' do 49 template '/etc/noosfero/thin.yml' do
46 owner 'root'; group 'root'; mode 0644 50 owner 'root'; group 'root'; mode 0644
47 notifies :restart, 'service[noosfero]' 51 notifies :restart, 'service[noosfero]'
cookbooks/postgresql/recipes/noosfero.rb
@@ -14,4 +14,3 @@ execute 'createdb:noosfero' do @@ -14,4 +14,3 @@ execute 'createdb:noosfero' do
14 end 14 end
15 end 15 end
16 16
17 -