jbeard6/jbeard-nfs — pull request #8 by treyormsbee (2014-12-12 16:54:39+00:00)
Title: Not matching on osfamily case statement

I like your nfs module because of the small amount of dependencies, but for some reason I'm failing out on the osfmaily case statement on puppet 2.7 and puppet 3.7. I added in single quotes to the case statement and my problems went away. If you can please merge and publish back to the forge. It would be appreciated. (I also have the same problem with your portmap module, and I will be submitting the pull request on that one as well.

without the quotes here is the output I am seeing

[ root ~]# puppet apply testing.pp
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Error: nfs::server is not currently supported on CentOS on node eng-to01.lab.iot1.com
Error: nfs::server is not currently supported on CentOS on node eng-to01.lab.iot1.com
[ root ~]# cat testing.pp
include nfsserver

class nfsserver {
class { 'nfs::server':
package => installed,
service => running,
enable => true,
}

nfs::export { '/opt/ota':
options => [ 'rw', 'no_root_squash', ],
clients => [ '10.12.90.62/32', '10.12.90.61/32' ],
}

}