Skip to content

Commit

Permalink
commented out the offending line for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
crimsonronin committed Mar 28, 2015
1 parent 60b5c8b commit a9f76e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions definitions/mongodb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@
)
notifies new_resource.reload_action, "service[#{new_resource.name}]"

if(platform_family?('rhel') && node['platform'] != 'amazon' && node['platform_version'].to_i >= 7)
notifies :run, 'execute[mongodb-systemctl-daemon-reload]', :immediately
end
#if(platform_family?('rhel') && node['platform'] != 'amazon' && node['platform_version'].to_i >= 7)
# notifies :run, 'execute[mongodb-systemctl-daemon-reload]', :immediately
#end
end

# service
Expand Down
6 changes: 3 additions & 3 deletions recipes/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
)
action :create_if_missing

if(platform_family?('rhel') && node['platform'] != 'amazon' && node['platform_version'].to_i >= 7)
notifies :run, 'execute[mongodb-systemctl-daemon-reload]', :immediately
end
#if(platform_family?('rhel') && node['platform'] != 'amazon' && node['platform_version'].to_i >= 7)
# notifies :run, 'execute[mongodb-systemctl-daemon-reload]', :immediately
#end
end

case node['platform_family']
Expand Down

0 comments on commit a9f76e5

Please sign in to comment.