Sha256: 441aa294156b7c0d88261a91e79388f030cb53e9fe1e32b8bc6ddba7b9f8eeed

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

#
# Cookbook Name:: validation
# Recipe:: default
#
# The MIT License (MIT)
#
# Copyright (c) 2014 Jamie Winsor
#

if Chef::Resource::ChefGem.instance_methods(false).include?(:compile_time)
  chef_gem "chef-validation" do
    version Chef::Validation.cookbook_version(node)
    options "--ignore-dependencies"
    compile_time true
  end
else
  chef_gem "chef-validation" do
    version Chef::Validation.cookbook_version(node)
    options "--ignore-dependencies"
    action :nothing
  end.run_action(:install)
end

require "chef-validation"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chef-validation-0.2.3 recipes/default.rb