Project

General

Profile

« Previous | Next » 

Revision d3222e5c

Added by Archana Kumari about 1 month ago

Fix Rubocop Style/ConcatArrayLiterals

View differences:

checks/hostname.rb
Make sure the above command is installed and executable in your system. ".freeze
ENV['PATH'] = ENV['PATH'].split(File::PATH_SEPARATOR).concat(['/opt/puppetlabs/bin']).join(File::PATH_SEPARATOR)
ENV['PATH'] = ENV['PATH'].split(File::PATH_SEPARATOR).push('/opt/puppetlabs/bin').join(File::PATH_SEPARATOR)
system("which facter > /dev/null 2>&1")
error_exit(MISSING, 3) if $CHILD_STATUS.exitstatus == 1

Also available in: Unified diff