Wouldn't it be better - more flexible -  to pass a hash, and the use create_resources().

```
create_resources('sudo::conf', $hash, $default)
```