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

    spp

    06/05/2023, 4:43 PM
    This is kind of old, but it might provide you a starting point for what you're looking for: https://forge.puppet.com/modules/danieldreier/resource_facts/readme
  • s

    Slackbot

    06/05/2023, 4:46 PM
    This message was deleted.
    m
    l
    b
    • 4
    • 7
  • s

    Slackbot

    06/05/2023, 4:50 PM
    This message was deleted.
    m
    y
    • 3
    • 2
  • s

    Slackbot

    06/05/2023, 9:51 PM
    This message was deleted.
    r
    • 2
    • 1
  • s

    Slackbot

    06/05/2023, 10:02 PM
    This message was deleted.
    🙌 1
    p
    • 2
    • 1
  • y

    Yury Bushmelev

    06/06/2023, 7:21 AM
    Just
    include selinux
    and set
    selinux::mode
    in Hiera as suggested above
    💪 1
  • p

    pratima gaikwad

    06/06/2023, 1:23 PM
    hii
  • p

    pratima gaikwad

    06/06/2023, 1:26 PM
    i am trying to install puppet but having some issue
  • p

    pratima gaikwad

    06/06/2023, 1:26 PM
    can someone help me on this ?
  • y

    Yorokobi

    06/06/2023, 1:27 PM
    Please be more precise and describe the problem. What version of Puppet? What operating system? How are you going about installing it? What is the issue?
  • d

    Dr Bunsen Honeydew

    06/06/2023, 1:45 PM
    beaker Content and Tooling is about to start up in #CFD8Z9A4T
  • b

    binford2k

    06/06/2023, 3:07 PM
    Don't forget that Puppet is hosting a watch party in our PDX office on June 8 and y'all are invited. Rsvp here to make sure we have enough donuts 😁 https://forms.gle/ddC2aEfiryJsz7xSA
  • d

    Dr Bunsen Honeydew

    06/06/2023, 4:45 PM
    ☕ 🧑‍🏫Puppet Core Team is about to start up in #CFD8Z9A4T
  • l

    Lumiere

    06/06/2023, 7:28 PM
    Anyone know what could cause
    Error: Failed to apply catalog: Parameter command failed on Exec[/usr/bin/systemctl daemon-reload]: Command must be a String, got value of class Array (file: /etc/puppetlabs/code/shared/infrastructure/firewall/manifests/linux/redhat.pp, line: 79)
    https://github.com/puppetlabs/puppetlabs-firewall/blob/v4.1.0/manifests/linux/redhat.pp#L77-L81
  • l

    Lumiere

    06/06/2023, 7:37 PM
    I can confirm if I comment out the command line just below it, it does work by using the title
  • b

    binford2k

    06/06/2023, 8:04 PM
    @Lumiere what Puppet version?
  • l

    Lumiere

    06/06/2023, 8:04 PM
    6.27
  • b

    binford2k

    06/06/2023, 8:07 PM
    @Lumiere really? The parameterized exec should work from 6.24 and above
  • l

    Lumiere

    06/06/2023, 8:08 PM
    oh
  • l

    Lumiere

    06/06/2023, 8:08 PM
    that'd be it, the package wasn't promoted to prod 😞
  • l

    Lumiere

    06/06/2023, 8:08 PM
    I'll have to deal with that later
  • l

    Lumiere

    06/06/2023, 8:08 PM
    I monkey patched it for now
    time 1
  • s

    Slackbot

    06/06/2023, 10:28 PM
    This message was deleted.
    k
    b
    • 3
    • 3
  • p

    Patrick Rynhart

    06/07/2023, 4:39 AM
    Is there any way to dump out everything that’s be compiled in the catalog ? I’m wanting to setup a require dependency on this resource
    Copy code
    tomcat::instance { $tconfig['instance']:
          catalina_home  => $tconfig['catalina_base'],
          manage_service => false,
        }
    but I’m unsure how to reference it
  • p

    Patrick Rynhart

    06/07/2023, 4:40 AM
    It would be something like
    Copy code
    augeas { 'connector_port_8080':
          incl    => '/opt/tomcat/conf/server.xml',
          lens    => 'Xml.lns',
          context => '/files/opt/tomcat/conf/server.xml/Server/Service/Connector',
          changes => [
            'set #attribute/minSpareThreads 25',
            'set #attribute/enableLookups false',
            'set #attribute/redirectPort 8443',
            'set #attribute/connectionTimeout 20000',
            'set #attribute/disableUploadTimeout True',
            'set #attribute/URIEncoding UTF-8',
          ],
          require => Tomcat::Instance::???????,
        }
  • s

    Slackbot

    06/07/2023, 4:41 AM
    This message was deleted.
    n
    p
    • 3
    • 5
  • s

    Slackbot

    06/07/2023, 5:08 AM
    This message was deleted.
    n
    p
    • 3
    • 2
  • p

    Patrick Rynhart

    06/07/2023, 5:09 AM
    A workaround I’m using is the tee command as follows:
    Copy code
    exec { 'dspace_bootstrap':
          command => "/opt/bootstrap/dspace_bootstrap.sh | tee /tmp/dspace_bootstrap.log",
          onlyif  => '/bin/test ! -f /opt/bootstrap/.dspace_bootstrap.done',
          timeout => '600',
        }
  • r

    Raz

    06/07/2023, 7:12 AM
    I want to post a question about running the puppet service vs runing the command "puppet agent -t". Is this the best place to post it?
  • b

    bastelfreak

    06/07/2023, 7:19 AM
    just try it here 🙂
1...371372373...428Latest