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

    Slackbot

    12/22/2022, 10:25 AM
    This message was deleted.
    h
    s
    • 3
    • 4
  • s

    Stefano Cenizzi

    12/22/2022, 11:40 AM
    Hello Everyone!
  • s

    Slackbot

    12/22/2022, 11:44 AM
    This message was deleted.
    b
    b
    +4
    • 7
    • 20
  • d

    David Sandilands

    12/22/2022, 1:50 PM
    message has been deleted
  • d

    David Sandilands

    12/22/2022, 2:03 PM
    sorry if I'm not getting the issue but the Puppet Certname remains static even if the hostname changes
  • h

    helindbe

    12/22/2022, 2:53 PM
    No, it is a logging function. It does not return anything
  • c

    csharpsteen

    12/22/2022, 3:30 PM
    Aha.
    In order for the lookup CLI to get that right, it would need to:
    ...
    • perform the lookup as if it occurred from a scope nested under the node scope (i.e. not from top scope)
    Yup, that'd do it.
  • d

    Dr Bunsen Honeydew

    12/22/2022, 6:45 PM
    goodnews 🧑‍🏫Puppet Forge is about to start up in #CFD8Z9A4T
  • b

    Bob-Vee

    12/22/2022, 11:10 PM
    message has been deleted
  • s

    Slackbot

    12/23/2022, 12:49 PM
    This message was deleted.
    y
    t
    a
    • 4
    • 3
  • s

    Steve Handy

    12/26/2022, 2:47 AM
    @Yury Bushmelev - How are you? Happy Holidays. I was wondering if this can be done thru powershell. I have the powershell module installed on Puppetmaster from Forge. I am thinking possibly thru epp template via onlyif command. I have a powershell script that is passed a variable from an array one at a time and check one by one for each package installed. If package installed one script returns zero which executes a powershell choco command -> choco upgrade $variable Please let me know what you think Thanks
  • s

    Steve Handy

    12/26/2022, 3:00 AM
    @Yury Bushmelev - How are you? Happy Holidays. I was wondering if this can be done thru powershell. I have the powershell module installed on Puppetmaster from Forge. I am thinking possibly thru epp template? I am thinking of simply passing an entire array ($e2elist array) to the powershell script and the powershell loops thru and does the conditional check to decide if chocolately should install package Please let me know what you think Thanks
  • s

    Slackbot

    12/26/2022, 7:09 AM
    This message was deleted.
    r
    a
    • 3
    • 4
  • d

    Dr Bunsen Honeydew

    12/27/2022, 10:45 PM
    waiting 🧑‍🏫 Bolt is about to start up in #CFD8Z9A4T
  • s

    Slackbot

    12/28/2022, 12:46 AM
    This message was deleted.
    c
    l
    • 3
    • 10
  • c

    csharpsteen

    12/28/2022, 12:53 AM
    Cert names can't use regular expressions. The regex in the docs is a tool to test whether a given string would be a valid certname.
  • s

    Slackbot

    12/28/2022, 11:33 AM
    This message was deleted.
    b
    w
    +4
    • 7
    • 11
  • s

    Slackbot

    12/28/2022, 3:55 PM
    This message was deleted.
    h
    m
    • 3
    • 52
  • m

    Michael Phillips

    12/28/2022, 3:55 PM
    Thanks in advance
  • l

    Les Shiner

    12/28/2022, 5:35 PM
    possible to use wildcards when adding a FQDN to puppets autosign.conf?
  • l

    Les Shiner

    12/28/2022, 5:37 PM
    https://www.puppetcookbook.com/posts/autosigning-client-certificates.html found it. Thanks!
  • c

    CVQuesty

    12/28/2022, 6:18 PM
    *.foo.com
  • c

    CVQuesty

    12/28/2022, 6:19 PM
    https://www.puppet.com/docs/puppet/7/config_file_autosign.html
  • m

    Michael Phillips

    12/28/2022, 8:34 PM
    I thinks I have access to the DB, however I have access to the server so I can run the command local using curl -x get request I am received a error I think related to syntax
  • s

    Slackbot

    12/28/2022, 9:18 PM
    This message was deleted.
    InstallSoftware.ps1.txt
    w
    s
    +3
    • 6
    • 60
  • s

    Steve Handy

    12/28/2022, 9:22 PM
    @wil.rodriguez - Hi Wil. So should extension be .ps1.epp or just .epp?
  • w

    wil.rodriguez

    12/28/2022, 9:24 PM
    Either way works. By convention, most puppet practitioners I've known will name the template the full name of the intended file, with extension, and simply append
    .epp
    to the end.
  • m

    Michael Phillips

    12/28/2022, 9:31 PM
    I tried this one:
    curl -X get <http://localhost:8080/pdb/query/v4/fact-contents/> --header 'X-Authentication: XXX' --data-urlencode 'query["and",["=","path",["az_metadata","compute","resourceId"]], ["~","value","ServerName"]]'
  • s

    Steve Handy

    12/28/2022, 9:52 PM
    from Foreman I am trying to pass this array: ["microsoft-edge","notepadplusplus","putty","firefox","puppet-bolt"] The powershell script one by one from each array member, checks each member of array and upgrades it under the condition if the package is installed
  • s

    Steve Handy

    12/28/2022, 9:53 PM
    from Foreman I am trying to pass this array: ["microsoft-edge","notepadplusplus","putty","firefox","puppet-bolt"] The powershell script one by one from each array member, checks each member of array and upgrades it under the condition if the package is installed via chocolatey
1...257258259...428Latest