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

    Slackbot

    07/27/2023, 6:16 PM
    This message was deleted.
    g
    c
    • 3
    • 2
  • b

    binford2k

    07/27/2023, 6:30 PM
    set the channel topic: Welcome! Be nice to each other: pup.pt/conduct | Flag a message for moderation with the moderator reaction | https://puppet.statuspage.io | Logs: http://pup.pt/chatlog
  • s

    Slackbot

    07/27/2023, 6:40 PM
    This message was deleted.
    d
    • 2
    • 1
  • r

    Raj Parpani

    07/27/2023, 7:59 PM
    Error: 'C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -NoLogo -NonInteractive C:\Users\rparpani\AppData\Local\Temp\prerequisites_check.ps1 6.17.0 C:\ProgramData\Puppetlabs\packages\puppet-agent-x64.msi C:\Users\rparpani\AppData\Local\Temp\puppet-2023_07_27-18_53-installer.log' returned 1 instead of one of [0] Error: /Stage[main]/Puppet_agent:InstallWindows/Exec[prerequisites check.ps1]/returns change from 'notrun' to ['0'] failed: 'C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -NoLogo -NonInteractive C:\Users\rparpani\AppData\Local\Temp\prerequisites_check.ps1 6.17.0 C:\ProgramData\Puppetlabs\packages\puppet-agent-x64.msi C:\Users\rparpani\AppData\Local\Temp\puppet-2023_07_27-18_53-installer.log' returned 1 instead of one of [0] (corrective) [11:59 AM] Error: Could not set 'file' on ensure: Error 500 on SERVER: Server Error (file: /etc/puppetlabs/code/environments/production/site-modules/profile/manifests/tomcat_server.pp, line: 248) Error: Could not set 'file' on ensure: Error 500 on SERVER: Server Error (file: /etc/puppetlabs/code/environments/production/site-modules/profile/manifests/tomcat_server.pp, line: 248) Wrapped exception: Error 500 on SERVER: Server Error Error: /Stage[main]/Profile:Tomcat server/File[D\Tomcat\Tomcat\us03p02app05.prod.nextravel.com.pfx]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: Error 500 on SERVER: Server Error (file: /etc/puppetlabs/code/environments/production/site-modules/profile/manifests/tomcat_server.pp, line: 248) Got these errors while running puppet agent -t on agent node
  • s

    Slackbot

    07/27/2023, 8:01 PM
    This message was deleted.
    y
    r
    • 3
    • 11
  • c

    cameron

    07/27/2023, 8:04 PM
    Quick question: I've been away from puppet for a while. I've got a module I've inherited that unfortunately insists on using individual templates for a whole slew of otherwise duplicated configs. I tried setting up a central template and using a '../central_template/template.erb' trick, and the server choked on that. I tried symlinks with relative paths, same deal. Is there any trick I can use to use relative paths? The module I inherited is looking in a directory for each config, expecting
    template.erb
    to be there. I wanted to redirect it using either symlink or injecting a
    /../
    into the template path.
  • s

    Slackbot

    07/27/2023, 8:11 PM
    This message was deleted.
    c
    v
    • 3
    • 34
  • v

    vchepkov

    07/27/2023, 8:11 PM
    https://www.puppet.com/docs/puppet/7/file_serving.html#file_serving-creating-new-mount-points-fileserver
  • k

    Ken

    07/27/2023, 8:36 PM
    I use a symlink for static files, works fine. Not sure why yours isn't...
  • k

    Ken

    07/27/2023, 8:36 PM
    also symlinked to my hiera encryption keys because I wanted to keep them in a more secure location
  • s

    Slackbot

    07/27/2023, 8:38 PM
    This message was deleted.
    y
    j
    k
    • 4
    • 7
  • d

    Dr Bunsen Honeydew

    07/27/2023, 8:45 PM
    meeting 🧑‍🏫PE Console is about to start up in #CFD8Z9A4T
  • r

    Raj Parpani

    07/27/2023, 9:26 PM
    Error: 'C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -NoLogo -NonInteractive C:\Users\rparpani\AppData\Local\Temp\prerequisites_check.ps1 6.17.0 C:\ProgramData\Puppetlabs\packages\puppet-agent-x64.msi C:\Users\rparpani\AppData\Local\Temp\puppet-2023_07_27-20_56-installer.log' returned 1 instead of one of [0] Error: /Stage[main]/Puppet_agent:InstallWindows/Exec[prerequisites check.ps1]/returns change from 'notrun' to ['0'] failed: 'C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -NoProfile -NoLogo -NonInteractive C:\Users\rparpani\AppData\Local\Temp\prerequisites_check.ps1 6.17.0 C:\ProgramData\Puppetlabs\packages\puppet-agent-x64.msi C:\Users\rparpani\AppData\Local\Temp\puppet-2023_07_27-20_56-installer.log' returned 1 instead of one of [0] (corrective)
  • r

    Raj Parpani

    07/27/2023, 9:28 PM
    Getting this error when running puppet agent on agent node. Any suggestions on how to resolve this?
  • s

    Slackbot

    07/28/2023, 11:38 AM
    This message was deleted.
    h
    v
    • 3
    • 8
  • d

    Dr Bunsen Honeydew

    07/28/2023, 11:38 AM
    ```- lost a life. (Karma: -116)
  • s

    Slackbot

    07/28/2023, 12:20 PM
    This message was deleted.
    s
    b
    k
    • 4
    • 10
  • s

    saz

    07/28/2023, 12:35 PM
    Still no answer?
  • r

    rheign07

    07/28/2023, 1:35 PM
    hello all, init_ps.ps1 is causing memory consumption on our servers, what could be the possible reason for this?
  • r

    rheign07

    07/28/2023, 1:35 PM
    there are multiple instances of powershell being triggered by puppet
  • c

    Craig McDowell

    07/28/2023, 2:11 PM
    Anyone using puppetserver 8.1 with puppetdb on RHEL 8.8? I'm getting a java error when starting puppetdb UnsupportedClassVersionError for HikariDataSource Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0. I already installed java-11-openjdk.x86_64. Any ideas how to fix this?
  • v

    vchepkov

    07/28/2023, 2:12 PM
    There is a packaging bug there, I just posted workaround in #C0W1Y5VL0
  • b

    bastelfreak

    07/28/2023, 2:19 PM
    you should probably use Java 17 instead
  • s

    Slackbot

    07/28/2023, 2:47 PM
    This message was deleted.
    b
    • 2
    • 1
  • l

    Lumiere

    07/28/2023, 2:49 PM
    you want Yumrepo['ms_repo']
  • l

    Lumiere

    07/28/2023, 2:50 PM
    Yum::Repos is a variable that creates yumrepo resources
  • v

    vchepkov

    07/28/2023, 2:50 PM
    Technically, since all managed repos are confined, you can do
    require => Class['yum']
    👍 1
  • l

    Lumiere

    07/28/2023, 2:50 PM
    https://github.com/voxpupuli/puppet-yum/blob/master/manifests/init.pp#L136C5-L165
  • v

    vchepkov

    07/28/2023, 2:51 PM
    In fact I do it in our profile, which makes it simplier
  • b

    Brian Schonecker

    07/28/2023, 2:51 PM
    Oh, then perhaps I don't need ordering?
1...398399400...428Latest