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

    William Myers

    11/14/2022, 6:27 PM
    I wonder if it's still trying to exec from /tmp|/var/tmp when creating the directory
  • s

    Slackbot

    11/14/2022, 6:43 PM
    This message was deleted.
    w
    y
    +2
    • 5
    • 38
  • w

    William Myers

    11/14/2022, 6:43 PM
    Copy code
    /etc/puppetlabs/code/environments/test_bolt$ sudo bolt command run 'mkdir /var/cache/test' --targets dockerhost
    Started on dockerhost...
    Finished on dockerhost:
    Successful on 1 target: dockerhost
    Ran on 1 target in 0.74 sec
  • w

    William Myers

    11/14/2022, 8:59 PM
    yes
  • w

    William Myers

    11/14/2022, 9:01 PM
    Works fine for run, but tasks are going sideways and hitting this permission error.
  • w

    William Myers

    11/14/2022, 9:10 PM
    Can we vote @Dr Bunsen Honeydew off the island?
  • y

    Yorokobi

    11/14/2022, 9:10 PM
    The bot does more than (badly) track karma
  • w

    William Myers

    11/14/2022, 9:11 PM
    Can the Karma thing be disabled? lol
  • w

    William Myers

    11/14/2022, 9:11 PM
    message has been deleted
  • w

    William Myers

    11/14/2022, 9:19 PM
    message has been deleted
  • w

    William Myers

    11/14/2022, 9:22 PM
    is it perhaps trying to provision tmpdir before elevating to root?
  • w

    William Myers

    11/14/2022, 9:25 PM
    Does TMPDIR and it's immediate parent need to be world writeable?
  • r

    rnelson0

    11/14/2022, 9:29 PM
    that would be significantly less funny than file stats accumulating negative karma, though 😄
    😂 2
    💯 1
  • r

    rnelson0

    11/14/2022, 9:29 PM
    that would be significantly less funny than file stats accumulating negative karma, though 😄
  • w

    William Myers

    11/14/2022, 9:55 PM
    Submitted a bug report: https://github.com/puppetlabs/bolt/issues/3167
  • g

    gary

    11/14/2022, 11:59 PM
    Its been a while since I've setup a puppetserver (way before r10k existed). My git repo defaults to using
    main
    for the default branch name instead of
    master
    . Using g10k to pull in branches. I can g10k wrote all branches in the environments directory. But when I run puppet agent, its not finding the production (which use to just alias to the
    master
    branch). Is it a puppetserver config or puppet agent config that I need to change to alias
    production
    to the new name of
    main
    instead? Thanks!
  • n

    natemccurdy

    11/15/2022, 12:03 AM
    Puppetserver itself doesn’t alias one environment to another. You’ll have to handle that yourself…. for example by making a symlink for
    main
    ->
    production
    in
    /etc/puppetlabs/code/environments
    . Though, if your environment name is literally
    main
    , and you want to use that, then agents can run against it with this in their `puppet.conf`:
    Copy code
    [agent]
    environment = main
  • n

    natemccurdy

    11/15/2022, 12:04 AM
    However, I strongly recommend having a real environment called
    production
    . There’s just way too much baked into Puppet that expects
    production
    to exist.
    👍 1
  • c

    chadh

    11/15/2022, 12:06 AM
    I could have sworn there was a feature of r10k to tell it which branch should be production, but I guess not
  • w

    William Myers

    11/15/2022, 12:29 AM
    In my case I made "production" the primary and protected branch
  • w

    William Myers

    11/15/2022, 12:29 AM
    then purged out main
  • w

    William Myers

    11/15/2022, 12:30 AM
    What's folks's experience been like with cholatey?
    chocolatey 1
  • w

    William Myers

    11/15/2022, 12:41 AM
    message has been deleted
  • y

    Yorokobi

    11/15/2022, 1:10 AM
    chocolatey works great
    chocolatey 1
  • s

    Slackbot

    11/15/2022, 1:54 AM
    This message was deleted.
    d
    • 2
    • 1
  • s

    Slackbot

    11/15/2022, 1:55 AM
    This message was deleted.
    y
    • 2
    • 3
  • w

    William Myers

    11/15/2022, 1:55 AM
    My other question is, Is it acceptable to have puppet and puppet bolt stuff within the same control repo or should they be their own discrete environments?
  • a

    Anthony Chapman

    11/15/2022, 3:37 AM
    good evening, https://forge.puppet.com/ currently seems to be down. Does anyone know if this is a planned outage, or something else going on?
  • a

    Anthony Chapman

    11/15/2022, 3:38 AM
    good evening, https://forge.puppet.com/ currently seems to be down. Does anyone know if this is a planned outage, or something else going on?
  • t

    Travis Sadler

    11/15/2022, 3:50 AM
    Yes there is a planned outage, of which we are in the middle
    👍 2
    🥲 1
    thankyou 1
1...234235236...428Latest