From 54d9643ade878cb7a3915ce608c6fd394255dd0f Mon Sep 17 00:00:00 2001 From: Graham Date: Mon, 14 Oct 2019 22:08:18 +0200 Subject: [PATCH] Jamf 10 friendly templates --- ...tribute.xml => ExtensionAttribute-CFBundleVersion.xml} | 4 +++- example_templates/ExtensionAttribute.xml | 8 +++++--- example_templates/PolicyTemplate.xml | 6 ++++-- ...emplate.xml => SmartGroupTemplate-CFBundleVersion.xml} | 0 4 files changed, 12 insertions(+), 6 deletions(-) rename example_templates/{CFBundleVersionExtensionAttribute.xml => ExtensionAttribute-CFBundleVersion.xml} (93%) rename example_templates/{CFBundleVersionSmartGroupTemplate.xml => SmartGroupTemplate-CFBundleVersion.xml} (100%) diff --git a/example_templates/CFBundleVersionExtensionAttribute.xml b/example_templates/ExtensionAttribute-CFBundleVersion.xml similarity index 93% rename from example_templates/CFBundleVersionExtensionAttribute.xml rename to example_templates/ExtensionAttribute-CFBundleVersion.xml index 05e38cd..bb49ba0 100755 --- a/example_templates/CFBundleVersionExtensionAttribute.xml +++ b/example_templates/ExtensionAttribute-CFBundleVersion.xml @@ -6,10 +6,12 @@ script Mac Extension Attributes Extension Attributes - \ No newline at end of file + diff --git a/example_templates/ExtensionAttribute.xml b/example_templates/ExtensionAttribute.xml index 440c710..ebd3ade 100644 --- a/example_templates/ExtensionAttribute.xml +++ b/example_templates/ExtensionAttribute.xml @@ -5,13 +5,15 @@ script Mac - +echo "<result>$result</result>" +exit 0 Extension Attributes Extension Attributes - \ No newline at end of file + diff --git a/example_templates/PolicyTemplate.xml b/example_templates/PolicyTemplate.xml index d5f18f7..1df6696 100755 --- a/example_templates/PolicyTemplate.xml +++ b/example_templates/PolicyTemplate.xml @@ -2,8 +2,8 @@ Install Latest %PROD_NAME% true @@ -25,6 +25,8 @@ true Install %VERSION% + Install %VERSION% + Install Latest %PROD_NAME% %SELF_SERVICE_DESCRIPTION% diff --git a/example_templates/CFBundleVersionSmartGroupTemplate.xml b/example_templates/SmartGroupTemplate-CFBundleVersion.xml similarity index 100% rename from example_templates/CFBundleVersionSmartGroupTemplate.xml rename to example_templates/SmartGroupTemplate-CFBundleVersion.xml