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

    Lumiere

    07/28/2023, 2:51 PM
    requiring the class generates the ordering
  • l

    Lumiere

    07/28/2023, 2:51 PM
    because the yum repos are generated as part of the class
  • s

    Slackbot

    07/28/2023, 2:52 PM
    This message was deleted.
    v
    • 2
    • 2
  • b

    Brian Schonecker

    07/28/2023, 3:17 PM
    Thanks, I didn't have to order the yumrepo => package at all. Looks like it's already ordered properly by design.
  • b

    Brian Schonecker

    07/28/2023, 3:19 PM
    I have another issue now. I'm installing a Microsoft linux RPM (ironic, isn't it?) and the RPM has a preinstall scriptlet that is asking "Yes or no?" before the package will install. In addition, if I were to: ACCEPT_EULA=Y yum install -y msodbc, then it installs fine. I couldn't find anything in the package resource that would either set an environment variable or echo in a "YES" to the package installer. Other than repackaging the RPM myself, is there any method for Puppet to install the MS package? https://gist.github.com/bschonec/9088abd158837f0b783105c38c36b63a
  • l

    Lumiere

    07/28/2023, 3:28 PM
    it's ugly, but would setting the yum command to something that passes the env variable in work for that package?
  • l

    Lumiere

    07/28/2023, 3:30 PM
    you probably could also hack together a exec with a creates => of one of the files the RPM drops, and then have that before => the yum package (so that you have a yum package in the puppet catalog to reference)
  • l

    Lumiere

    07/28/2023, 3:30 PM
    but I honestly would ping microsoft and tell them to cut it out
  • l

    Lumiere

    07/28/2023, 3:31 PM
    rpm is meant to be non-interactive
    ➕ 1
  • s

    Skylar Thompson

    07/28/2023, 3:32 PM
    We've had to use
    exec
    + `yum`/`dpkg` to set environment variables for IBM GPFS where it needs something set to do an upgrade w/o unmounting filesystems. It's ugly but works
    🤮 1
  • s

    Skylar Thompson

    07/28/2023, 3:34 PM
    It is frustrating how it seems the big vendors have trouble understanding exactly how packaging is supposed to work
    💯 2
  • d

    daloran

    07/28/2023, 4:23 PM
    Too many junior dev silos
    👍 1
    👍🏼 1
  • s

    Slackbot

    07/28/2023, 6:55 PM
    This message was deleted.
    b
    c
    s
    • 4
    • 9
  • v

    vchepkov

    07/28/2023, 7:04 PM
    or
    /etc/sysconfig/puppet
  • c

    Corey Hickey

    07/28/2023, 7:05 PM
    Unless the vendor can fix the problem, I'd use an
    exec
    resource in puppet to run
    ACCEPT_EULA=Y yum install -y msodbc
    .
  • v

    vchepkov

    07/28/2023, 7:10 PM
    I recall a ticket was created eons ago to allow path environment variables to package providers
  • r

    Raj Parpani

    07/28/2023, 7:10 PM
    7/27/2023 11:33 AM Checking puppet-agent.msi version and expected puppet-agent version.. 7/27/2023 11:33 AM ERROR: The expected puppet-agent version(6.17.0) does NOT match the .msi version 7.21.0. Installation will STOP! 7/27/2023 11:33 AM ERROR: ScriptHalted
  • r

    Raj Parpani

    07/28/2023, 7:11 PM
    See these errors on my installer log. I have setup Agent using the Powershell script from PE and tried setting it up manually as well
  • r

    Raj Parpani

    07/28/2023, 7:11 PM
    Still seeing these errors
  • s

    Slackbot

    07/28/2023, 10:15 PM
    This message was deleted.
    b
    c
    +2
    • 5
    • 19
  • s

    Slackbot

    07/28/2023, 10:39 PM
    This message was deleted.
    b
    v
    • 3
    • 3
  • s

    Slackbot

    07/30/2023, 3:57 PM
    This message was deleted.
    ubuntu.sh
    y
    s
    • 3
    • 8
  • n

    Neeloj

    07/31/2023, 10:58 AM
    hi all, does anyone have good article/blog how installing puppetserver voa terraform (openstack as provider) thanks
  • s

    Slackbot

    07/31/2023, 3:21 PM
    This message was deleted.
    k
    b
    d
    • 4
    • 5
  • s

    Slackbot

    07/31/2023, 6:05 PM
    This message was deleted.
    y
    s
    t
    • 4
    • 4
  • d

    David Kettmann

    07/31/2023, 6:42 PM
    Posted in #C0W1Z7213 as it relates to some of the DSC modules, but this could be just a general Puppet knowledge-gap. Thanks in advance!
  • s

    Slackbot

    07/31/2023, 7:48 PM
    This message was deleted.
    n
    y
    b
    • 4
    • 10
  • b

    Brent

    07/31/2023, 8:25 PM
    Hey all, I think I may have found a bug in Puppet 7.20.0-1 via Epel on Redhat. But I don't know if it's known, or fixed, or if I'm just plain wrong, so I wanted to run it by smarter people first.
  • s

    Slackbot

    07/31/2023, 8:28 PM
    This message was deleted.
    y
    s
    +2
    • 5
    • 4
  • s

    Slackbot

    07/31/2023, 8:59 PM
    This message was deleted.
    y
    v
    +2
    • 5
    • 12
1...399400401...428Latest