Skip to content

Commit

Permalink
configurer monkey patch: don't pass report time
Browse files Browse the repository at this point in the history
Time.now is the default anyway, and this way we retain compatibility
with Puppet before 7 without much fuss.
  • Loading branch information
ffrank committed Feb 25, 2024
1 parent 3c19021 commit 8ecb8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppetx/catalog_translation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class Puppet::Configurer
def get_simple_catalog
report = Puppet::Transaction::Report.new(nil, @environment, nil, nil, Time.now)
report = Puppet::Transaction::Report.new(nil, @environment, nil, nil)
options = { :report => report }
query_options, facts = get_facts(options)
prepare_and_retrieve_catalog(nil, facts, options, query_options)
Expand Down

0 comments on commit 8ecb8c4

Please sign in to comment.