This shouldn't be occurring in FuseDAV code at all. There should be a better way that involves moving this to Chef and sending what FuseDAV needs in through configuration. It should also be less code overall.