How to push out plist file?

hendersond
New Contributor III

I have a package that just installs Chrome. Along with that I want to push out a plist file to /Library/Managed Preferences that sets some policies of how Chrome behaves. For example, show the home button and set the home page. If I manually place the plist file into /Library/Managed Preferences it works just fine.
How can I push out this plist file using Jamf? The contents of the file is shown below

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict> <key>AutoFillEnabled</key> <false/> <key>DefaultBrowserSettingEnabled</key> <false/> <key>DefaultSearchProviderEnabled</key> <true/> <key>DefaultSearchProviderName</key> <string>Google</string> <key>DefaultSearchProviderSearchURL</key> <string>https://www.google.com/search?q={searchTerms}</string> <key>HomepageIsNewTabPage</key> <false/> <key>HomepageLocation</key> <string>https://www.google.com</string> <key>NewTabPageLocation</key> <string>https://www.google.com</string> <key>PasswordManagerEnabled</key> <false/> <key>RestoreOnStartup</key> <integer>4</integer> <key>RestoreOnStartupURLs</key> <array> <string>https://www.google.com</string> </array> <key>ShowHomeButton</key> <true/> <key>BookmarkBarEnabled</key> <true/>
</dict>
</plist>

2 REPLIES 2

Look
Valued Contributor III

You should be able to do it as a "custom" entry in a Configuration Profile, there is an option to import plist files.

maxbehr
Contributor II

You might check out this thread Configuring Chrome