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

    bastelfreak

    02/07/2023, 7:49 PM
    I really want acceptance tests for FreeBSD
  • j

    jballiet

    02/07/2023, 7:52 PM
    so, freebsd 12.3 puts the unbound binaries by default in /usr/sbin/ and calls them local-*
  • j

    jballiet

    02/07/2023, 8:31 PM
    This is strange, how is date stamp plus stuff concatenated with unbound.conf file name?
  • j

    jballiet

    02/07/2023, 8:32 PM
    This is working with a fresh module, no hacking in this one yet.
  • s

    smortex

    02/07/2023, 8:36 PM
    FreeBSD has some pieces of unbound in base nowadays (local-unbound), but this module is about unbound available in ports I think
  • s

    smortex

    02/07/2023, 8:37 PM
    the path
    /usr/local/...
    is for the extra packages / ports, not the base utilities
  • s

    Slackbot

    02/07/2023, 8:40 PM
    This message was deleted.
    j
    s
    • 3
    • 3
  • s

    smortex

    02/07/2023, 8:46 PM
    /usr/local/sbin/unbound-checkconf
    (missing command from your screenshot) is also installed by
    dns/unbound
    which is managed by the module (by default)
  • s

    smortex

    02/07/2023, 8:46 PM
    /usr/local/sbin/unbound-checkconf
    (missing command from your screenshot) is also installed by
    dns/unbound
    which is managed by the module (by default)
  • j

    jhoblitt

    02/07/2023, 9:29 PM
    I'm back to thinking about writing a proper network manager mod. I don't really want to make a child provider of puppetlabs/inifile as I want to completely overwrite
    .nmconnection
    files. How would people file about lifting https://github.com/mmckinst/puppet-hash2stuff/blob/master/lib/puppet/parser/functions/hash2ini.rb into pupet/extlib?
  • d

    Dr Bunsen Honeydew

    02/07/2023, 9:29 PM
    See the
    puppetlabs-inifile
    module at https://forge.puppet.com/puppetlabs/inifile?src=slack&channel=voxpupuli
  • j

    jhoblitt

    02/07/2023, 9:29 PM
    I'm back to thinking about writing a proper network manager mod. I don't really want to make a child provider of puppetlabs/inifile as I want to completely overwrite
    .nmconnection
    files. How would people file about lifting https://github.com/mmckinst/puppet-hash2stuff/blob/master/lib/puppet/parser/functions/hash2ini.rb into pupet/extlib?
  • j

    jhoblitt

    02/07/2023, 9:30 PM
    The function was rejected from stdlib: https://github.com/puppetlabs/puppetlabs-stdlib/pull/620
  • j

    jhoblitt

    02/07/2023, 9:30 PM
    The function was rejected from stdlib: https://github.com/puppetlabs/puppetlabs-stdlib/pull/620
  • j

    jhoblitt

    02/07/2023, 9:30 PM
    and the author has said that the code is abandoned: https://github.com/mmckinst/puppet-hash2stuff/issues/19
  • j

    jhoblitt

    02/07/2023, 9:30 PM
    and the author has said that the code is abandoned: https://github.com/mmckinst/puppet-hash2stuff/issues/19
  • j

    jhoblitt

    02/07/2023, 9:45 PM
    @josh I see that you have touched Puppet:Settings:IniFile... what are the odds of that becoming a public API I can use for a
    to_ini
    function?
  • j

    jhoblitt

    02/07/2023, 9:45 PM
    @josh I see that you have touched Puppet:Settings:IniFile... what are the odds of that becoming a public API I can use for a
    to_ini
    function?
  • j

    jhoblitt

    02/07/2023, 9:46 PM
    @josh I see that you have touched Puppet:Settings:IniFile... what are the odds of that becoming a public API I can use for a
    to_ini
    function?
  • j

    josh

    02/07/2023, 9:52 PM
    @jhoblitt`Puppet:Settings:IniFile` is one of the better written things in puppet, but in general I'd caution against relying on anything in Puppet::Settings* I thought there was generic inifile gem?
  • j

    jhoblitt

    02/07/2023, 9:53 PM
    @josh There are gems... this is just about avoiding a gem dep on a function for extlib or maybe even stdlib
  • j

    jhoblitt

    02/07/2023, 9:53 PM
    for the moment, I'm going to cut'n'paste in someone else's serializer
  • j

    jhoblitt

    02/07/2023, 9:54 PM
    but the best maintained code is the code you don't write...
  • s

    Slackbot

    02/07/2023, 10:20 PM
    This message was deleted.
    j
    c
    • 3
    • 6
  • d

    Dr Bunsen Honeydew

    02/07/2023, 10:20 PM
    See the
    puppetlabs-inifile
    module at https://forge.puppet.com/puppetlabs/inifile?src=slack&channel=voxpupuli
  • j

    jhoblitt

    02/07/2023, 10:54 PM
    https://github.com/voxpupuli/puppet-extlib/pull/207 😉
  • j

    jhoblitt

    02/07/2023, 11:53 PM
    Do we have any modules which make use of hiera +
    examples/
    for acceptance tests?
  • b

    bastelfreak

    02/08/2023, 6:44 AM
    we talked a bit about using examples/, but I dont think any module already does that. but we use hiera in a few acceptance tests
  • s

    Slackbot

    02/08/2023, 6:51 AM
    This message was deleted.
    👍 1
    j
    s
    • 3
    • 2
  • s

    smortex

    02/08/2023, 6:51 AM
    @jhoblitt I did it in this module not from vox but using the vox tooling: https://github.com/ccin2p3/puppet-syslog_ng/blob/master/spec/acceptance/class_spec.rb
1...277278279...648Latest