manage

in chef/cookbooks/cpe_crowdstrike_falcon_sensor/resources/cpe_crowdstrike_falcon_sensor.rb [233:248]


  def manage
    return unless node['cpe_crowdstrike_falcon_sensor']['manage']

    if Gem::Version.new(minimum_supported_version) > Gem::Version.new(
      node['cpe_crowdstrike_falcon_sensor']['pkg']['version'],
    )
      Chef::Log.warn("cpe_crowdstrike_falcon_sensor only manages crowdstrike v#{minimum_supported_version} and "\
        'higher. Please use a prior version of this cookbook if you need earlier support.')
      return
    end

    debian_manage if debian?
    macos_manage if macos?
    windows_manage if windows?
  end