I don't think we need both this if loop and the one in line 50.  If we didn't error out at lines 50-52 then we know the condition in line 54 is true.  So we could simplify by refactoring to something like:

```
if $nfs_mount_path and $nfs_mount_device {
  mount { $nfs_mount_path:
    ensure  => mounted,
    device  => $nfs_mount_device,
    fstype  => 'nfs',
    options => 'auto',
    require => Package['nfs-common'],
  }
} else {
  err( 'You must specify the nfs_mount_path and nfs_mount_device.' )
}
```