# frozen_string_literal: true Facter.add(:firstrun) do confine kernel: 'Linux' setcode do File.exist?('/root/.cache/puppet_firstrun_complete') ? false : true end end