Commit 9449afc7745d12ad47fa2c2ebbddef836464a207
1 parent
b4e24af7
Exists in
master
and in
36 other branches
Set noosfero-spb-theme in database
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
cookbooks/noosfero/recipes/default.rb
... | ... | @@ -42,6 +42,10 @@ execute 'plugins:enable' do |
42 | 42 | command '/usr/lib/noosfero/script/noosfero-plugins enable ' + plugins.join(' ') |
43 | 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 | 49 | template '/etc/noosfero/thin.yml' do |
46 | 50 | owner 'root'; group 'root'; mode 0644 |
47 | 51 | notifies :restart, 'service[noosfero]' | ... | ... |
cookbooks/postgresql/recipes/noosfero.rb