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

    vchepkov

    05/05/2022, 8:40 PM
    I suspect it does though
  • r

    runlolarun

    05/05/2022, 8:40 PM
    so what i have right now installs all different packages, but not php itself.
  • r

    runlolarun

    05/05/2022, 8:41 PM
    it installs all php-* (example php-process).
  • v

    vchepkov

    05/05/2022, 8:41 PM
    Yeah, https://github.com/voxpupuli/puppet-php/blob/master/manifests/params.pp#L156
  • v

    vchepkov

    05/05/2022, 8:41 PM
    Yeah, https://github.com/voxpupuli/puppet-php/blob/master/manifests/params.pp#L156
  • v

    vchepkov

    05/05/2022, 8:41 PM
    it's empty for RHEL
  • r

    runlolarun

    05/05/2022, 8:41 PM
    so what i have right now installs all different packages, but not php itself.
  • v

    vchepkov

    05/05/2022, 8:42 PM
    no clue why
  • r

    runlolarun

    05/05/2022, 8:42 PM
    should i somehow set it manually?
  • v

    vchepkov

    05/05/2022, 8:43 PM
    it doesn't allow to override it. from what I can see
  • r

    runlolarun

    05/05/2022, 8:44 PM
    i guess.. i can add
    exec
    as a workaround..?
  • r

    runlolarun

    05/05/2022, 8:44 PM
    and install php with it…
  • d

    Dr Bunsen Honeydew

    05/05/2022, 8:45 PM
    letsplay 🧑‍🏫PE Console is about to start up in #CFD8Z9A4T
  • v

    vchepkov

    05/05/2022, 8:45 PM
    I don't use that module, I think I gave up on it some time ago for that reason
  • v

    vchepkov

    05/05/2022, 8:45 PM
    🙂
  • r

    runlolarun

    05/05/2022, 8:45 PM
    heh ok:) i think i will add exec.
  • r

    runlolarun

    05/05/2022, 8:46 PM
    not very clean, but it is what it is.
  • v

    vchepkov

    05/05/2022, 8:46 PM
    no need for exec
  • r

    runlolarun

    05/05/2022, 8:46 PM
    what would you do?
  • v

    vchepkov

    05/05/2022, 8:47 PM
    I do pretty much the same, enable repo and then install whatever I need
  • s

    Slackbot

    05/05/2022, 8:47 PM
    This message was deleted.
    v
    r
    • 3
    • 39
  • r

    runlolarun

    05/05/2022, 8:48 PM
    but if i already have package with php in order to disable modules, it won’t be a duplicate?
  • r

    runlolarun

    05/05/2022, 8:49 PM
    But i don’t see you disabling module anywhere in the code
  • v

    vchepkov

    05/05/2022, 8:49 PM
    I do it in
    require profile::php
  • r

    runlolarun

    05/05/2022, 8:50 PM
    is it php or php-fpm in profile::php?
  • v

    vchepkov

    05/05/2022, 8:50 PM
    Lets go to thread
    ✔️ 1
  • v

    vchepkov

    05/05/2022, 9:03 PM
    Copy code
    class profiles::php {
      package {
        'php-module':
            ensure   => 'disabled',
            name     => 'php',
            provider => 'dnfmodule',
        ;
        'php':
            ensure  => '8.0.13',
            require => Package['php-module'],
      }
    }
  • j

    josh

    05/05/2022, 9:53 PM
    sure, for that you can use the memory_profiler gem (we use that for our benchmarks) like https://github.com/puppetlabs/puppet/blob/c0f692088789217a35486714de2e9d53bfaf6622/tasks/benchmark.rake#L105-L118
  • b

    bastelfreak

    05/06/2022, 8:20 AM
    I need to say that the php module is in a bad shape and everybody willing to do a cleanup is more than welcome to do so. I'm happy to assist
  • m

    Massimiliano (Max)

    05/06/2022, 9:44 AM
    👋 hi
1...232425...428Latest