Skip to content

Commit

Permalink
cook-48, enable and start action for nscd
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Mar 12, 2009
1 parent b0958b0 commit 44d8b65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nscd/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
end

service "nscd" do
supports :restart => true
action :enable
supports :restart => true, :status => true
action [:enable, :start]
end

%w{ passwd group }.each do |cmd|
execute "nscd-clear-#{cmd}" do
cmmand "/usr/sbin/nsscd -i #{cmd}"
command "/usr/sbin/nsscd -i #{cmd}"
action :nothing
end
end

0 comments on commit 44d8b65

Please sign in to comment.