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

    Samy

    06/10/2022, 11:03 AM
    I just need one task to upgrade one debian 9 - 11, on non prod (testing) server
  • o

    Oleksandr Lytvyn

    06/10/2022, 12:12 PM
    UPD: still actual We can't figure out why "puppet.service" is not started when we run "puppet agent -t" when using module https://github.com/puppetlabs/puppetlabs-puppet_agent
    mod 'puppetlabs-puppet_agent', '4.11.0'
    In code seems that it should start puppet.service, but it doesn't do that.
  • o

    Oleksandr Lytvyn

    06/10/2022, 2:02 PM
    Hello, I want to open an issue regarding module https://forge.puppet.com/modules/puppetlabs/puppet_agent (it has also no "issues" section on github) at Jira https://tickets.puppetlabs.com/projects/MODULES --> i tried to create issue and when i press "Create" yellow button I can't select project "Modules", there no such option 🤔 How can end user report an issue related to Modules?
  • s

    shuaip

    06/10/2022, 4:14 PM
    Hi, I find that puppet7 don't release the centos7 ppc64le rpm packages
  • s

    shuaip

    06/10/2022, 4:16 PM
    How can I put rpm packages onto http://yum.puppetlabs.com
  • s

    shuaip

    06/10/2022, 4:17 PM
    puppet7 don't release the centos7 ppc64le rpm packages
  • s

    shuaip

    06/10/2022, 4:19 PM
    😁
  • s

    shuaip

    06/10/2022, 4:19 PM
    Hi, I find that puppet7 don't release the centos7 ppc64le rpm packages
  • b

    bastelfreak

    06/10/2022, 4:41 PM
    @binford2k know the magic url for product people. that might be a good place for feature requests
  • s

    Slackbot

    06/13/2022, 6:50 AM
    This message was deleted.
    n
    n
    • 3
    • 2
  • s

    Slackbot

    06/13/2022, 6:54 AM
    This message was deleted.
    n
    b
    n
    • 4
    • 33
  • n

    Neeloj

    06/13/2022, 7:36 AM
    @n3snah The Script take 100-180s and thats normal for us, because this PowerShell script has sub checks and they thould be als excuted. Yes I did that already with error and Exit code but it doesnt come the try/catch. The script run like I want. When I run the PS manually it works When I run puppet manually and puppet call the scipt it works too. When I run puppet manually and I set
    timeout=30s
    it works too, cancel puppet. Only when the Service run puppet I have this issue and not everytime!
  • n

    n3snah

    06/13/2022, 10:01 AM
    This is the code your running from the provider. https://github.com/puppetlabs/puppetlabs-powershell/blob/main/lib/puppet/provider/exec/powershell.rb It seems to call some of the arguments from the pwsh provider https://github.com/puppetlabs/puppetlabs-powershell/blob/main/lib/puppet/provider/exec/pwsh.rb might be worth trying to run your script with
    start-transcript
    to see if you can identify anything within it. Otherwise the only thing I can think of right now is to log a ticket with PuppetLabs to see if they can assist. As a really horrible workaround you could probably put a scheduled task in place to detect whether puppet is running longer than 15 mins and do a clean up. e.g. kill the process, remove the lock file.. I would log that somewhere though. It might make the actual issue invisible and then you could run into something bigger.
  • n

    Neeloj

    06/13/2022, 10:09 AM
    thank you so much @n3snah Ill test with
    start-transcript
    and as you said scheduled task is horrible workaround. Ill give you my feedback, thank you again
  • s

    Slackbot

    06/13/2022, 10:54 AM
    This message was deleted.
    n
    s
    • 3
    • 4
  • s

    Slackbot

    06/13/2022, 10:21 PM
    This message was deleted.
    c
    • 2
    • 1
  • d

    Dr Bunsen Honeydew

    06/13/2022, 10:21 PM
    See the
    thias-sysctl
    module at https://forge.puppet.com/thias/sysctl?src=slack&channel=puppet
  • s

    Slackbot

    06/14/2022, 8:27 AM
    This message was deleted.
    y
    d
    p
    • 4
    • 10
  • p

    Pavlos Parissis

    06/14/2022, 8:27 AM
    Question about
    ~
    value in a hash key. I am using https://github.com/pcfens/puppet-filebeat/blob/master/templates/pure_hash.yml.erb to build a yaml file and I need to add the following snippet:
    Copy code
    processors:
    - add_cloud_metadata: ~
    and I can't set
    ~
    as a value and I am using
    undef
    instead
    Copy code
    [...snip...]  
      processors          => [
             {
               'add_cloud_metadata' => undef,
             }
           ],
    [...snip...]
    which yields this yaml snippet:
    Copy code
    processors:
    - add_cloud_metadata:
    which is a valid yaml file as an empty value is equivalent to
    ~
    and it works fine, but I would like to have
    ~
    in the generated yaml as it is more user friendly. Is that possible?
  • s

    Slackbot

    06/14/2022, 10:33 AM
    This message was deleted.
    b
    j
    • 3
    • 8
  • s

    Slackbot

    06/14/2022, 1:14 PM
    This message was deleted.
    n
    j
    • 3
    • 4
  • z

    Zeke Marffy

    06/14/2022, 1:39 PM
    message has been deleted
  • z

    Zeke Marffy

    06/14/2022, 1:39 PM
    Is there any way to access the "should" parameters in the
    get
    method the resource API implements?
    should
    is not a parameter for it, so I was wondering if it is available elsewhere somehow.
  • d

    Dr Bunsen Honeydew

    06/14/2022, 1:45 PM
    beaker 🧑‍🏫 Bolt is about to start up in #CFD8Z9A4T
  • a

    Allahshukur Ahmadzada

    06/14/2022, 2:11 PM
    how can I reach puppetdb dashboard, ui after installing Puppet Enterprice?
  • d

    Dr Bunsen Honeydew

    06/14/2022, 2:45 PM
    goodnews _🦊Vox Pupuli monthly sync; see calendar event for info_ is about to start up in #CFD8Z9A4T
  • f

    fe80

    06/14/2022, 3:11 PM
    Hello, They doesn't existe puppetserver image for puppet 6.17.1 ?
  • l

    Lumiere

    06/14/2022, 3:56 PM
    I believe that's the version where they only changed dependencies and the puppet gem version didn't bump
  • r

    Robert Morrow

    06/14/2022, 4:26 PM
    I have multiple modules that use the class[Docker] to make sure docker is installed, this works fine when one is assigned to a server but when I have 2 I get duplicate declaration... How do I make sure it is there for both modules but not cause this?
  • l

    Lumiere

    06/14/2022, 4:58 PM
    so, if all they want it to know that class docker is there
1...636465...428Latest