]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nfs/recipes/server.rb
The portmap service is now rpcbind
[chef.git] / cookbooks / nfs / recipes / server.rb
index 3e13507f19514c91040daec0bf47fbddc66c62e5..8b04b840b034b290d23381de376d1dba79c53a5c 100644 (file)
@@ -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