Skip to content

Commit

Permalink
feature: add frozen string magic comment
Browse files Browse the repository at this point in the history
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
  • Loading branch information
b4ldr committed Apr 28, 2023
1 parent c938d3d commit 458773f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/puppet/feature/augeas.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'puppet/util/feature'

Puppet.features.add(:augeas, libs: ['augeas'])

0 comments on commit 458773f

Please sign in to comment.