Method: Jamf::ConfigurationProfile#update

Defined in:
lib/jamf/api/classic/base_classes/configuration_profile.rb

#update(redeploy_to_all: false) ⇒ Object

clear flag after updating



166
167
168
169
170
171
172
# File 'lib/jamf/api/classic/base_classes/configuration_profile.rb', line 166

def update(redeploy_to_all: false)
  @redeploy_on_update = redeploy_to_all ? REDEPLOY_ALL : REDEPLOY_NEWLY_ASSIGNED
  super()
  # always reset to newly assigned
  @redeploy_on_update = REDEPLOY_NEWLY_ASSIGNED
  @update_payloads = nil
end