Linux : Morpheus Error executing action `create` on resource

By | December 10, 2022

Morpheus Cloud Management Platform 5.1.1 error out as followed when installing the Debian package :

  * file[/etc/sudoers.d/80-morpheus-app] action create
    * Parent directory /etc/sudoers.d does not exist.
    ================================================================================
    Error executing action `create` on resource 'file[/etc/sudoers.d/80-morpheus-app]'
    ================================================================================

    Chef::Exceptions::EnclosingDirectoryDoesNotExist
    ------------------------------------------------
    Parent directory /etc/sudoers.d does not exist.

As obviously stated in the message, the folder “/etc/sudoers.d” does not exist, so the installer error out and exit.

The fix is as easy as creating the folder :

mkdir /etc/sudoers.d

You may now install the package again and the installation should go through.