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

    Dr Bunsen Honeydew

    11/11/2022, 1:49 PM
    See the
    puppetlabs-postgresql
    module at https://forge.puppet.com/puppetlabs/postgresql?src=slack&channel=voxpupuli
  • v

    VoxBot

    11/11/2022, 1:50 PM
    and you really want to use EPP instead of ERB if you're going to use Sensitive since it has automatic wrapping
  • v

    VoxBot

    11/11/2022, 1:52 PM
    Looking at release notes and with my own testing, I see Deferred is better - still not sure it can actually handle things with Type Aliases, going to test that next.
  • v

    VoxBot

    11/11/2022, 1:53 PM
    But Sensitive... still not seamless enough, though unwrap taking a block was a nice improvement
  • v

    VoxBot

    11/11/2022, 1:54 PM
    EPP over ERB has other benefits too, like not forking a new process for each and every template. And you can defer inline_epp
  • a

    Alex Fisher

    11/11/2022, 1:54 PM
    I think I was thinking of https://puppet.com/blog/updating-puppet-modules-for-deferred-functions/ and specifically the returned type introspecting thing that allows you to defer functions in lots of usecases where before it'd have been impossible.
  • a

    Alex Fisher

    11/11/2022, 1:55 PM
    I think there is work being done or designed in the whole area of Sensitive and encryption etc. though. @binford2k might be able to fill you in on more details of what might be coming up.
  • v

    VoxBot

    11/11/2022, 1:58 PM
    Passing a Sensitive[String] to a param expecting a String still causes a type mismatch evaluation error, which means I can't use vault_lookup with forge modules without a lot of extra hoops to jump through and calls to unwrap, which kinda defeats the purpose
  • v

    VoxBot

    11/11/2022, 1:58 PM
    This is the same problem I faced back when I tried to use Vault with early Puppet 6
  • a

    Alex Fisher

    11/11/2022, 2:05 PM
    So the vault bit might now be solved in recent Puppet 7.
  • v

    VoxBot

    11/11/2022, 2:06 PM
    I'm testing on a latest release of puppet 7
  • d

    David Sandilands

    11/14/2022, 12:58 PM
    Hullo so I went through following images on azure MicrosoftWindowsDesktopwindows10previewwin10-22h2-pro:latest MicrosoftWindowsDesktopwindows11previewwin11-22h2-pro:latest MicrosoftWindowsServerWindowsServer2019-datacenter-smalldisk:latest MicrosoftWindowsServerWindowsServer2022-datacenter-smalldisk:latest MicrosoftWindowsServerWindowsServer2022-datacenter-core-smalldisk:latest MicrosoftWindowsServerWindowsServer2019-datacenter-core-smalldisk:latest and produced https://github.com/voxpupuli/facterdb/compare/master...davidsandilands:facterdb:windows-update Is there anything I need to strip out or generalise? Such as azure based facts?
  • d

    David Sandilands

    11/14/2022, 12:59 PM
    Hullo so I went through following images on azure MicrosoftWindowsDesktopwindows10previewwin10-22h2-pro:latest MicrosoftWindowsDesktopwindows11previewwin11-22h2-pro:latest MicrosoftWindowsServerWindowsServer2019-datacenter-smalldisk:latest MicrosoftWindowsServerWindowsServer2022-datacenter-smalldisk:latest MicrosoftWindowsServerWindowsServer2022-datacenter-core-smalldisk:latest MicrosoftWindowsServerWindowsServer2019-datacenter-core-smalldisk:latest and produced https://github.com/voxpupuli/facterdb/compare/master...davidsandilands:facterdb:windows-update Is there anything I need to strip out or generalise? Such as azure based facts?
  • b

    bastelfreak

    11/14/2022, 1:01 PM
    o/
  • b

    bastelfreak

    11/14/2022, 1:01 PM
    good question
  • b

    bastelfreak

    11/14/2022, 1:06 PM
    I think it's a good idea to purge
    az_metadata
    because it's not windows specific but azure specific
    👍 1
  • d

    David Sandilands

    11/14/2022, 1:16 PM
    in terms of hostnames ip etc do we do anything to generalise or is that just left to default facts and setting anything you want in particular in rspec?
  • b

    bastelfreak

    11/14/2022, 1:19 PM
    there are some unit tests that enforce foo.example.com I think
  • b

    bastelfreak

    11/14/2022, 1:19 PM
    https://github.com/voxpupuli/facterdb/blob/master/spec/facts_spec.rb#L83-L118
  • b

    bastelfreak

    11/14/2022, 1:19 PM
    https://github.com/voxpupuli/facterdb/blob/master/spec/facts_spec.rb#L83-L118
  • d

    David Sandilands

    11/14/2022, 1:32 PM
    I'll sort that, removed cloud and azure_metadata facts
  • d

    David Sandilands

    11/14/2022, 1:45 PM
    changed all domain to example.com and hostname to be foo (and combo to be both). If that looks sane I'll raise a PR
  • b

    bastelfreak

    11/14/2022, 1:48 PM
    sounds good
  • b

    bastelfreak

    11/14/2022, 1:48 PM
    just open the PR, tests will tell us if it's fine 😄
  • d

    David Sandilands

    11/14/2022, 1:49 PM
    airplane sweat
  • b

    bastelfreak

    11/14/2022, 1:51 PM
    has faith in the tests
  • v

    VoxBot

    11/14/2022, 3:17 PM
    faw
  • v

    VoxBot

    11/15/2022, 8:41 AM
    tiny MR - https://github.com/voxpupuli/puppet-cvmfs/pull/156 want the CentOS 9 accept test before I change the repos.
  • v

    VoxBot

    11/15/2022, 8:45 AM
    frisbee, like this? :)
  • v

    VoxBot

    11/15/2022, 8:45 AM
    (or will my suggestion actually be wrong as you say "change the repos")
1...187188189...648Latest