Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

plus3it/micro-editor-formula

Open more actions menu

Repository files navigation

micro-editor-formula

A SaltStack formula designed to install and configure the Micro Editor package on Windows-based installation-targets.

It is primarily expected that this formula will be run via P3's "watchmaker" framework.

This formula is able to install the Micro Editor utility on Windows Server1 operating environments. Installation for internet-connected systems may come from the Micro Editor's "Releases" page. Alternately:

  • Sites whose installation-targets won't be able to reach the Micro Editor product's "Releases" page will need to self-host copies of the desired content.
  • Sites that wish to use a specific version of the Micro Editor will need to target that content

Targeting specific versions of the Micro Editor or local copies of the install-archives can be directed to do so by adding appropriate content to the formula's associated Pillar-data (see this projct's pillar.example file for guidance).

Available states

micro-editor

Executes the package and config states to install and configure the Micro Editor

micro-editor.clean

Executes the package and config states' clean actions to fully uninstall the Micro Editor and remove previously-installed browser policy-configs (and, on Windows, associated registry entries)

micro-editor.package

Executes just the package state to install the Micro Editor package.

micro-editor.package.clean

Executes just the package.clean state to uninstall the Micro Editor package.

micro-editor.config

Executes just the config state to install/configure the Micro Editor client-configuration (etc.) files

micro-editor.config.clean

Executes just the config state to uninstall the Micro Editor client-configuration (etc.) files and, on Windows, remove any registry-keys set by prior install-runs of the formula.

Compatibility Notes:

  1. This formula configures default editor settings for several file-types. This is done by wring a JSON-formatted configuration file to C:\Users\Default\.config\micro\settings.json. Users created after this file is laid down will get a copy of this file added to thier $env:HOME\.config\micro\ directory. For users created before this formula is run, it will be necessary to manually copy the file-contents from its source location to its destination location(s).

  2. There is a difference in color-support between the full, graphical desktop and tools like Powershell-over-SSM:

    • When accessing via channels with minimal color support — such as Powershell-over-SSM — the 16-color, "simple" color palett is used. This should only effect the SSM user


      Micro Editor launched within a Powershell-over-SSM session
    • When accessing via channels with full color support — such as a full desktop session via console or RDP — the 16Mn-color, "true color" color palett is used. This should only effect the SSM user


      Micro Editor launched within a graphical desktop (RDP) session

Footnotes

  1. As of this README's writing, this functionality has only been tested on Windows Server 2022

About

SaltStack-based content for installing and configuring the "Micro" (CLI-only) Editor onto Windows-based targets

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from plus3it/repo-template
Morty Proxy This is a proxified and sanitized view of the page, visit original site.