aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbond <github@johnbond.org>2023-04-28 12:49:03 +0200
committerMichael Hashizume <michael.hashizume@puppet.com>2023-09-14 15:49:12 -0700
commit4ff5b442e1abc9cb201e8e4a8fbc50d59114d19d (patch)
tree105c69f8f2d0c1a08052e54fdbfa4bba200041a6
parentc938d3d7070595738c5c1fd17f5446915c815f30 (diff)
downloadpuppet-augeas_core-4ff5b442e1abc9cb201e8e4a8fbc50d59114d19d.tar.gz
puppet-augeas_core-4ff5b442e1abc9cb201e8e4a8fbc50d59114d19d.tar.bz2
(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
-rw-r--r--lib/puppet/feature/augeas.rb2
1 files changed, 2 insertions, 0 deletions
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'])