Update hardware-add.pp

  require => Class["foo1"]