Sha256: 00cb6fc0d9c5d22d95498292b10d8af6f9dea17d30bf9f078e1f40c0f53972fd

Contents?: true

Size: 236 Bytes

Versions: 51

Compression:

Stored size: 236 Bytes

Contents

module Serverspec::Type
  class Cron < Base
    def has_entry?(user, entry)
      @runner.check_cron_has_entry(user, entry)
    end

    def table
      @runner.get_cron_table.stdout
    end

    def to_s
      'Cron'
    end
  end
end

Version data entries

51 entries across 51 versions & 3 rubygems

Version Path
serverspec-2.38.0 lib/serverspec/type/cron.rb
serverspec-2.37.2 lib/serverspec/type/cron.rb
serverspec-2.37.1 lib/serverspec/type/cron.rb
serverspec-2.37.0 lib/serverspec/type/cron.rb
serverspec-2.36.1 lib/serverspec/type/cron.rb
serverspec-2.36.0 lib/serverspec/type/cron.rb
serverspec-2.35.0 lib/serverspec/type/cron.rb
serverspec-2.34.0 lib/serverspec/type/cron.rb
serverspec-2.33.0 lib/serverspec/type/cron.rb
serverspec-2.32.0 lib/serverspec/type/cron.rb
serverspec-2.31.1 lib/serverspec/type/cron.rb
serverspec-2.31.0 lib/serverspec/type/cron.rb
serverspec-2.30.1 lib/serverspec/type/cron.rb
serverspec-2.30.0 lib/serverspec/type/cron.rb
serverspec-2.29.2 lib/serverspec/type/cron.rb
serverspec-2.29.1 lib/serverspec/type/cron.rb
serverspec-2.29.0 lib/serverspec/type/cron.rb
serverspec-2.28.0 lib/serverspec/type/cron.rb
serverspec-2.27.0 lib/serverspec/type/cron.rb
serverspec-2.26.0 lib/serverspec/type/cron.rb