Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.352 kb
dep 'python-xattr.managed' do
provides 'xattr'
end
dep 'enable xattr' do
met? {
!!sudo("mount").match("user_xattr")
}
meet {
needle = Regexp.escape("errors=remount-ro")
replacement = "errors=remount-ro,user_xattr"
sudo("sed -i -e 's/#{needle}/#{replacement}/' '/etc/fstab'")
sudo("mount -o remount,user_xattr /")
}
end
Jump to Line
Something went wrong with that request. Please try again.