From 4ff5b442e1abc9cb201e8e4a8fbc50d59114d19d Mon Sep 17 00:00:00 2001 From: jbond Date: Fri, 28 Apr 2023 12:49:03 +0200 Subject: (PA-5722) Add frozen string magic comment puppetlabs-augeas_core and puppet-augeasproviders_core both provide the augeas feature. However the both have slightly different files (this lacking the frozen strings magic comment. This causes puppet to perform a change on every puppet run. This PR updates the feature in this repo to add the magic comment so both files match. More then happy to explore alternate fixes --- lib/puppet/feature/augeas.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/puppet/feature/augeas.rb b/lib/puppet/feature/augeas.rb index 2e26fbf..681ba68 100644 --- a/lib/puppet/feature/augeas.rb +++ b/lib/puppet/feature/augeas.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'puppet/util/feature' Puppet.features.add(:augeas, libs: ['augeas']) -- cgit v1.2.3