Comments (5)
I'm hitting this too.
from powershell-dsc-for-linux.
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.
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.
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.
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)
- No Restriction to Root Group
- Module signature validation is enabled by default
- Clarify core C library version requirements.
- selinux prevents logroate on omsconfig logs
- prefer python3 over python2 HOT 4
- I can't generate a .mof file with DSC using Rocky8.4 HOT 1
- Question -OMS and DSC installation for Rhel8.2 HOT 1
- DSC Engine Error for RHEL8.2
- Question : Using nxService resource we can reload systemd services ?
- DSC Extension for linux. Error in the dsc.py
- nxFile doesn't create file if it's deleted HOT 1
- Getting error Could not find the type of DSC resource class MSFT_nxPackageResource. HOT 1
- DSC limited to 23KB even w/ partial conf
- dsc v1.2.4 does not run to completion when a SetScript (from nxScript) returns non-zero exit code
- Received "Two successive configuration applications from OMS Settings failed" error on linux server with OMS agent
- periodic dsc_host segfault HOT 1
- Support for Oracle Linux 8
- Kali command lines
- Git-DsCResource not working after updating pwsh to 7.4 HOT 1
- Linux NX module DSC issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershell-dsc-for-linux.