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

    Denys Kyrii

    02/12/2023, 5:10 PM
    Copy code
    I removed sudo at all and tried to run as root. I have some local FACTER_ vars.
  • d

    Denys Kyrii

    02/12/2023, 5:10 PM
    Copy code
    I removed sudo at all and tried to run as root. I have some local FACTER_ vars.
  • v

    vchepkov

    02/12/2023, 5:11 PM
    sorry, out of ideas
    πŸ‘€ 1
  • d

    Denys Kyrii

    02/12/2023, 5:23 PM
    On disk:
    Copy code
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml_backend.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/CLI.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/commands.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/edithelper.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/encrypthelper.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/encryptor.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/encryptors
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/highlinehelper.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/logginghelper.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/options.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/plugins.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommand.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/utils.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/encryptors/pkcs7.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser/encrypted_tokens.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser/parser.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser/token.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/createkeys.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/decrypt.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/edit.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/encrypt.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/help.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/recrypt.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/unknown_command.rb
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/version.rb
  • d

    Denys Kyrii

    02/12/2023, 5:25 PM
    Message
    Debug: Could not find library 'hiera/backend/eyaml/parser/parser' required to enable feature 'hiera_eyaml'
    is really confusing because
    /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser/parser.rb
    is in place.
  • s

    Slackbot

    02/12/2023, 6:26 PM
    This message was deleted.
    d
    • 2
    • 1
  • d

    Denys Kyrii

    02/12/2023, 6:41 PM
    Unavailable backend.
    Copy code
    - name: "Secret data: ssl certs, mail secrets"
      lookup_key: eyaml_lookup_key
      paths:
        - "secrets/mysql_secrets.eyaml"
        - "secrets/accounts_sshkeys.eyaml"
        - "secrets/gpg_keys.eyaml"
        - "secrets/ssl_certs.eyaml"
        - "secrets/mail_secrets.eyaml"
        - "secrets/common.eyaml"
      options:
        pkcs7_private_key: /etc/puppetlabs/puppet/keys/private_key.pkcs7.pem
        pkcs7_public_key:  /etc/puppetlabs/puppet/keys/public_key.pkcs7.pem
  • s

    Slackbot

    02/13/2023, 8:35 AM
    This message was deleted.
    i
    v
    d
    • 4
    • 11
  • d

    David Sandilands

    02/13/2023, 10:54 AM
    Just a confirmation https://ondemand.questionmark.com/home/405096/catalog is the link to book an exam which is missing and 2019 is still the exam
  • v

    vchepkov

    02/13/2023, 1:32 PM
    there are some oddity I noticed as well
    Copy code
    $ puppet module install puppet/systemd --modulepath ~/modules/
    
    Error: Could not install module 'puppet-systemd' (v4.0.1)
      The requested version cannot satisfy one or more of the following installed modules:
        puppetlabs-stdlib, installed: 8.4.0, expected: >= 4.13.1 < 9.0.0
    I think it's just broken output and not the real reason for the failure
  • d

    Dr Bunsen Honeydew

    02/13/2023, 1:32 PM
    See the
    puppet-systemd
    module at https://forge.puppet.com/puppet/systemd?src=slack&amp;channel=puppet
  • m

    ma_garvo

    02/13/2023, 3:19 PM
    Hey, i've been trying to use the module
    puppet-vault_lookup
    however i've been unable to read any environment variable set within /etc/sysconfig/puppetserver.
  • d

    Dr Bunsen Honeydew

    02/13/2023, 3:19 PM
    See the
    puppet-vault_lookup
    module at https://forge.puppet.com/puppet/vault_lookup?src=slack&amp;channel=puppet
  • m

    ma_garvo

    02/13/2023, 3:22 PM
    Should we be able to read environment variables from puppet functions?
  • s

    Slackbot

    02/13/2023, 5:13 PM
    This message was deleted.
    m
    n
    • 3
    • 3
  • n

    natemccurdy

    02/13/2023, 5:13 PM
    Yes. Should be able to. And that module is tested to ensure that it can be configured with environment variables. How and where are you setting the env vars, and how and where are your running puppet?
  • n

    natemccurdy

    02/13/2023, 5:14 PM
    Yes. Should be able to. And that module is tested to ensure that it can be configured with environment variables. How and where are you setting the env vars, and how and where are you running puppet?
  • s

    Slackbot

    02/13/2023, 5:26 PM
    This message was deleted.
    c
    r
    +2
    • 5
    • 23
  • r

    ramindk

    02/13/2023, 6:23 PM
    You might have better luck asking in #puppet-enterprise That said I'd look at puppetdb/postgres first if the compilers seem fine. The usual problems are: β€’ Postgres maintenance has never been run β€’ Postgres and/or Puppetdb under resourced β€’ Not enough IOPS provisioned for Postgres β€’ large fact sets or catalogs with a lot of change (weird data problems)
  • m

    Mike Langhorst

    02/13/2023, 6:28 PM
    message has been deleted
  • r

    ramindk

    02/13/2023, 6:45 PM
    @spin what's the architecture? Primary Puppet server, Puppetdb, and Postgres collocated on an instances/server and 3-4 Puppet compilers?
  • s

    spin

    02/13/2023, 7:07 PM
    if thats too much then perhaps we need to change to legacy compiler where i believe the PDB will be removed from our EU compilers
  • n

    Neeloj

    02/14/2023, 12:29 PM
    hi all, it possible to use variables in files in a modules ?
    modules/mymodule/files/myfile.sh
    I want to use the Puppet-Server variable there like:
    $::puppet_server
  • s

    Slackbot

    02/14/2023, 12:31 PM
    This message was deleted.
    n
    b
    v
    • 4
    • 16
  • n

    Neeloj

    02/14/2023, 12:33 PM
    thats good idea I think I'll take the first option. thank you @vStone, but I dont call it, I can set the like with
    file_line
    and match
  • s

    Slackbot

    02/14/2023, 12:36 PM
    This message was deleted.
    m
    v
    • 3
    • 10
  • d

    Dr Bunsen Honeydew

    02/14/2023, 2:45 PM
    fry dancing πŸ§‘β€πŸ« Bolt is about to start up in #CFD8Z9A4T
  • s

    Slackbot

    02/14/2023, 2:53 PM
    This message was deleted.
    h
    b
    +2
    • 5
    • 14
  • b

    bastelfreak

    02/14/2023, 2:54 PM
    I tried to specify convert_to as arraywith
    Copy code
    convert_to:
      - Array
      - Sensitive
    But that seems to be wrong as well https://www.puppet.com/docs/puppet/7/hiera_merging.html#setting_lookup_options_to_refine_the_result_of_a_lookup
  • h

    helindbe

    02/14/2023, 3:03 PM
    It is going to be difficult to implement.
1...306307308...428Latest