https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • o

    Oleksandr Lytvyn

    06/07/2022, 1:41 PM
    Hello, i have an issue with execution of command (below, which also used in "webhook-go" module:
    Copy code
    r10k deploy environment production --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types
    Output:
    Copy code
    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/287
  • o

    Oleksandr Lytvyn

    06/07/2022, 1:42 PM
    Hello, i have an issue with execution of command (below, which also used in "webhook-go" module:
    Copy code
    r10k deploy environment production --config=/etc/puppetlabs/r10k/r10k.yaml -v -m --generate-types
    Output:
    Copy code
    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/287
  • l

    Lumiere

    06/07/2022, 1:53 PM
    looks like your puppet gem path is missing the toml gem
    ๐Ÿ™Œ 1
    โœ… 1
  • o

    Oleksandr Lytvyn

    06/07/2022, 1:55 PM
    I'm sorry, i didn't understand ๐Ÿ˜ž
  • l

    Lumiere

    06/07/2022, 1:56 PM
    the puppetserver/puppet agent are both vendored packages, they don't use the system gem list. you'll want to ensure that puppet's ruby has access to the toml gem
    ๐Ÿ™Œ 1
    โœ… 1
  • o

    Oleksandr Lytvyn

    06/07/2022, 1:59 PM
    Thanks a lot.
    gem install toml
    did helped
  • o

    Oleksandr Lytvyn

    06/07/2022, 2:04 PM
    Side note (not related to topic above): it would be good to see current version of webhook-go somewhere ( https://github.com/voxpupuli/webhook-go/issues/57)
  • o

    Oleksandr Lytvyn

    06/07/2022, 2:04 PM
    Side note (not related to topic above): it would be good to see current version of webhook-go somewhere ( https://github.com/voxpupuli/webhook-go/issues/57 )
  • j

    josh

    06/07/2022, 2:10 PM
    FWIW the
    puppet_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.
    ๐Ÿ‘€ 1
    this 1
    ๐Ÿ™Œ 1
  • o

    Oleksandr Lytvyn

    06/07/2022, 2:15 PM
    Side note (not related to topic above): it would be good to see current version of webhook-go somewhere ( https://github.com/voxpupuli/webhook-go/issues/57 )
  • o

    Oleksandr Lytvyn

    06/07/2022, 2:15 PM
    Side note (not related to topic above): it would be good to see current version of webhook-go somewhere ( https://github.com/voxpupuli/webhook-go/issues/57)
  • p

    Peter

    06/07/2022, 3:37 PM
    message has been deleted
  • p

    Peter

    06/07/2022, 3:37 PM
    message has been deleted
  • v

    VoxBot

    06/07/2022, 7:39 PM
    anyone around for a review on https://github.com/voxpupuli/puppet-unbound/pull/301.
  • v

    VoxBot

    06/08/2022, 9:25 AM
    hey people. can I get a review on https://github.com/voxpupuli/puppet-catalog-diff/pull/63 and https://github.com/voxpupuli/puppet-catalog-diff/pull/64
  • v

    VoxBot

    06/08/2022, 10:43 AM
    can I get another review for https://github.com/voxpupuli/modulesync_config/pull/785
  • v

    VoxBot

    06/08/2022, 10:46 AM
    done
  • v

    VoxBot

    06/08/2022, 10:50 AM
    thanks
  • v

    VoxBot

    06/08/2022, 11:25 AM
    can I get another review for https://github.com/voxpupuli/puppet-catalog-diff/pull/69
  • v

    VoxBot

    06/08/2022, 11:36 AM
    done
  • v

    VoxBot

    06/08/2022, 11:55 AM
    https://github.com/voxpupuli/puppet-catalog-diff/pull/70
  • v

    VoxBot

    06/08/2022, 11:59 AM
    and https://github.com/voxpupuli/puppet-catalog-diff/pull/71 :)
  • a

    Alex Fisher

    06/08/2022, 1:31 PM
    @ewoud Were you happy that https://github.com/puppetlabs/puppetlabs-stdlib/pull/1244 is correct?
  • a

    Alex Fisher

    06/08/2022, 1:31 PM
    @ewoud Were you happy that https://github.com/puppetlabs/puppetlabs-stdlib/pull/1244 is correct?
  • v

    VoxBot

    06/08/2022, 1:43 PM
    bastelfreak: done
  • v

    VoxBot

    06/08/2022, 1:45 PM
    afisher: replied
  • a

    Alex Fisher

    06/08/2022, 2:00 PM
    @ewoud Interesting. I was only thinking of 'statement functions' as those that don't return anything, not those that can also be called using special syntax (like
    include
    contain
    require
    etc.)
  • b

    bastelfreak

    06/08/2022, 2:03 PM
    @Alex Fisher do you want to review https://github.com/voxpupuli/puppet-catalog-diff/pull/68
  • b

    bastelfreak

    06/08/2022, 2:03 PM
    @Alex Fisher do you want to review https://github.com/voxpupuli/puppet-catalog-diff/pull/68
  • v

    VoxBot

    06/08/2022, 2:05 PM
    It doesn't seem possible to call
    ensure_packages
    without brackets, but I can't figure out what makes eg.
    contain
    any different...
1...606162...648Latest