From 458773f6a92e4bb061b787182d4aa3bdb9708eb5 Mon Sep 17 00:00:00 2001 From: jbond Date: Fri, 28 Apr 2023 12:49:03 +0200 Subject: [PATCH] feature: 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'])