Method: Chef::Resource#compile_time

Defined in:
lib/chef/resource.rb

#compile_timeBoolean

If this is set the resource will be set to run at compile time and the converge time action will be set to :nothing.

Parameters:

  • arg (Boolean)

    Whether or not to force this resource to run at compile time.

Returns:

  • (Boolean)

    Whether or not to force this resource to run at compile time.


448
449
450
# File 'lib/chef/resource.rb', line 448

property :compile_time, [TrueClass, FalseClass],
description: "Determines whether or not the resource is executed during the compile time phase.",
default: false, desired_state: false