Commit fedffe21cac42b1909836dbce4a86c8286ad0341
1 parent
89bff452
Exists in
master
and in
67 other branches
noosfero: enable all required plugins
Showing
1 changed file
with
18 additions
and
3 deletions
Show diff stats
cookbooks/noosfero/recipes/default.rb
| @@ -26,9 +26,24 @@ execute 'noosfero:schema' do | @@ -26,9 +26,24 @@ execute 'noosfero:schema' do | ||
| 26 | notifies :restart, 'service[noosfero]' | 26 | notifies :restart, 'service[noosfero]' |
| 27 | end | 27 | end |
| 28 | 28 | ||
| 29 | -# TODO remote user auth | ||
| 30 | -# TODO spb plugin | ||
| 31 | -# TODO theme | 29 | +package 'noosfero-spb' |
| 30 | + | ||
| 31 | +plugins = [ | ||
| 32 | + 'breadcrumbs', | ||
| 33 | + 'container_block', | ||
| 34 | + 'display_content', | ||
| 35 | + 'people_block', | ||
| 36 | + 'recent_content', | ||
| 37 | + 'remote_user', | ||
| 38 | + 'software_communities', # from noosfero-spb | ||
| 39 | + 'statistics', | ||
| 40 | + 'sub_organizations', | ||
| 41 | + 'video', | ||
| 42 | +] | ||
| 43 | + | ||
| 44 | +execute 'plugins:enable' do | ||
| 45 | + command '/usr/lib/noosfero/script/noosfero-plugins enable ' + plugins.join(' ') | ||
| 46 | +end | ||
| 32 | 47 | ||
| 33 | template '/etc/noosfero/thin.yml' do | 48 | template '/etc/noosfero/thin.yml' do |
| 34 | owner 'root'; group 'root'; mode 0644 | 49 | owner 'root'; group 'root'; mode 0644 |