spec/spec_helper_acceptance.rb
def default_installed_bin_dir
  if Gem.win_platform?
    # TODO: Also support Windows without cygwin
    '/cygdrive/c/Program\ Files/Puppet\ Labs/DevelopmentKit/bin'
  else
    '/opt/puppetlabs/bin'
  end
end
# The default directory pdk bin would be installed to on this machine
The default directory pdk bin would be installed to on this machine
The default directory pdk bin would be installed to on this machine
def default_installed_bin_dir
  if Gem.win_platform?
    '/cygdrive/c/Program\ Files/Puppet\ Labs/DevelopmentKit/bin'
  else
    '/opt/puppetlabs/bin'
  end
end
def default_installed_bin_dir if Gem . win_platform? '/cygdrive/c/Program\ Files/Puppet\ Labs/DevelopmentKit/bin' else '/opt/puppetlabs/bin' end end
The default directory pdk bin would be installed to on this machine
The default directory pdk bin would be installed to on this machine
# TODO: Also support Windows without cygwin