Azure policy guest configuration for Linux

Raviteja Kotha 20 Reputation points
2023-03-17T05:37:42.0666667+00:00

Hello All,

Azure Policy Guest Configuration for Linux

According to this documentation - https://docs.microsoft.com/en-us/azure/governance/policy/how-to/guest-configuration-create#author-a-..., for Linux, it requires to create custom DSC resource module using PowerShell classes

Is there any documentation or reference module available on creation of custom DSCresource module for Linux on DSC Package resource and DSC script resource that can be used to install application through guest configuration.

Can anyone please help me out?

Regards

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
884 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jesse Loudon 336 Reputation points
    2023-03-20T08:17:50.0266667+00:00

    Hey @Raviteja Kotha

    This Microsoft documentation should guide you in creating a custom DSC resource with PowerShell https://learn.microsoft.com/en-us/powershell/dsc/resources/authoringResourceClass?view=dsc-1.1

    But before you dive into that I recommend watching this video walkthrough by Gael Colas Writing DSC Resources for Azure Policy Guest Configuration - For Linux!

    Hope that helps


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.