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

    Lumiere

    10/28/2022, 7:33 PM
    does anyone at puppetlabs have an ETA for a rocky/alma/redhat 9 release of pdk?
  • c

    CVQuesty

    10/28/2022, 8:00 PM
    Speaking of compatibility…. has anyone at Puppet any thoughts or guidance around Mac OS Ventura?
    this 1
  • r

    reidmv

    10/28/2022, 8:56 PM
    Repo transferred! https://github.com/voxpupuli/puppet-puppet_certificate
  • s

    Slackbot

    10/29/2022, 8:06 PM
    This message was deleted.
    b
    n
    • 3
    • 17
  • n

    NotStrong

    10/29/2022, 8:31 PM
    my log is
    --verbose debug
    command stdout 😞
  • n

    NotStrong

    10/29/2022, 8:39 PM
    after r10k deploy the Puppetfile is update from latest commit. (but not module downloaded)
  • w

    William Myers

    10/31/2022, 4:17 PM
    In the case of provisioning a user account and sshkeypair to multiple servers (we don't have linux servers directory bound atm) would this best be done as a site level profile? such as (env)/site-modules/profile/useraccounts/(useraccount).pp ?
  • s

    Slackbot

    10/31/2022, 4:55 PM
    This message was deleted.
    l
    b
    r
    • 4
    • 4
  • b

    Brian Schonecker

    10/31/2022, 5:31 PM
    What I do is put
    create_resources(ssh_authorized_key, lookup('ssh_authorized_keys', Optional[Hash], {strategy => 'deep'}, {}))
    in my base.pp file and then put all of the users I want in ./data/common.yaml.
  • s

    Slackbot

    10/31/2022, 7:37 PM
    This message was deleted.
    n
    • 2
    • 1
  • w

    William Myers

    10/31/2022, 7:38 PM
    And what would be best practice in absence of a control repo: just doing a raw clone of the environment from the puppetserver onto another system and developing locally?
  • b

    bastelfreak

    10/31/2022, 7:39 PM
    in absence of a control-repo; introduce a control-repo
    😂 2
    this2 5
  • w

    William Myers

    10/31/2022, 7:40 PM
    I'm trying to sell that, right now in my work environment we have a directory structure and are using CI/CD to sync the content within /modules but nothing beyond that to my knowledge.
  • w

    William Myers

    10/31/2022, 7:40 PM
    We butted heads a little bit on the topic.
  • b

    bastelfreak

    10/31/2022, 7:40 PM
    and then for testing; you can work with a new branch in the control-repo that acts as new environment and put test nodes into it/write automated tests for it
  • b

    bastelfreak

    10/31/2022, 7:41 PM
    a control-repo will make a lot of the stuff way easier for you
  • w

    William Myers

    10/31/2022, 7:41 PM
    Yep,
  • w

    William Myers

    10/31/2022, 7:41 PM
    With a control repo, how would one pull the repo down to a dev VM and execute locally?
  • n

    natemccurdy

    10/31/2022, 7:42 PM
    The entire Puppet comunity, and all of the tooling and documentation for developing Puppet code, have moved towards a control repo as the way to maintain Puppet code.
  • b

    bastelfreak

    10/31/2022, 7:42 PM
    why do you want to pull it into a test VM?
  • w

    William Myers

    10/31/2022, 7:42 PM
    Is R10k the primary control repo strategy or are there other solutions?
  • w

    William Myers

    10/31/2022, 7:42 PM
    Bamboo is the current solution of choice
  • b

    bastelfreak

    10/31/2022, 7:42 PM
    you create a new branch, push that, puppetserver deploys that, you tell the dev VM to run a puppet agent against that env (roughly explained)
  • b

    bastelfreak

    10/31/2022, 7:42 PM
    r10k/g10k for open source puppet, yes
  • n

    natemccurdy

    10/31/2022, 7:42 PM
    r10k is the standard, and it assumes you’re using a control repo.
  • b

    bastelfreak

    10/31/2022, 7:43 PM
    g10k is a r10k reimplementation, but in go and faster
  • b

    bastelfreak

    10/31/2022, 7:44 PM
    you can run a webhook on the puppetserver. everytime you push to the gitserver, it notifies the webhook, which then runs r10k
  • b

    bastelfreak

    10/31/2022, 7:45 PM
    depending on firewalling on corporate networks, you could also run a bamboo job for each git push, which runs r10k on bamboo and then scp's it to the puppetserver, or bamboo agent runs on the puppetserver directly or it ssh's into puppetserver and then runs r10k
  • b

    bastelfreak

    10/31/2022, 7:46 PM
    depending on firewalling on corporate networks, you could also run a bamboo job for each git push, which runs r10k on bamboo and then scp's it to the puppetserver, or bamboo agent runs on the puppetserver directly or it ssh's into puppetserver and then runs r10k
  • w

    William Myers

    10/31/2022, 7:47 PM
    I'm liking that idea.
1...221222223...428Latest