diff --git a/Rakefile b/Rakefile index 4f1940a..b57e07e 100644 --- a/Rakefile +++ b/Rakefile @@ -17,3 +17,6 @@ file '.ssh_config' => ['nodes.yaml', 'ssh_config.erb'] do |t| end task :bootstrap_common => '.ssh_config' + +# dependencies +task 'bootstrap:integration' => 'converge:database' diff --git a/cookbooks/basics/recipes/nginx.rb b/cookbooks/basics/recipes/nginx.rb index 0c22182..7f82bd7 100644 --- a/cookbooks/basics/recipes/nginx.rb +++ b/cookbooks/basics/recipes/nginx.rb @@ -7,6 +7,6 @@ end package 'nginx' service 'nginx' do - action :start + action [:enable, :start] supports :restart => true end diff --git a/cookbooks/colab/recipes/default.rb b/cookbooks/colab/recipes/default.rb index b4014c7..82417bb 100644 --- a/cookbooks/colab/recipes/default.rb +++ b/cookbooks/colab/recipes/default.rb @@ -30,6 +30,6 @@ execute 'colab-admin migrate' execute 'colab-admin collectstatic --noinput' service 'colab' do - action :start + action [:enable, :start] supports :restart => true end diff --git a/cookbooks/postgresql/recipes/default.rb b/cookbooks/postgresql/recipes/default.rb index 597cd10..fd682e8 100644 --- a/cookbooks/postgresql/recipes/default.rb +++ b/cookbooks/postgresql/recipes/default.rb @@ -17,6 +17,6 @@ template '/var/lib/pgsql/data/postgresql.conf' do end service 'postgresql' do - action :start + action [:enable, :start] supports :restart => true end -- libgit2 0.21.2