Jira (PUP-11696) Unless parameter of Exec evaluated before Requires
Title: Message Title Dagan McGregor created an issue Puppet / PUP-11696 Unless parameter of Exec evaluated before Requires Issue Type: Bug Affects Versions: PUP 6.28.0 Assignee: Unassigned Components: Language Created: 2023/01/04 9:05 PM Priority: Normal Reporter: Dagan McGregor Puppet Version: 6.28.0 Puppet Server Version: 2019.8.12 OS Name/Version: CentOS 7 We have a module that installs the Postgresql server package, and then two Exec commands that run initdb and create a database. When running a clean install on a new server, testing using --noop, the Exec commands error because the psql command is not available. Even though the Puppet code explicitly requires the Postgresql package to be installed first. Desired Behavior: Puppet should evaluate Requires criteria are met before evaluating Unless or Onlyif parameters Actual Behavior: Puppet evaluates Unless before Requires resulting in run errors for missing installed commands # Install the package first package { $private_module::postgresql_server:
Jira (FACT-3170) Debug output on Windows nodes shows the same Facter logs repeated
Title: Message Title Josh Cooper commented on FACT-3170 Re: Debug output on Windows nodes shows the same Facter logs repeated This can also be verified using: # cat bug.rb require 'facter' set_trace_func proc { |event, file, line, id, binding, classname| if event == 'call' && classname == Facts::Rhel::Os::Name printf "%8s %s:%-2d %10s %8s\n", event, file, line, id, classname end } [0, 1, 2].each do |i| puts Facter.value(:operatingsystem) end # /opt/puppetlabs/puppet/bin/ruby bug.rb
Jira (PUP-11695) Windows package uninstall uses msi provider when exe provider available
Title: Message Title GeorgesZ created an issue Puppet / PUP-11695 Windows package uninstall uses msi provider when exe provider available Issue Type: Bug Affects Versions: PUP 7.20.0 Assignee: Unassigned Components: Windows Created: 2023/01/04 2:55 PM Priority: Normal Reporter: GeorgesZ Puppet Version: 7.20.0 Puppet Server Version: ** 7.20.0 OS Name/Version: Windows 10 Using the package resource, version 2.1.802 of Microsoft .NET SDK x86 cannot be uninstalled like the x64 architecture or other versions (eg: 2.1.403, 5.0.102, 5.0.401). Installers for Microsoft .NET SDK can be downloaded using a url like this https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-${version}-windows-x86-installer and can be installed/uninstalled using something like this: package { "Microsoft .NET ${optional_core}SDK ${version} (x86)": ensure => $ensure, source => "${download_folder}/dotnet-sdk-${version}-win-x86.exe",
Jira (FACT-3170) Debug output on Windows nodes shows the same Facter logs repeated
Title: Message Title Josh Cooper commented on FACT-3170 Re: Debug output on Windows nodes shows the same Facter logs repeated This issue is due a change in behavior in Facter 4's implementation of Facter.value(:name). Previously, fact value were only resolved once (until Facter.flush or Facter.clear are next called). But now facts are resolved each time the Facter.value method is called. Facter 4 has behaved this way for a long time, likely since 4.0. But the problem is only really noticeable when managing a large number of resources whose providers are confined based on facts. This greatly affects Windows, since file, exec, service, package, registry_*, etc are all confined based on the "operatingsystem" fact. But it also affects user, group, service, package for AIX, macOS, Solaris, SLES, as can be seen by these builtin providers: $ git grep -r -E 'confine\s*:?(osfamily|operatingsystem)' lib/puppet/provider lib/puppet/provider/exec/windows.rb: confine:operatingsystem => :windows lib/puppet/provider/file/windows.rb: confine :operatingsystem => :windows lib/puppet/provider/group/aix.rb: confine :operatingsystem => :aix lib/puppet/provider/group/directoryservice.rb: confine :operatingsystem => :darwin lib/puppet/provider/group/pw.rb: confine:operatingsystem => [:freebsd, :dragonfly] lib/puppet/provider/group/windows_adsi.rb: confine:operatingsystem => :windows lib/puppet/provider/nameservice/directoryservice.rb: confine :operatingsystem => :darwin lib/puppet/provider/package/aix.rb: confine :operatingsystem => [ :aix ]
Jira (PUP-11602) Change default crl_refresh_interval to 1 day in puppet 8
Title: Message Title Michael Hashizume assigned an issue to Michael Hashizume Puppet / PUP-11602 Change default crl_refresh_interval to 1 day in puppet 8 Change By: Michael Hashizume Assignee: Michael Hashizume Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.457126.1659109282000.69809.1672870080039%40Atlassian.JIRA.
Jira (PUP-11602) Change default crl_refresh_interval to 1 day in puppet 8
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11602 Change default crl_refresh_interval to 1 day in puppet 8 Change By: Morgan Rhodes The crl_refresh_interval setting was added in Puppet 6.5 (PUP-2310) and defaults to never, so it's behind a feature flag. Now that it's been in use for awhile and is generally a good thing security-wise, this ticket is to change the default value to 1 day. This is a simple change to lib/puppet/defaults.rb and should be done for the 8.0 release. See https://puppetcommunity.slack.com/archives/C0W1X7ZAL/p1659103057731379 May also include some test changes. Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit
Jira (PUP-11526) Evaluate deferred functions lazily by default
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11526 Evaluate deferred functions lazily by default Change By: Morgan Rhodes This is a follow up to PUP-9323 so that deferred functions are evaluated lazily by default. Change the default setting for the parameter added in PUP-9323, may be test changes as well. Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.445008.1651113322000.69763.1672856580034%40Atlassian.JIRA.
Jira (PDB-5567) Migrate PDB reports and resource_events inheritance based partitions to postgresql declarative partitions
Title: Message Title Cas Donoghue updated an issue PuppetDB / PDB-5567 Migrate PDB reports and resource_events inheritance based partitions to postgresql declarative partitions Change By: Cas Donoghue Sprint: Skeletor 12/07/2022, Skeletor 12/21/2022 , Skeletor 01/18/2023 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.475715.1669757045000.69739.1672855980341%40Atlassian.JIRA.
Jira (PDB-5557) Enable drop-joins for subqueries
Title: Message Title Cas Donoghue updated an issue PuppetDB / PDB-5557 Enable drop-joins for subqueries Change By: Cas Donoghue Sprint: Skeletor 12/07/2022, Skeletor 12/21/2022 , Skeletor 01/18/2023 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.473181.127979000.69742.1672855980496%40Atlassian.JIRA.
Jira (PDB-5553) Remove foreign keys from report partitions
Title: Message Title Cas Donoghue updated an issue PuppetDB / PDB-5553 Remove foreign keys from report partitions Change By: Cas Donoghue Sprint: Skeletor 11/23/2022, Skeletor 12/07/2022, Skeletor 12/21/2022 , Skeletor 01/18/2023 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.472747.1666299762000.69741.1672855980449%40Atlassian.JIRA.
Jira (PDB-5554) Remove partitions in a non-world-blocking way
Title: Message Title Cas Donoghue updated an issue PuppetDB / PDB-5554 Remove partitions in a non-world-blocking way Change By: Cas Donoghue Sprint: Skeletor 11/09/2022, Skeletor 11/23/2022, Skeletor 12/07/2022, Skeletor 12/21/2022 , Skeletor 01/18/2023 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.472748.1666300333000.69740.1672855980402%40Atlassian.JIRA.
Jira (PUP-11602) Change default crl_refresh_interval to 1 day in puppet 8
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11602 Change default crl_refresh_interval to 1 day in puppet 8 Change By: Morgan Rhodes Sprint: Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.457126.1659109282000.69718.1672855800360%40Atlassian.JIRA.
Jira (PUP-11684) Change default value of "exclude_unchanged_resources"
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11684 Change default value of "exclude_unchanged_resources" Change By: Morgan Rhodes Sprint: Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.475865.1669953024000.69719.1672855800544%40Atlassian.JIRA.
Jira (PUP-11621) Drop Hiera 3 Requirement
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11621 Drop Hiera 3 Requirement Change By: Morgan Rhodes Sprint: Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.465779.1661814931000.69720.1672855800592%40Atlassian.JIRA.
Jira (PUP-11526) Evaluate deferred functions lazily by default
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11526 Evaluate deferred functions lazily by default Change By: Morgan Rhodes Sprint: Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.445008.1651113322000.69717.1672855800311%40Atlassian.JIRA.
Jira (FACT-3172) Facter incorrectly filter IPv6 unique-local unicast addresses
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3172 Facter incorrectly filter IPv6 unique-local unicast addresses Change By: Morgan Rhodes Story Points: 1 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.477768.1672455676000.69712.1672855740140%40Atlassian.JIRA.
Jira (FACT-3171) Facter incorrectly filter IPv6 link-local unicast addresses
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3171 Facter incorrectly filter IPv6 link-local unicast addresses Change By: Morgan Rhodes Story Points: 1 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.477767.1672454812000.69709.1672855680243%40Atlassian.JIRA.
Jira (PUP-11633) Test against Ruby 3.2.0
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11633 Test against Ruby 3.2.0 Change By: Morgan Rhodes Sprint: Phoenix 2023-01-04 , Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.470005.1664471908000.69696.1672855560105%40Atlassian.JIRA.
Jira (PUP-11649) Drop support for ruby < 2.7
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11649 Drop support for ruby < 2.7 Change By: Morgan Rhodes Sprint: Phoenix 2023-01-04 , Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.470537.1665159191000.69698.1672855560201%40Atlassian.JIRA.
Jira (FACT-3153) Test against Ruby 3.2 on Windows
Title: Message Title Morgan Rhodes updated an issue Facter / FACT-3153 Test against Ruby 3.2 on Windows Change By: Morgan Rhodes Sprint: Phoenix 2023-01-04 , Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.470006.1664472016000.69697.1672855560153%40Atlassian.JIRA.
Jira (PUP-11430) Don't include legacy facts by default
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11430 Don't include legacy facts by default Change By: Morgan Rhodes Sprint: Phoenix 2023-01-04 , Phoenix 2023-01-18 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.430719.1642672467000.69699.1672855560248%40Atlassian.JIRA.
Jira (PUP-11633) Test against Ruby 3.2.0
Title: Message Title Josh Cooper commented on PUP-11633 Re: Test against Ruby 3.2.0 I verified puppet tests pass against Ruby 3.2 when using the latest rspec* prerelease libraries: git diff diff --git a/Gemfile b/Gemfile index 2c5311f37a..365dfec35f 100644 --- a/Gemfile +++ b/Gemfile @@ -38,9 +38,12 @@ group(:test) do gem "ffi", require: false gem "json-schema", "~> 2.0", require: false gem "rake", *location_for(ENV['RAKE_LOCATION'] || '~> 13.0') - gem "rspec", "~> 3.1", require: false - gem "rspec-expectations", ["~> 3.9", "!= 3.9.3"] - gem "rspec-its", "~> 1.1", require: false + gem "rspec", git: 'https://github.com/rspec/rspec', branch: 'main', require: false
Jira (FACT-3172) Facter incorrectly filter IPv6 unique-local unicast addresses
Title: Message Title Josh Cooper updated an issue Facter / FACT-3172 Facter incorrectly filter IPv6 unique-local unicast addresses Change By: Josh Cooper Epic Link: PUP-11658 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.477768.1672455676000.69645.1672852500432%40Atlassian.JIRA.
Jira (FACT-3171) Facter incorrectly filter IPv6 link-local unicast addresses
Title: Message Title Josh Cooper updated an issue Facter / FACT-3171 Facter incorrectly filter IPv6 link-local unicast addresses Change By: Josh Cooper Epic Link: PUP-11658 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.477767.1672454812000.69644.1672852500385%40Atlassian.JIRA.
Jira (FACT-3170) Debug output on Windows nodes shows the same Facter logs repeated
Title: Message Title Josh Cooper updated an issue Facter / FACT-3170 Debug output on Windows nodes shows the same Facter logs repeated Change By: Josh Cooper Epic Link: PUP-11658 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.477181.1671137416000.69643.1672852500335%40Atlassian.JIRA.