Commit 039e2ae89fe8c44c6a3c81532e95b8d35b4e23b9
Exists in
master
and in
90 other branches
Merge branch 'activate_plugins' into 'master'
Activate plugins This is a patch to activate all plugins that are enabled. This patch depends of this MR of Noosfero(https://gitlab.com/noosfero/noosfero/merge_requests/573) See merge request !13
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
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 'plugins:activate' do | ||
46 | + command "RAILS_ENV=production bundle exec rake noosfero:plugins:enable_all_plugins" | ||
47 | +end | ||
48 | + | ||
45 | execute 'theme:enable' do | 49 | 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;"' | 50 | command 'psql -h database -U noosfero --no-align --tuples-only -q -c "update environments set theme=\'noosfero-spb-theme\' where id=1;"' |
47 | end | 51 | end |