File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ def self.store(resource)
250250 current_mode = Puppet ::FileSystem . stat ( file ) . mode & 0o777
251251 next if current_mode == target_mode
252252 resource . info _ ( 'changing mode of %{file} from %{current_mode} to %{target_mode}' ) %
253- { file : file , current_mode : '%03o' % current_mode , target_mode : '%03o' % target_mode }
253+ { file :, current_mode : '%03o' % current_mode , target_mode : '%03o' % target_mode }
254254 Puppet ::FileSystem . chmod ( target_mode , file )
255255 end
256256 end
Original file line number Diff line number Diff line change 2222 # Doc string for properties that can be made 'absent'
2323 ABSENT_DOC = 'Set this to `absent` to remove it from the file completely.' . freeze
2424 # False can be false/0/no and True can be true/1/yes in yum.
25- YUM_BOOLEAN = %r{^(true|false|0|1|no|yes)$} . freeze
25+ YUM_BOOLEAN = %r{^(true|false|0|1|no|yes)$}
2626 YUM_BOOLEAN_DOC = 'Valid values are: false/0/no or true/1/yes.' . freeze
2727
2828 # Common munge logic for YUM_BOOLEAN values. Munges for two requirements:
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def run_puppet_install_helper
1515
1616 agent_sha = ENV [ 'BEAKER_PUPPET_AGENT_SHA' ] || ENV [ 'PUPPET_AGENT_SHA' ]
1717 if agent_sha . nil? || agent_sha . empty?
18- install_puppet_agent_on ( hosts , options . merge ( version : version ) )
18+ install_puppet_agent_on ( hosts , options . merge ( version :) )
1919 else
2020 # If we have a development sha, assume we're testing internally
2121 dev_builds_url = ENV [ 'DEV_BUILDS_URL' ] || 'http://builds.delivery.puppetlabs.net'
You can’t perform that action at this time.
0 commit comments