Commit 3a620288 authored by Marin Jankovski's avatar Marin Jankovski

Subscribe instead of notify.

parent 477a7870
......@@ -16,17 +16,21 @@ include_recipe "yum-epel" if platform_family?("rhel")
include_recipe "gitlab::git"
include_recipe "redisio::install"
directory "make the redis socket directory" do
directory "create_redis_socket_dir" do
path gitlab['redis_socket_directory']
owner node['redisio']['default_settings']['user']
group gitlab['group']
mode 0750
notifies :restart, "service[redis#{gitlab['redis_port']}]", :immediately
action :create
include_recipe "redisio::enable"
service "redis#{gitlab['redis_port']}" do
action :nothing
subscribes :restart, "directory['create_redis_socket_dir']", :immediately
## Install the required packages.
gitlab['packages'].each do |pkg|
package pkg
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment