You don't have to have those data in hiera *yet*.

```
  $data  = {
    'root' => {},
    'admins => {},
  }

create_resources('sudo::conf', $data)
```

Would work, and it will already be ready the day we decide to move to hiera.  But I have nothing against current situation.