Language Selection

Your selected language is currently:

English
14 Min Read

macOS & Workspace ONE product provisioning tutorial: Deploying Pulse Secure VPN

March 18, 2021 / Unisys Corporation

Deploying applications on macOS is made easy through Workspace ONE™ unified endpoint management (UEM), with the software distribution methods built into the VMware platform. However, it can become more complicated when applications have special configuration needs, such as transformation files or scripts. This is where the product provisioning tool in Workspace ONE UEM can be helpful. 

Unisys can help you extend your macOS management skills with product provisioning on Workspace ONE UEM.

What is a product provisioning system? 

The product provisioning system arranges an ordered installation of configurations, applications and files/actions into one product, which is then pushed to devices based on the conditions you create. 

In the case of macOS, this will help you install applications and configure them to your specific needs by utilizing files that can be placed anywhere on your Mac and executing terminal commands or scripts to accomplish your desired goals. 

Audience 

This article is written for: 

  • Workspace ONE administrators 
  • MacAdmins 

Prerequisites 

  • macOS 10.7+ devices: MacBook Pro, MacBook Air, Mac Mini, iMac, Mac Pro 
  • Workspace ONE UEM version 18.xx+ 

The scenario 

This example will deploy a VPN client application called Pulse Secure onto your fleet of macOS terminals. 

This application has a specific configuration file allowing the automatic configuration of a user's VPN client for their company. 

For the system to work properly, the application must first be installed, and then the file must be dropped and executed with a specific terminal command. 

To accomplish this, follow these steps:

  1. Deploy the .pkg of the Pulse Secure app on the Mac. 
  2. Drop the Pulse Secure client configuration file. 
  3. Install the Pulse Secure application. 
  4. Execute the configuration command from the configuration file dropped in Step 2. 

These steps can be completed at once by creating a Workspace ONE product, which is what will be explored next. 

Building the product 

Creating a Files/Actions component 

First, log in as an administrator to your C drive and select the desired organizational level to create your product. It’s important to note that in our example, we are currently using the latest version of the Workspace ONE UEM console as of March 2021. 

Navigate to Devices > Provisioning > Components > Files/Actions and select Add Files/Actions. 

File/action tab

From there, select the macOS platform. 

macOS platform

A window will open that will allow you to prepare your Files/Actions. The first tab labeled General will enable you to define a name for your Files/Actions. Enter a name and click on the second tab named Files

add files/action tab

Under the Files tab, click on the Add Files button. A pop-up window will allow you to upload the desired files to build your product. By clicking on Select Files, you can browse your file system to select the desired files. 

Add files tab

Select file

For the first file, choose the .pkg of the Pulse Secure app previously retrieved from the editor's website. Then click Save to upload the file to Files/Actions in Workspace ONE. 

Download file width=

At the end of the upload, a new window opens automatically to configure the parameters of the .pkg deposit on the target macOS. In the Download Path field, indicate where you want the Pulse Secure .pkg to be dropped in the macOS of your fleet. We advise you to choose a general or universal location. For example, we chose the folder /Users/Shared/filename

You also need to indicate a version number relative to Workspace ONE. We suggest starting with 1.0. 

Finish by clicking Save

Save button

The Pulse Secure application .pkg should now be added to your Files/Actions Workspace ONE UEM and should appear listed. 

Repeat the same action for the Pulse Secure client configuration file. 

Click the ADD FILES button again. 

The .pulsepreconfig file is a simple text file containing information about the company VPN. Use a specific command in the product to configure the Pulse Secure client with this config file. The VPN Editor support team provides this file.

Once again, drop this file in the /Users/Shared folder. 

Users shared folder

When the upload is finished, you can see the list of uploaded files in Product and where they will be dropped in the macOS terminal. 

Now click on the Manifest tab to the right of the Files tab. 

Manifest tab

Under the Manifest tab, you can indicate the actions that your Files/Actions will carry out within the product and in which order. 

Start by clicking on the ADD ACTION button. 

Add action button

A new window will open, prompting you to indicate the first action to be performed by your product. 

To install your Pulse Secure application, choose the Install action in the drop-down menu. 

Click install tab

When the Install action is selected, you can enter the path to the package that the macOS terminal should install. 

In our example, we install the PulseSecure_V9.pkg app, which we put in the /Users/Shared folder using the previous steps. 

Finish creating this action by clicking on the Save button. 

Click save button

After saving, you can find the list of actions and the first action you created, namely: 

  • Install the Pulse Secure client. 

Next, you will create the second action to configure the Pulse Secure VPN Client, which was automatically installed through the configuration file. 

Click the ADD ACTION button again. 

Add action button width=

For this second action, select the "Run" action from the drop-down menu to execute a command. 

mClick run tab

Once you select the Run action, enter the command the macOS terminal will execute. 

The command is the following: 

/Applications/Pulse\Secure.app/Contents/Plugins/JamUI/jamCommand -importFile /Users/Shared/EMEA1.pulsepreconfig 

Call the jamCommand binary in the Pulse Secure app installation folder and ask it to read and parse the configuration file in the /Users/Shared folder. 

Press SAVE to complete. 

Click save button

The list of actions should now be visible and complete. Actions will be carried out in the order they appear on the list. It is possible to rearrange them using the arrows in the columns on the left. 

The Files/Actions component first performs the events on the Files tab and then those on the Manifest tab.

To summarize, we have shown you how to implement the workflow mentioned at the beginning through the Files/Actions component, namely: 

  1. Deploy the .pkg of the Pulse Secure app on the Mac (Files Tab) 
  2. Drop the Pulse Secure client configuration file (Files Tab) 
  3. Install the Pulse Secure application (Manifest Tab) 
  4. Execute the configuration command from the configuration file dropped in Step 2 (Manifest Tab) 

Finish the creation of your Files/Actions by clicking on SAVE.

Finish creating file

Your Files/Actions component should now be created and visible in the list view. Now you can create the product to push it onto your macOS fleet. 

File/action tab

Creating the product

While still in your Workspace ONE UEM console, navigate to Devices > Provisioning > Product List View

From here, click on the ADD PRODUCT button. 

Add product

As with your File/Action component, select the macOS platform. 

Select macOS platform width=

The Add Product configuration will window open, and you can now configure it. 

On the General tab, specify a name that will appear in the products list display. You can also see the organizational level where it will be created and need to select an assignment for your product by indicating the target group for deployment (Smart Group or Organization). 

Then click on the Manifest tab. 

Click manifest tab

The Manifest tab will allow you to indicate the File/Action components you want to put in your product. 

Then click on ADD

Add manifest button

From there, the Add Manifest window will open, and you can select the File/Action - Install option. 

Install Files/actiom

 

This allows you to select our File/Action component created in the previous steps from the drop-down menu. 

Finish by clicking on the SAVE button. 

Save button

 

You can now see your File/Action component listed in the Manifest tab of the product to execute the directives.

View File/action tab

You can also find the Conditions tab, which allows you to add execution parameters for the product such as environment constraints or interactions with the user. These conditions must be created within the menu of the same name using the same process as the File/Action components. 

The Deployment tab allows you to set a precise date and time for the installation and execution of your product. 

Finally, the Dependencies tab allows you to create links between products to make them dependent. Example: Product B will only be installed when Product A has finished its execution. 

We will leave these tabs in their default settings as we do not need these options in our example. 

Finish creating your product by clicking SAVE. 

Finally, you will be brought to the Product List View and can view your newly created product. 

The red dot in front of the product name indicates it is inactive. 

Product list view

To activate the product, click on the gray dot to the left of the red one. It will turn green, indicating the product is active and deploying to your macOS devices. 

Product llist view

Thanks to the real-time deployment status of the Workspace ONE UEM console, you can see the installation status of the product. This is represented by the numbers displayed on the product name line. You can click on any number to access your deployment information and track any problems. 

Device overview

View devices

Mission complete 

Thanks to Workspace ONE UEM's product provisioning tool, you can create a complex workflow that carries out a precise scenario on your macOS terminals. 

In a single product, you can drop a configuration file in the Pulse Secure VPN app, install it, and run a command to configure it. 

There are many other uses and fields of application for Workspace ONE UEM products. With the capabilities outlined in this article, you can perform complex and advanced actions. 

Good luck in the creation of your future macOS products! 

Learn more about how Unisys can help you manage and secure all enterprise devices with Modern Device Management