Oleksandr Lytvyn
06/07/2022, 1:41 PMr10k deploy environment production --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types
Output:
ERROR -> Command exited with non-zero exit code:
Command: /opt/puppetlabs/bin/puppet generate types --environment production --environmentpath /etc/puppetlabs/code/environments --config /etc/puppetlabs/puppet/puppet.conf
Stdout:
Notice: Generating Puppet resource types.
Stderr:
Error: Failed to load custom type 'grafana_ldap_config' from '/etc/puppetlabs/code/environments/production/modules/grafana/lib/puppet/type/grafana_ldap_config.rb': cannot load such file -- toml
Exit code: 1
https://github.com/voxpupuli/puppet-grafana/issues/287Oleksandr Lytvyn
06/07/2022, 1:42 PMr10k deploy environment production --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types
Output:
ERROR -> Command exited with non-zero exit code:
Command: /opt/puppetlabs/bin/puppet generate types --environment production --environmentpath /etc/puppetlabs/code/environments --config /etc/puppetlabs/puppet/puppet.conf
Stdout:
Notice: Generating Puppet resource types.
Stderr:
Error: Failed to load custom type 'grafana_ldap_config' from '/etc/puppetlabs/code/environments/production/modules/grafana/lib/puppet/type/grafana_ldap_config.rb': cannot load such file -- toml
Exit code: 1
https://github.com/voxpupuli/puppet-grafana/issues/287Lumiere
06/07/2022, 1:53 PMOleksandr Lytvyn
06/07/2022, 1:55 PMLumiere
06/07/2022, 1:56 PMOleksandr Lytvyn
06/07/2022, 1:59 PMgem install toml did helpedOleksandr Lytvyn
06/07/2022, 2:04 PMOleksandr Lytvyn
06/07/2022, 2:04 PMjosh
06/07/2022, 2:10 PMpuppet_gem and puppetserver_gem package providers can ensure gems are installed in the agent and serverโs vendored rubies, respectively. The latter is only necessary if server extensions (like report processors, hiera backends, etc) have gem dependencies.Oleksandr Lytvyn
06/07/2022, 2:15 PMOleksandr Lytvyn
06/07/2022, 2:15 PMPeter
06/07/2022, 3:37 PMPeter
06/07/2022, 3:37 PMVoxBot
06/07/2022, 7:39 PMVoxBot
06/08/2022, 9:25 AMVoxBot
06/08/2022, 10:43 AMVoxBot
06/08/2022, 10:46 AMVoxBot
06/08/2022, 10:50 AMVoxBot
06/08/2022, 11:25 AMVoxBot
06/08/2022, 11:36 AMVoxBot
06/08/2022, 11:55 AMVoxBot
06/08/2022, 11:59 AMAlex Fisher
06/08/2022, 1:31 PMAlex Fisher
06/08/2022, 1:31 PMVoxBot
06/08/2022, 1:43 PMVoxBot
06/08/2022, 1:45 PMAlex Fisher
06/08/2022, 2:00 PMinclude contain require etc.)bastelfreak
06/08/2022, 2:03 PMbastelfreak
06/08/2022, 2:03 PMVoxBot
06/08/2022, 2:05 PMensure_packages without brackets, but I can't figure out what makes eg. contain any different...