Code Monkey home page Code Monkey logo

Comments (5)

edneville avatar edneville commented on May 18, 2024

I'm hitting this too.

from powershell-dsc-for-linux.

BrCutler avatar BrCutler commented on May 18, 2024

This is a known limit. DSC config files must be smaller than 23Kb in order to load them into the Azure Automation DSC solution. If you have a config file which is larger than 23Kb, you may be able to reduce the size by converting the MOF to use UTF-8 encoding instead of Unicode, which can reduce the size of the config file by nearly half.

from powershell-dsc-for-linux.

filipe-paredes avatar filipe-paredes commented on May 18, 2024

Thanks for the reply @BrCutler.
Converting to UTF-8 really shrinks the size to half.
However, we have a mof of 80Kb for our Linux servers, so 40Kb its still not enough. The way we made it work was to split it into 4 configurations and run 1 mof at the time.

from powershell-dsc-for-linux.

rsponholtz avatar rsponholtz commented on May 18, 2024

This is certainly still an issue. It's possible to give yourself a little extra headroom by re-encoding to UTF-8, but still, 24kb limit is pretty restricting. Plus, it's only vaguely documented in comments like this - please add to the "limits" section of the readme.md.

from powershell-dsc-for-linux.

svenschrader avatar svenschrader commented on May 18, 2024

I created microsoft/omi#753 as the issue occurs when calling omicli.
After seven years, this size limitation is still an issue.

from powershell-dsc-for-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.