diff --git a/cookbooks/colab/files/default/logo.svg b/cookbooks/colab/files/default/logo.svg new file mode 100644 index 0000000..4fa731d --- /dev/null +++ b/cookbooks/colab/files/default/logo.svg @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/cookbooks/colab/recipes/default.rb b/cookbooks/colab/recipes/default.rb index cd39125..aac2f82 100644 --- a/cookbooks/colab/recipes/default.rb +++ b/cookbooks/colab/recipes/default.rb @@ -27,8 +27,17 @@ template '/etc/colab/settings.yaml' do notifies :restart, 'service[colab]' end +cookbook_file '/usr/lib/colab/lib/python2.7/site-packages/colab/static/img/logo.svg' do + owner 'root' + group 'root' + mode 0644 + notifies :run, 'execute[colab-admin:collectstatic]' +end + execute 'colab-admin migrate' -execute 'colab-admin collectstatic --noinput' +execute 'colab-admin:collectstatic' do + command 'colab-admin collectstatic --noinput' +end service 'colab' do action [:enable, :start] -- libgit2 0.21.2