Skip to content

Switching from AbsoluteManageExport to LANrevImporter

jbaker10 edited this page May 6, 2016 · 1 revision

Welcome!

If you're here, it means you are likely beginning the process of switching your recipes over from the old AbsoluteManageExport processor to the new LANrevImporter processor. If so, you're in the right place!

Changes

There were some key changes made in this transition including:

  • Name changes (i.e. LANrev instead of Absolute Manage)
  • Processor location
  • The import_abman_to_servercenter key was changed to import_pkg_to_servercenter

How to migrate

The hope is that the transition process will not be too painful. Below are the required changes to your recipes in order to use the new LANrevImporter processor:

1. Identifier

Old

<key>Identifier</key>
<string>com.github.autopkg.jbaker10.absolute.GoogleChrome</string>

New

<key>Identifier</key>
<string>com.github.autopkg.jbaker10.lanrev.GoogleChrome</string>

The key here is replacing the absolute piece in the identifier to lanrev to be consistent with the naming convention.

2a. When using LANrevImporter as a Shared Processor

Old

<key>Processor</key>
<string>com.github.tburgin.AbsoluteManageExport/AbsoluteManageExport</string>

New

<key>Processor</key>
<string>com.github.jbaker10.LANrevImporter/LANrevImporter</string>

You also want to make sure that the new repo is available in your AutoPkg list. To do this, simply run:

autopkg repo-add https://github.com/jbaker10/LANrevImporter

2b. When installing the LANrevImporter Processor locally

Old

<key>Processor</key>
<string>AbsoluteManageExport</string>

New

<key>Processor</key>
<string>LANrevImporter</string>

3. Input Variables

Old

<key>import_abman_to_servercenter</key>
<true/>

New

<key>import_pkg_to_servercenter</key>
<true/>

Here we need to replace the abman with pkg for the input variable.

4. SharedProcessorRepoURL

If you have the following two lines in your recipes, make sure they are removed:

<key>SharedProcessorRepoURL</key>
<string>https://github.com/tburgin/AbsoluteManageExport</string>

You do not need these lines at all, so you can just delete them from the recipes.


These should be all of the changes necessary in order for your recipes to use the new LANrevImporter! Hooray!