# File lib/specinfra/command/openbsd/base/user.rb, line 7 def check_has_home_directory(user, path_to_home) "getent passwd #{escape(user)} | cut -f 6 -d ':' | grep #{escape(path_to_home)}" end