Azure DSC for Linux

Welcome Forums DSC (Desired State Configuration) Azure DSC for Linux

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 months, 3 weeks ago.

  • Author
    Posts
  • #105442

    Participant
    Points: 0
    Rank: Member

    Hi,

    Just started trying DSC on Linux in Azure and getting a bit confused.

    On the one hand, there's the VM Extension which takes care of OMI and the DSC Agent and supports Ubuntu "EXCEPT 12.04 LTS, 14.04 LTS, 16.04 LTS".

    Then there's https://docs.microsoft.com/en-us/powershell/dsc/lnxgettingstarted which ONLY supports 12.04 LTS, 14.04 LTS, 16.04 LTS.

    This kind of makes sense. Old one for the older versions, new for the newer. However, apart from how to install it, there's no documentation about the newer extension. I'm presuming that the built-in nx* functions are all there, but given the lack of documentation I can find, I don't know if it's all the same or not.

    Anyone got any better insight?

  • #105460

    Keymaster
    Points: 1,619
    Helping HandTeam Member
    Rank: Community Hero

    Yeah, you've kind of caught them at a time of transition.

    The older model – which is open-source, so you can actually see all the available resources – was made by the Unix Services team and is written in an unholy mix of C and Bash scripts. And other stuff. The newer model is coming from the PowerShell team, mainly, but it's a work-in-progress as yet. So I don't know of any documentation, but the generic DSC documentation should work, and on a Linux machine where it's installed you can run Get-DscResource to see what resources are installed. Basically everything in The DSC Book is applicable.

  • #109139

    Participant
    Points: 0
    Rank: Member

    Sorry for the late reply, but thanks for the input. I finally managed to figure it out and find out that the documentation was incorrect. The "EXCEPT 12.04 LTS, 14.04 LTS, 16.04 LTS" should have said only supports those.

You must be logged in to reply to this topic.