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.42.3 lib/serverspec/type/cron.rb
serverspec-2.42.2 lib/serverspec/type/cron.rb
serverspec-2.42.1 lib/serverspec/type/cron.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/type/cron.rb
serverspec-2.42.0 lib/serverspec/type/cron.rb
serverspec-2.41.8 lib/serverspec/type/cron.rb
serverspec-2.41.7 lib/serverspec/type/cron.rb
serverspec-2.41.6 lib/serverspec/type/cron.rb
serverspec-2.41.5 lib/serverspec/type/cron.rb
serverspec-2.41.4 lib/serverspec/type/cron.rb
serverspec-ruby19-2.24.3 lib/serverspec/type/cron.rb
serverspec-2.41.3 lib/serverspec/type/cron.rb
serverspec-2.41.2 lib/serverspec/type/cron.rb
serverspec-2.41.1 lib/serverspec/type/cron.rb
serverspec-2.41.0 lib/serverspec/type/cron.rb
serverspec-2.40.0 lib/serverspec/type/cron.rb
serverspec-2.39.2 lib/serverspec/type/cron.rb
serverspec-2.39.1 lib/serverspec/type/cron.rb
serverspec-2.39.0 lib/serverspec/type/cron.rb
serverspec-2.38.1 lib/serverspec/type/cron.rb