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

    tuxmea

    04/28/2022, 12:07 PM
    And Bolt and PDK.
  • j

    josh

    04/28/2022, 5:08 PM
    The most recent puppet-agent 6 and 7 releases added support for macOS 12 x86_64, e.g. https://downloads.puppet.com/mac/puppet7/12/x86_64/index.html We are working on macOS 11 & 12 M1 support, but have been slowed down by a data center move and a reliable CI solution allowing us to test M1 builds. Not sure why bolt and pdk packages aren't there as well. They're handled by different teams. I'll ping some folks
  • t

    Tom

    04/28/2022, 6:03 PM
    @tuxmea The next release of Bolt (3.23.0) will include support for macOS 12 and drop support for macOS 10.15. We only build Bolt for platforms that have puppet-agent support, and that was added after the latest Bolt release.
  • w

    wil.rodriguez

    07/18/2022, 8:43 PM
    Any updates on pdk and puppet monterrey builds for M1? We could REALLY use those packages. And by that, I mean that I jut got my laptop refreshed and without PDK my productivity has absolutely tanked. Most of our developers are in the same boat as most of our x86_64 mac fleet will be refreshed in the next month or so
    šŸ‘ 1
  • j

    josh

    07/20/2022, 1:36 AM
    Nightly puppet agent packages are available now for 6 and 7, eg http://nightlies.puppet.com/downloads/mac/puppet7-nightly/12/arm64/index.html
    šŸ™Œ 1
    🦜 1
  • j

    John O'Connor

    09/07/2022, 9:08 PM
    @John O'Connor has left the channel
  • c

    Chris Reay

    12/09/2022, 4:00 PM
    Is there anything special that needs to be done to get the macOS agent to run at the default 30 min interval? For Windows and Linux, it seems to do that automatically as part of the install, but on macOS, it will not run unless we add
    runinterval
    to the config file. Is that expected?
  • j

    josh

    12/09/2022, 8:03 PM
    That is not expected. What macOS version and arch? What version of puppet-agent?
  • c

    Chris Reay

    12/09/2022, 8:47 PM
    ARM, macOS 13.0.1, 7.19
  • j

    josh

    12/09/2022, 10:34 PM
    13 isn’t supported yet. Apple may have changed how launched services request to run on a schedule. Thanks for the heads up
    😬 1
  • c

    Chris Reay

    12/09/2022, 11:26 PM
    What actually controls or sets up that functionality on macOS 12x or older ?
  • c

    CVQuesty

    12/12/2022, 1:47 PM
    It’s likely going to all depend on launchd. Apple changes things to meet some arbitrary set of guidelines managed by ${nobody_knows}. (This is a former Apple employee complaining) No one would get notification in any official capacity that something was changing. Just like it ā€œhappenedā€ to people out there, it ā€œhappenedā€ to us. And we’d all open internal tickets because all sorts of things in our departments would break, and we’d have to make quick accommodating changes to bring our stuff back up. I was only there a couple years and I think I remember breaking changes of that nature 3 or 4 times.
  • b

    boats

    06/13/2023, 10:04 AM
    @boats has left the channel
  • l

    louiem3

    07/30/2023, 6:40 PM
    @louiem3 has left the channel
  • i

    Igar Volan

    08/30/2023, 1:31 PM
    @Igar Volan has left the channel
  • s

    Slackbot

    01/31/2024, 2:59 AM
    This message was deleted.
    g
    t
    • 3
    • 2
  • c

    CVQuesty

    01/31/2024, 12:50 PM
    Since the Mac is actually just an Open Systems compliant UNIX, most of the usual coding would apply. Outliers would be things like working with Open Directory or digging into the launchd system… generally speaking, Puppet speaks all of it, but you may have a little more legwork to figure out how Puppet does what you need it to do on Mac OS. A lot of the stuff that I’ve had to look into beyond the base level resources, I’ve cobbled together by looking directly at the providers.
  • c

    CVQuesty

    08/23/2024, 2:27 PM
    has anyone gotten the PDK to install from Homebrew at level 3.2.1? I seem to be stuck at 3.2.0 on Intel
    j
    k
    d
    • 4
    • 5
  • e

    Elliott

    09/06/2024, 6:32 PM
    anyone have any advice on loading a user-level launchagent plist?
  • e

    Elliott

    09/06/2024, 6:32 PM
    it seems the sudo invocation puppet exec is using is not accurate
  • e

    Elliott

    09/06/2024, 6:33 PM
    or is there a module i can use for launchd?
  • c

    CVQuesty

    09/06/2024, 7:04 PM
    This has long since been archived, but it may still work: https://github.com/macadmins/puppet-launchd
  • c

    CVQuesty

    09/06/2024, 7:05 PM
    Also, several of the main resources in Puppet are ā€œMac awareā€. as per: https://www.puppet.com/docs/puppet/8/types/service.html#service-provider-launchd
  • c

    CVQuesty

    09/06/2024, 7:05 PM
    updated to the latest Puppet
  • e

    Elliott

    09/06/2024, 7:21 PM
    yeah i think its a really tricky thing to support, even with the wrong sudo invocation it wont work
  • e

    Elliott

    09/06/2024, 7:21 PM
    those support
    Copy code
    /System/Library/LaunchDaemons
    
    /System/Library/LaunchAgents
    
    /Library/LaunchDaemons
    
    /Library/LaunchAgents
    but the one i need is userlevel at /Users/<user>/Library/LaunchAgents/ ...
  • e

    Elliott

    09/06/2024, 7:21 PM
    really not loving launchd
  • c

    CVQuesty

    09/06/2024, 9:30 PM
    largely, when I was at Apple, we didn't either. Engineering kept coming out with stuff, and we kept complaining, but they were untouchable
  • e

    Elliott

    09/10/2024, 12:39 PM
    interesting.. yeah i kinda get that impression about a lot of apple stuff. thanks for the help
  • c

    CVQuesty

    11/26/2024, 7:35 PM
    @CVQuesty has left the channel