generated from deploymenttheory/Template
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from deploymenttheory/release
Update package_file_path in jamfpro_package resource
- Loading branch information
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
resource "jamfpro_policy" "jamfpro_package_policy_001" { | ||
name = "tf-ghatest-policy-packages-suspiciouspackage" | ||
enabled = false | ||
trigger_checkin = false | ||
trigger_enrollment_complete = false | ||
trigger_login = false | ||
trigger_network_state_changed = false | ||
trigger_startup = false | ||
trigger_other = "EVENT" // "USER_INITIATED" for self service trigger , "EVENT" for an event trigger | ||
frequency = "Once per computer" | ||
retry_event = "none" | ||
retry_attempts = -1 | ||
notify_on_each_failed_retry = false | ||
target_drive = "/" | ||
offline = false | ||
category_id = -1 | ||
site_id = -1 | ||
|
||
network_limitations { | ||
minimum_network_connection = "No Minimum" | ||
any_ip_address = false | ||
} | ||
|
||
scope { | ||
all_computers = false | ||
all_jss_users = false | ||
|
||
} | ||
|
||
self_service { | ||
use_for_self_service = true | ||
self_service_display_name = "" | ||
install_button_text = "Install" | ||
self_service_description = "" | ||
force_users_to_view_description = false | ||
|
||
feature_on_main_page = false | ||
} | ||
|
||
payloads { | ||
packages { | ||
distribution_point = "default" // Set the appropriate distribution point | ||
package { | ||
id = jamfpro_package.jamfpro_package_001.id | ||
action = "Install" // The action to perform with the package (e.g., Install, Cache, etc.) | ||
fill_user_template = false // Whether to fill the user template | ||
fill_existing_user_template = false // Whether to fill existing user templates | ||
} | ||
} | ||
} | ||
} | ||
|
File renamed without changes.