def idempotent
      @logs_idempotent = []
      root = load_fixtures(resource, {"." => "#{@root}/."})

      oldroot = resource[:root]
      resource[:root] = root
      @txn_idempotent = apply(resource, @logs_idempotent)
      FileUtils.rm_r root
      resource[:root] = oldroot

      @txn_idempotent
    end
def idempotent
      @logs_idempotent = []
      root = load_fixtures(resource, {"." => "#{@root}/."})

      oldroot = resource[:root]
      resource[:root] = root
      @txn_idempotent = apply(resource, @logs_idempotent)
      FileUtils.rm_r root
      resource[:root] = oldroot

      @txn_idempotent
    end
Run the resource a second time, against the output dir from the first

 @return [Puppet::Transaction] repeated transaction