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

    vchepkov

    08/04/2023, 4:22 PM
    I was searching around, in the past it wasn't recommended to use foreman with PE. Since puppet is 'optional' nowadays, did anyone successfully configured foreman instance to be a client of PE and use PE agent?
  • b

    bastelfreak

    08/04/2023, 4:45 PM
    both work fine together. you just need to decide what you want as ENC
  • v

    vchepkov

    08/04/2023, 4:47 PM
    I want to use foreman only for katello, for package management
  • s

    Slackbot

    08/04/2023, 5:19 PM
    This message was deleted.
    v
    b
    • 3
    • 7
  • v

    VoxBot

    08/04/2023, 5:22 PM
    a default Katello install no longer enables Puppet
  • v

    VoxBot

    08/04/2023, 5:22 PM
    Foreman does, but that's because we reuse the certificates
  • v

    vchepkov

    08/04/2023, 5:23 PM
    hence the question, how to decouple all puppet components and use external puppet infra?
  • v

    VoxBot

    08/04/2023, 5:56 PM
    I have looked at how integration should work, but never really found something that I thought was satisfying
  • s

    Slackbot

    08/04/2023, 5:57 PM
    This message was deleted.
    v
    • 2
    • 1
  • r

    runlolarun

    08/04/2023, 6:13 PM
    Hello, everyone. I searched for this error and it seems like it was mentioned back in april, but i can’t understand if there is a solution or if this is something i’m doing wrong. I started working with the foreman module and getting the following error:
    Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Resource type not found: Redis::RedisUrl (file: /etc/puppetlabs/code/environments/master/modules/foreman/manifests/init.pp, line: 288, column: 12)
    The line is
    Optional[Redis::RedisUrl] $dynflow_redis_url = undef,
    It’s optional, so why is puppet complaining about it? Thank you.
  • v

    VoxBot

    08/04/2023, 6:15 PM
    it sounds like you don't have the Redis module or a too old version
  • v

    VoxBot

    08/04/2023, 6:15 PM
    Puppet still needs the Redis::RedisUrl type to exist - this isn't that there's no value for it
  • v

    VoxBot

    08/04/2023, 6:16 PM
    so in particular: https://github.com/voxpupuli/puppet-redis/blob/master/types/redisurl.pp
  • v

    VoxBot

    08/04/2023, 6:16 PM
    https://github.com/voxpupuli/puppet-redis/commit/8b7104e76f35613ec972abfbe4caf8206b28a72c introduced that, so you need at least version 4.0.0
  • v

    VoxBot

    08/04/2023, 6:16 PM
    but the module lists 5.0.0 as the oldest supported
  • r

    runlolarun

    08/04/2023, 6:18 PM
    This one? https://forge.puppet.com/modules/puppet/redis/readme . In case i stumble upon a similar issue, how could have i figured out on my own? What did I do wrong?
  • v

    VoxBot

    08/04/2023, 6:18 PM
    it says "Resource type not found: Redis::RedisUrl"
  • r

    runlolarun

    08/04/2023, 6:19 PM
    Fair. Did I specify the correct module?
  • v

    VoxBot

    08/04/2023, 6:19 PM
    it's hard to say, there are a few reasons why it can't be found
  • v

    VoxBot

    08/04/2023, 6:19 PM
    I'd start with looking at the environment and see which modules are available
  • r

    runlolarun

    08/04/2023, 6:20 PM
    There is no documentation that i missed?
  • r

    runlolarun

    08/04/2023, 6:20 PM
    Wouldn’t it be under Dependencies?
  • v

    VoxBot

    08/04/2023, 6:20 PM
    https://github.com/theforeman/puppet-foreman/blob/a4157ab77ed8589c3d312c13890a57b7b62d3599/metadata.json#L43-L46
  • r

    runlolarun

    08/04/2023, 6:21 PM
    Okay, thank you! With each question, i learn more. I appreciate your help.
  • v

    VoxBot

    08/04/2023, 6:21 PM
    it's really specific to our environment, but https://github.com/theforeman/foreman-infra/blob/master/puppet/check_dependencies is what I use to verify the deps - I wish we had some generic tool
    thankyou 1
  • r

    runlolarun

    08/04/2023, 6:27 PM
    Ok i’m very sorry, i have another question. My Puppetfile specifies the latest version 23.0.0. If i look on metadata.json, it’s listing
    {
    "name": "puppet/redis",
    "version_requirement": ">= 5.0.0 < 9.0.0"
    }
    Even though in github it’s < 10.0.0.
  • d

    Dr Bunsen Honeydew

    08/04/2023, 6:27 PM
    See the
    puppet-redis
    module at https://forge.puppet.com/puppet/redis?src=slack&amp;channel=voxpupuli
  • v

    VoxBot

    08/04/2023, 6:28 PM
    do remember that r10k doesn't do dependency resolution for your Puppetfile: you must list all modules explicitly
  • r

    runlolarun

    08/04/2023, 6:29 PM
    Yes, i’m just curious why the difference. Shouldn’t metadata.json be the same?
  • v

    VoxBot

    08/04/2023, 6:30 PM
    that's what r10k doesn't do: it doesn't look at metadata.json
1...572573574...648Latest