[chef] [Chef] Mount Resource Fstab Updates


Chronological Thread 
  • From: Shane Sofos < >
  • To: " " < >
  • Subject: [chef] [Chef] Mount Resource Fstab Updates
  • Date: Mon, 6 May 2013 21:06:36 +0000
  • Accept-language: en-US

Hey All,

I recently have been testing the mount resource for managing static NFS file shares in Linux. I have noticed that when I change the "options" attribute for my resource definition in a recipe and the mount resource executes during a chef-client run, the fstab entry for that particular mount is not updated with the new mount options. Just curious if this is intentional? And if not why is the :enable action for the mount resource not adding a newly defined fstab entry?

My use case is that I want to manage the /etc/fstab's custom NFS mount entries without  having to template every fstab entry across all nodes and also to automatically update fstab entry mount options if they need to be redefined.

Thanks,
Shane Sofos



Archive powered by MHonArc 2.6.16.

§