#is_gitlab.rb Facter.add("is_gitlab") do setcode do FileTest.exists?("/usr/bin/X11/gitlab-ctl") end end