X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..7be9473d2bb0cfc6f839e72ee8ad9ea209067f85:/cookbooks/nfs/recipes/server.rb?ds=sidebyside diff --git a/cookbooks/nfs/recipes/server.rb b/cookbooks/nfs/recipes/server.rb index 3e13507f1..8b04b840b 100644 --- a/cookbooks/nfs/recipes/server.rb +++ b/cookbooks/nfs/recipes/server.rb @@ -19,7 +19,8 @@ package "nfs-kernel-server" -service "portmap" do +service "rpcbind" do + provider Chef::Provider::Service::Upstart action [ :enable, :start ] supports :status => true, :restart => true, :reload => true end @@ -60,5 +61,5 @@ template "/etc/exports" do group "root" mode 0644 variables :exports => exports - notifies :run, resources(:execute => "exportfs") + notifies :run, "execute[exportfs]" end