title: Setup ACL on Ubuntu 12.04 with Chef
body: <p>I've been trying to figure out how to write a recipe that would install the ACL package and then remount the filesystem root with it enabled:</p>
  
  <ol>
  <li><code>apt-get install acl</code></li>
  <li>Add "acl" to the options in fstab</li>
  <li><code>mount -o remount /</code></li>
  </ol>
  
  <p>My attempt at a recipe is:</p>
  
  <pre><code>case node[:platform]
  when "debian","ubuntu"
      package "acl" do
          action :install
      end
  
      mount "/" do
          options "acl"
          action [:remount, :enable]
      end
  end
  </code></pre>
  
  <p>Unfortunately (and not surprising) chef doesn't know how to read the existing fstab entry for / and add acl to it without changing anything else so it's blowing away the existing options on the mount point.  Any thoughts on how I might accomplish this?</p>