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

    Yorokobi

    10/11/2022, 2:23 PM
    ERB method for calling Puppet functions: https://puppet.com/docs/puppet/7/lang_template_erb.html#puppet_functions_templates (URL updated to latest)
  • r

    rismoney

    10/11/2022, 2:28 PM
    I authored an alternate tool that has been working for a decade. My original belief in 2010ish was that I should have a triangle pattern between actors involving 1 directional flows. user pushes to git, tool pulls from git. trigger should not originate from git, and instead should be polled. I'd be up for migrating, but want to maintain using internal clones of upstream repos that are submodules (no internet), and a monolithic repo design.
  • h

    helindbe

    10/11/2022, 2:30 PM
    $x = "Server=${$zabbix_agent_3::server.join(',')}"
  • r

    rismoney

    10/11/2022, 2:30 PM
    my previous colleague and i battle tested it through 6 versions of puppet w/o a glitch. [its open source, fwiw]
  • v

    vchepkov

    10/11/2022, 2:35 PM
    r10k works in the same pattern, it pulls the code
  • v

    vchepkov

    10/11/2022, 2:36 PM
    you don't have to use any automatic hooks, if you don't want to
  • v

    vchepkov

    10/11/2022, 2:38 PM
    r10k can also refresh your changed environments, since
    environment_timeout = unlimited
    is something that should be used
  • s

    Slackbot

    10/11/2022, 2:40 PM
    This message was deleted.
    c
    r
    • 3
    • 14
  • d

    Dr Bunsen Honeydew

    10/11/2022, 2:45 PM
    letsplay _🦊Vox Pupuli monthly sync; see calendar event for info_ is about to start up in #CFD8Z9A4T
  • s

    Slackbot

    10/11/2022, 4:07 PM
    This message was deleted.
    b
    • 2
    • 1
  • s

    Slackbot

    10/11/2022, 4:18 PM
    This message was deleted.
    šŸ‘ 2
    m
    b
    n
    • 4
    • 11
  • d

    Dr Bunsen Honeydew

    10/11/2022, 4:45 PM
    goodnews šŸ§‘ā€šŸ«Puppet Core Team is about to start up in #CFD8Z9A4T
  • r

    rismoney

    10/11/2022, 5:32 PM
    thats fine. i am looking at the r10k stuff, and its not clear to me yet, how to set it up inside a container to stage the repo. I am trying to grok the control repo being the only repo and def dont want hiera in a separate. i might want to do away with my git submodules but i want to se how this works first. docs are all over the place.
  • m

    Massimiliano (Max)

    10/11/2022, 5:42 PM
    I found a false negative. I'm using this one: https://github.com/puppetlabs/puppetlabs-lvm/blob/master/lib/puppet/type/logical_volume.rb But the tool is saying that I'm not using LVM.
  • c

    CVQuesty

    10/11/2022, 5:54 PM
    You’re much more trusting of storage than I am. I have everything in revision control which is both backed up and snapshotted. Given the type of scale I typically work with, my Puppet cluster can contain 6 or more nodes (N+1 compilers as load increases), so that sort of dictates architecture especially for PE Gary talks about it here:

    https://www.youtube.com/watch?v=v9LB-NX4_KQā–¾

    The module puppet-r10k sets up r10k. https://forge.puppet.com/modules/puppet/r10k I have some basic shell scripts like this showing a manual BASH process: https://github.com/cvquesty/c7_po5.5/blob/master/provision/master.sh#L76-L88 which I developed from (read flat out stole) from Gary here: http://garylarizza.com/blog/2014/02/18/puppet-workflow-part-3/ (The section ā€œsetting up r10kā€)
  • s

    Slackbot

    10/11/2022, 5:56 PM
    This message was deleted.
    r
    • 2
    • 1
  • s

    Slackbot

    10/11/2022, 8:36 PM
    This message was deleted.
    🤯 1
    s
    r
    n
    • 4
    • 3
  • y

    Yorokobi

    10/11/2022, 8:51 PM
    Puppet's marketing team have really stepped up the email campaigns.
  • r

    ramindk

    10/11/2022, 9:08 PM
    We used Kea two companies ago to do large datacenter DHCP with a number of local modifications. Worked well, easy to do mods. Admittedly second person listed in thhat blog post worked at our company and did the work. ymmv.
  • r

    ramindk

    10/11/2022, 9:08 PM
    We used Kea two companies ago to do large datacenter DHCP with a number of local modifications. Worked well, easy to do mods. Admittedly second person listed in that blog post worked at our company and did the work. ymmv.
  • r

    rismoney

    10/11/2022, 9:26 PM
    message has been deleted
  • s

    Slackbot

    10/12/2022, 1:50 AM
    This message was deleted.
    n
    r
    h
    • 4
    • 30
  • s

    Slackbot

    10/12/2022, 1:50 AM
    This message was deleted.
    s
    p
    b
    • 4
    • 5
  • n

    natemccurdy

    10/12/2022, 2:03 AM
    Well, technically the code that runs is a Ruby class called
    Puppet::Generate::Type
    . The only user interface for that at the moment is the
    generate types
    face https://github.com/puppetlabs/puppet/blob/main/lib/puppet/face/generate.rb In theory, that class could be called by anything, not just the
    puppet generate types
    command.
  • n

    natemccurdy

    10/12/2022, 2:03 AM
    Well, technically the code that runs is a Ruby class called
    Puppet::Generate::Type
    . • https://github.com/puppetlabs/puppet/blob/main/lib/puppet/generate/type.rb The only user interface for that at the moment is the
    generate types
    face: • https://github.com/puppetlabs/puppet/blob/main/lib/puppet/face/generate.rb In theory, that class could be called by anything, not just the
    puppet generate types
    command.
  • n

    natemccurdy

    10/12/2022, 2:04 AM
    Well, technically the code that runs is a Ruby class called
    Puppet::Generate::Type
    . • https://github.com/puppetlabs/puppet/blob/main/lib/puppet/generate/type.rb The only user interface for that at the moment is the
    generate types
    face: • https://github.com/puppetlabs/puppet/blob/main/lib/puppet/face/generate.rb In theory, that class could be called by anything, not just the
    puppet generate types
    command.
  • g

    gfe

    10/12/2022, 7:35 AM
    Hi team!😃 I have a question about certname generation on the agent side. Am I in the good channel?
  • b

    bastelfreak

    10/12/2022, 7:36 AM
    just ask šŸ™‚
    šŸ‘ 1
  • g

    gfe

    10/12/2022, 7:37 AM
    Is there a way to change how puppet agent computes its certname? Documentation says "defauts to the fully qualified domain name". I'd like to use shortname as $Fact["networking]["hostname"].
  • g

    gfe

    10/12/2022, 7:38 AM
    Is there a way to change how puppet agent computes its certname? Documentation says "defauts to the fully qualified domain name". I'd like to use shortname as $Fact["networking]["hostname"].
1...193194195...428Latest