Commit 11443f8d505992b754d0cca6c273a4c12752e546
1 parent
e5c603ce
Exists in
master
and in
2 other branches
Change notification plugin in noosfero recipe
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
cookbooks/noosfero/recipes/default.rb
... | ... | @@ -47,10 +47,14 @@ plugins = [ |
47 | 47 | 'statistics', |
48 | 48 | 'sub_organizations', |
49 | 49 | 'video', |
50 | - 'environment_notification', | |
50 | + 'admin_notifications', | |
51 | 51 | 'community_block', |
52 | 52 | ] |
53 | 53 | |
54 | +execute 'disable all noosfero plugins' do | |
55 | + command '/usr/lib/noosfero/script/noosfero-plugins disableall' | |
56 | +end | |
57 | + | |
54 | 58 | execute 'plugins:enable' do |
55 | 59 | command '/usr/lib/noosfero/script/noosfero-plugins enable ' + plugins.join(' ') |
56 | 60 | end |
... | ... | @@ -73,7 +77,6 @@ execute 'noosfero:migrate' do |
73 | 77 | user 'noosfero' |
74 | 78 | end |
75 | 79 | |
76 | - | |
77 | 80 | #FIXME: We did it, because we have to enable each plugin and migrate it separately. |
78 | 81 | plugins_spb.each do |plugin| |
79 | 82 | execute ('plugins_spb:activate:' + plugin) do | ... | ... |