We ran into this today. It seems R10k does not support deploying Git submodules (https://tickets.puppetlabs.com/browse/RK-30) so the pgpool.aug Augeas is missing after the module is installed.
This also seems to be a problem for the release on the Forge. The latest release, when downloaded as a tarball, doesn't contain the pgpool.aug Augeas lens but only an empty directory named augeas-pgpool:
$ tree mwhahaha-pgpool-0.1.14/
mwhahaha-pgpool-0.1.14/
├── checksums.json
├── files
│ └── augeas-pgpool
├── LICENSE
├── manifests
│ ├── config
│ │ ├── backend.pp
...
Obviously this is suboptimal :)
I suggest either maintaining the Augeas lens directly within this module, or releasing a proper module containing only the lens and listing that module as a dependency, like you do with camptocamp/augeas, herculesteam/augeasproviders_core, herculesteam/augeasproviders_postgresql and so on.
The latter approach is described in https://docs.puppetlabs.com/guides/plugins_in_modules.html, but I would favour the former, letting the Augeas lens live within the pgpool module, and making use of Puppet's plugin sync. The path would look like this:
{modulepath}/pgpool/lib/augeas/lenses/pgpool.aug
Thoughts?
We ran into this today. It seems R10k does not support deploying Git submodules (https://tickets.puppetlabs.com/browse/RK-30) so the
pgpool.augAugeas is missing after the module is installed.This also seems to be a problem for the release on the Forge. The latest release, when downloaded as a tarball, doesn't contain the
pgpool.augAugeas lens but only an empty directory namedaugeas-pgpool:Obviously this is suboptimal :)
I suggest either maintaining the Augeas lens directly within this module, or releasing a proper module containing only the lens and listing that module as a dependency, like you do with camptocamp/augeas, herculesteam/augeasproviders_core, herculesteam/augeasproviders_postgresql and so on.
The latter approach is described in https://docs.puppetlabs.com/guides/plugins_in_modules.html, but I would favour the former, letting the Augeas lens live within the pgpool module, and making use of Puppet's plugin sync. The path would look like this:
Thoughts?