RiotGames/cookbook-nfs — pull request #1 by atomic-penguin (2012-05-01 20:54:42+00:00)
Title: Weird issue with the nfs_export LWRP

I'm encountering a pretty weird issue with the 'exists' resource, when the export string exists in **both** the node['nfs']['exports'] array and is also defined in an LWRP call.

The recipe bails out right then and there, truncating any export defined lines defined after the current call. I don't know if this could be because 'exists' is a reserved Ruby keyword, or it was intended behavior for the recipe to bail out.

The only functional change I made to the LWRP was change 'extra_options' to 'options'.

Error
====
[Tue, 01 May 2012 16:38:24 -0400] FATAL: Chef::Exceptions::ValidationFailed: nfs_export[/isoimages] (exports::muisoserver line 20) had an error: Option exists must be a kind of [TrueClass, FalseClass]! You passed "/isoimages 10.0.0.0/8(ro,sync,no_root_squash)".