Skip to content

Commit c45c78d

Browse files
committed
(MODULES-3522) Updating constant
Prior to this commit, there was an issue regarding the loading of the puppet/type/file/owner constant under certain circumstances during agent runs. This commit aims to modernise the file request to comply with best practices.
1 parent 16a813f commit c45c78d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/puppet/type/concat_file.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# frozen_string_literal: true
22

3-
require 'puppet/type/file/owner'
4-
require 'puppet/type/file/group'
5-
require 'puppet/type/file/mode'
3+
# require 'puppet/type/file/owner'
4+
# require 'puppet/type/file/group'
5+
# require 'puppet/type/file/mode'
6+
Puppet::Type.type(:file)
67
require 'puppet/util/checksums'
78

89
Puppet::Type.newtype(:concat_file) do

0 commit comments

Comments
 (0)