mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-17 10:10:27 +00:00
docs(readme): fix various issues inc. not rendering properly [skip ci]
This commit is contained in:
parent
dfb55e5ba1
commit
5701df06a9
1 changed files with 43 additions and 38 deletions
|
@ -5,18 +5,19 @@ packages-formula
|
||||||
|
|
||||||
|img_travis| |img_sr|
|
|img_travis| |img_sr|
|
||||||
|
|
||||||
.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/template-formula.svg?branch=master
|
.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/packages-formula.svg?branch=master
|
||||||
:alt: Travis CI Build Status
|
:alt: Travis CI Build Status
|
||||||
:scale: 100%
|
:scale: 100%
|
||||||
:target: https://travis-ci.com/saltstack-formulas/template-formula
|
:target: https://travis-ci.com/saltstack-formulas/packages-formula
|
||||||
.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
||||||
:alt: Semantic Release
|
:alt: Semantic Release
|
||||||
:scale: 100%
|
:scale: 100%
|
||||||
:target: https://github.com/semantic-release/semantic-release
|
:target: https://github.com/semantic-release/semantic-release
|
||||||
|
|
||||||
A simple 'packages manager' formula, to install/remove packages without further
|
A simple 'packages manager' formula, to install/remove packages without further ado.
|
||||||
|
|
||||||
.. contents:: **Table of Contents**
|
.. contents:: **Table of Contents**
|
||||||
|
:depth: 1
|
||||||
|
|
||||||
General notes
|
General notes
|
||||||
-------------
|
-------------
|
||||||
|
@ -37,14 +38,13 @@ Contributing to this repo
|
||||||
|
|
||||||
**Commit message formatting is significant!!**
|
**Commit message formatting is significant!!**
|
||||||
|
|
||||||
Please see :ref:`How to contribute <CONTRIBUTING>` for more details.
|
Please see `How to contribute <https://github.com/saltstack-formulas/.github/blob/master/CONTRIBUTING.rst>`_ for more details.
|
||||||
|
|
||||||
Available states
|
|
||||||
----------------
|
|
||||||
|
|
||||||
|
Special notes
|
||||||
|
-------------
|
||||||
|
|
||||||
What this formula can do
|
What this formula can do
|
||||||
========================
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Many times, in the process of setting up a host/vm, you need to install/remove
|
Many times, in the process of setting up a host/vm, you need to install/remove
|
||||||
packages with no extra configuration or setup. This formula tries to help with
|
packages with no extra configuration or setup. This formula tries to help with
|
||||||
|
@ -58,12 +58,15 @@ Debian/Redhat families), Python packages (using pip states) and Ruby gems
|
||||||
It can also provide basic dependency management on certain other states/packages.
|
It can also provide basic dependency management on certain other states/packages.
|
||||||
|
|
||||||
What this formula can't do
|
What this formula can't do
|
||||||
==========================
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
This formula is not intended to configure packages, nor setup services or daemons.
|
This formula is not intended to configure packages, nor setup services or daemons.
|
||||||
When you need to do that for a package, you should probably be using another
|
When you need to do that for a package, you should probably be using another
|
||||||
formula.
|
formula.
|
||||||
|
|
||||||
|
Available states
|
||||||
|
----------------
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
:local:
|
:local:
|
||||||
|
|
||||||
|
@ -91,31 +94,34 @@ Allows you to manage system's packages. You can specify:
|
||||||
to your ``pkgs.required.pkgs`` one of the following packages:
|
to your ``pkgs.required.pkgs`` one of the following packages:
|
||||||
|
|
||||||
+ CentOS
|
+ CentOS
|
||||||
```
|
|
||||||
packages:
|
.. code-block:: yaml
|
||||||
pkgs:
|
|
||||||
required:
|
packages:
|
||||||
pkgs:
|
pkgs:
|
||||||
- yum-plugin-versionlock
|
required:
|
||||||
```
|
pkgs:
|
||||||
|
- yum-plugin-versionlock
|
||||||
|
|
||||||
+ Fedora > 26 with Python3:
|
+ Fedora > 26 with Python3:
|
||||||
```
|
|
||||||
packages:
|
.. code-block:: yaml
|
||||||
pkgs:
|
|
||||||
required:
|
packages:
|
||||||
pkgs:
|
pkgs:
|
||||||
- python3-dnf-plugin-versionlock
|
required:
|
||||||
```
|
pkgs:
|
||||||
|
- python3-dnf-plugin-versionlock
|
||||||
|
|
||||||
+ Fedora > 26 with Python2:
|
+ Fedora > 26 with Python2:
|
||||||
```
|
|
||||||
packages:
|
.. code-block:: yaml
|
||||||
pkgs:
|
|
||||||
required:
|
packages:
|
||||||
pkgs:
|
pkgs:
|
||||||
- python2-dnf-plugin-versionlock
|
required:
|
||||||
```
|
pkgs:
|
||||||
|
- python2-dnf-plugin-versionlock
|
||||||
|
|
||||||
* ``wanted``: a list of packages which will be installed. Packages in this
|
* ``wanted``: a list of packages which will be installed. Packages in this
|
||||||
list will be automatically unheld so, if you want to permanently unheld a
|
list will be automatically unheld so, if you want to permanently unheld a
|
||||||
|
@ -180,7 +186,7 @@ You can specify:
|
||||||
correct installation (ie, ``epel`` for RedHat families).
|
correct installation (ie, ``epel`` for RedHat families).
|
||||||
|
|
||||||
``packages.archives``
|
``packages.archives``
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
'Archive file` handler for common 'download' and 'checksum' states. All formats recognized by `salt.states.archive.extracted` (tar, rar, zip, etc) will be extracted. Alternatively `raw` formats are supported (`raw`, `bin`,) for standard and binary executable files.
|
'Archive file` handler for common 'download' and 'checksum' states. All formats recognized by `salt.states.archive.extracted` (tar, rar, zip, etc) will be extracted. Alternatively `raw` formats are supported (`raw`, `bin`,) for standard and binary executable files.
|
||||||
|
|
||||||
|
@ -204,11 +210,11 @@ You can specify:
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
Centos has no native ``snapd`` package at this time.
|
Centos has no native ``snapd`` package at this time.
|
||||||
|
|
||||||
|
|
||||||
``packages.golang``
|
``packages.golang``
|
||||||
-------------------
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
You can specify:
|
You can specify:
|
||||||
|
|
||||||
|
@ -225,8 +231,8 @@ to install, in the format:
|
||||||
``name: url``
|
``name: url``
|
||||||
|
|
||||||
|
|
||||||
`packages.chocolatey``
|
``packages.chocolatey``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
You can specify:
|
You can specify:
|
||||||
|
|
||||||
|
@ -240,7 +246,7 @@ You can specify:
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
You must configure `winrepo-ng <https://github.com/saltstack/salt-winrepo-ng>`_ in order to install chocolatey required package
|
You must configure `winrepo-ng <https://github.com/saltstack/salt-winrepo-ng>`_ in order to install chocolatey required package
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
@ -265,7 +271,7 @@ e.g. ``debian-9-2019-2-py3``.
|
||||||
``bin/kitchen converge``
|
``bin/kitchen converge``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Creates the docker instance and runs the ``template`` main state, ready for testing.
|
Creates the docker instance and runs the ``packages`` main state, ready for testing.
|
||||||
|
|
||||||
``bin/kitchen verify``
|
``bin/kitchen verify``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
@ -286,4 +292,3 @@ Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``veri
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Gives you SSH access to the instance for manual testing.
|
Gives you SSH access to the instance for manual testing.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue