Sha256: 269f1061af4795e5a58d0ff082a728cf81bfca74d09e28573e6338d3263c7a00

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

module Sprinkle
  module Verifiers
    module User
      Sprinkle::Verify.register(Sprinkle::Verifiers::User)

      def has_user(name)
        @commands << "cat /etc/passwd | grep -q ^#{name}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jemmyw-sprinkle-0.2.3 lib/sprinkle/verifiers/user.rb