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

    Lumiere

    10/18/2022, 2:36 PM
    it's the closest you can get
  • s

    Slackbot

    10/18/2022, 2:40 PM
    This message was deleted.
    homer 1
    u
    y
    l
    • 4
    • 39
  • u

    Ugo Bellavance

    10/18/2022, 2:50 PM
    Sorry, I didn't want to offend anyone. I know it is delicate to ask a question about another tool/system like Ansible in a Puppet help channel.
  • u

    Ugo Bellavance

    10/18/2022, 3:21 PM
    Salt => python?
  • y

    Yorokobi

    10/18/2022, 3:22 PM
    SaltStack is another CM/orchestration tool. (Yes, it uses Python.)
  • s

    Slackbot

    10/18/2022, 4:34 PM
    This message was deleted.
    u
    k
    +3
    • 6
    • 27
  • d

    David Sandilands

    10/18/2022, 4:34 PM
    message has been deleted
  • w

    William Myers

    10/18/2022, 6:53 PM
    How many folks are using r10k? I'm trying to determine whether to deep dive into r10k or teamcity first to evaluate which solution would be better for my homelab environment.
  • w

    William Myers

    10/18/2022, 6:53 PM
    Mainly i'm looking to automate code that's been prompted to the master branch of a git repo getting transferred into the prod environment within puppet.
  • w

    William Myers

    10/18/2022, 6:54 PM
    Although I'm guessing TeamCity would be closer to Bamboo which is being considered at work?
  • b

    bastelfreak

    10/18/2022, 6:55 PM
    I say 97% of the people use r10k
  • b

    bastelfreak

    10/18/2022, 6:56 PM
    1% use g10k and the rest have obscure requirements or legacy environments
  • w

    William Myers

    10/18/2022, 6:56 PM
    How would I need to structure things? right now my repositories are divided like this.
  • b

    bastelfreak

    10/18/2022, 6:56 PM
    1% use g10k and the rest have obscure requirements or legacy environments
  • s

    Slackbot

    10/18/2022, 6:57 PM
    This message was deleted.
    c
    • 2
    • 1
  • b

    bastelfreak

    10/18/2022, 6:57 PM
    you have one main repo, called control repo. it contains a Puppetfile which is basically a list of all other repos/modules and their version/ref
  • b

    bastelfreak

    10/18/2022, 6:57 PM
    you have one main repo, called control repo. it contains a Puppetfile which is basically a list of all other repos/modules and their version/ref
  • v

    vchepkov

    10/18/2022, 6:59 PM
    yep, I use Puppetfile that pulls other modules/repositories, repo itself is pretty empty
  • s

    Slackbot

    10/18/2022, 7:00 PM
    This message was deleted.
    c
    • 2
    • 1
  • v

    vchepkov

    10/18/2022, 7:00 PM
    4 files
  • v

    vchepkov

    10/18/2022, 7:01 PM
    It's really not that complicated, https://github.com/puppetlabs/r10k/blob/main/doc/puppetfile.mkd
  • v

    vchepkov

    10/18/2022, 7:01 PM
    It's really not that complicated, https://github.com/puppetlabs/r10k/blob/main/doc/puppetfile.mkd
  • b

    bastelfreak

    10/18/2022, 7:02 PM
    yep
  • v

    vchepkov

    10/18/2022, 7:05 PM
    Forge module
    Copy code
    mod 'puppetlabs/puppet_agent', '4.12.1'
    Advanced config for hiera
    Copy code
    mod 'data',
      :git    => '<mailto:git@example.com|git@example.com>:puppet-hiera.git',
      :branch => :control_branch,
      :default_branch => 'development',
      :install_path   => '.'
  • d

    Dr Bunsen Honeydew

    10/18/2022, 7:05 PM
    See the
    puppetlabs-puppet_agent
    module at https://forge.puppet.com/puppetlabs/puppet_agent?src=slack&amp;channel=puppet
  • s

    Slackbot

    10/18/2022, 7:06 PM
    This message was deleted.
    u
    b
    • 3
    • 2
  • v

    vchepkov

    10/18/2022, 7:07 PM
    each branch in that name will be used to create a separate puppet endvironment
  • v

    vchepkov

    10/18/2022, 7:07 PM
    and, r10k can use multiple control repos as well
  • v

    vchepkov

    10/18/2022, 7:08 PM
    Say you need different code deployed for windows and unix
  • l

    Lumiere

    10/18/2022, 9:09 PM
    we created a yaml file spec here and the Puppetfile is just ruby code that loads the yaml file and parses it
    alchemy 1
1...204205206...428Latest