You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to deploy the RHEL79.MOF file from ato-toolkit using the latest DSC for linux release 1.2. Seems to work without issues until it reaches a nxService resource - then fails.
Error: Unable to find service named autofs in systemd.
2021/05/13 15:58:25: ERROR: null(0): EventId=1 Priority=ERROR Job FE792666-948D-4600-A1AD-08060B9E1C4A :
This event indicates that failure happens when LCM is processing the configuration. ErrorId is 1. ErrorDetail is The SendConfigurationApply function did not succeed.. ResourceId is [nxService][V-204451][medium][SRG-OS-000114-GPOS-00059]::[RHEL]Baseline and SourceInfo is C:\Program Files\WindowsPowerShell\Modules\PowerStig\4.8.0\DSCResources\Resources\linux.nxService.ps1::13::9::nxService. ErrorMessage is A general error occurred, not covered by a more specific error code..
From the MOF that specific resourceId looks like this
Installing omi-server and dsc with the following script
# Install repository configuration
curl -sSL https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft-prod.repo
# Install Microsoft's GPG public key
curl -sSL https://packages.microsoft.com/keys/microsoft.asc > ./microsoft.asc
## Import
sudo rpm --import ./microsoft.asc
## Install OMI
sudo yum -y install omi
sudo wget https://github.com/microsoft/PowerShell-DSC-for-Linux/releases/download/v1.2.0-0/dsc-1.2.0-0.ssl_110.x64.rpm
sudo rpm -Uvh dsc-1.2.0-0.ssl_110.x64.rpm
## now DSC is installed - what do we do about it.
Attempting to deploy the RHEL79.MOF file from ato-toolkit using the latest DSC for linux release 1.2. Seems to work without issues until it reaches a nxService resource - then fails.
Error: Unable to find service named autofs in systemd.
2021/05/13 15:58:25: ERROR: null(0): EventId=1 Priority=ERROR Job FE792666-948D-4600-A1AD-08060B9E1C4A :
This event indicates that failure happens when LCM is processing the configuration. ErrorId is 1. ErrorDetail is The SendConfigurationApply function did not succeed.. ResourceId is [nxService][V-204451][medium][SRG-OS-000114-GPOS-00059]::[RHEL]Baseline and SourceInfo is C:\Program Files\WindowsPowerShell\Modules\PowerStig\4.8.0\DSCResources\Resources\linux.nxService.ps1::13::9::nxService. ErrorMessage is A general error occurred, not covered by a more specific error code..
From the MOF that specific resourceId looks like this
Installing omi-server and dsc with the following script
Thanks.