Commit graph

512 commits

Author SHA1 Message Date
Alyssa Rock
76d5d0c2e3 Remove install topics and update top nav 2022-06-27 21:52:15 -07:00
rjc
72a673ba2c No official packages for Ubuntu 16.04 LTS
There are no official Salt packages built for Ubuntu 16.04 LTS any more.
2022-05-02 17:09:11 -07:00
Twangboy
417e6c188a Update port install info, remove errata, remove setting maxfiles 2022-01-19 15:07:02 -05:00
Twangboy
b9e4e42dc8 Update the macOS installer and docs
Update the welcome and conclusion pages of the macOS installer
Bring some of the information in the welcome to the conclusion page
Add clarification about the salt-config cli utility
Add docs to the installation page for macOS for the installer
Add docs to the installation page for macOS for the salt-config tool
2022-01-19 15:07:02 -05:00
Gareth J. Greenaway
0ae12d2d66
Merge freeze into master (#61310)
* Redirect imports of ``salt.ext.six`` to ``six``

Fixes #60966

* Latest changelog update for 3004

* Handle signals and properly exit, instead of raising exceptions.

This was introduced in 26fcda5074

Fixes #60391
Fixes #60963

* Add test for #61003

* Fix #61003

Restored the previously shifted check for version_to_remove in
old[target]. This had been extracted along with the correctly extracted
double pkg_params[target] lookup, but that lost the `target in old`
guard.

Putting the check back here prevents KeyError when looking for a
non-existent target in `old`.

* Handle various architecture formats in aptpkg module

* Write file even if does not exist

* only run test on debian based platforms

* remove extra space for arch

* convert pathlib to string for pkgrepo test

* Use temporary files first then copy to sources files

* fixes saltstack/salt#59182 fix handling of duplicate keys in rest_cherrypy data

* added changelog

* remove log messages to prevent leaks of sensitive info

* Reverting changes in PR #60150. Updating installed and removed functions to return changes when test=True.

* Adding changelog.

* Add a test and fix for extra-filerefs

* Do not break master_tops for minion with version lower to 3003

* Add changelog file

* Add extra comment to clarify discussion

* Update changelog file

* Add deprecated changelog

* Assert that the command didn't finish

Refs https://github.com/saltstack/salt/pull/60972

* Always restore signals, even when exceptions occur

* Reset signal handlers before starting the process

* Make sure that the `ProcessManager` doesn't always ignore signals

* Provide valid default value for bootstrap_delay

* Update changelog for 3004

* Update changelog and release notes for 3004

* Add PR 61020 to changelog

* Update release notes index file and create 3005 file

* Update docs

* bad merge from master, redoing the PR for adding the Deltaproxy documentation.

* Adding doc/ref/configuration/delta_proxy.rst.

* cleaning up this paragraph, adding in network administrators in addition to system administrators.

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
Co-authored-by: ScriptAutomate <derek@icanteven.io>
Co-authored-by: Wayne Werner <wwerner@vmware.com>
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
Co-authored-by: nicholasmhughes <nicholasmhughes@gmail.com>
Co-authored-by: Daniel A. Wozniak <dwozniak@saltstack.com>
Co-authored-by: Pablo Suárez Hernández <psuarezhernandez@suse.com>
Co-authored-by: Alyssa Rock <arock@saltstack.com>
Co-authored-by: Twangboy <shane.d.lee@gmail.com>
2021-12-13 08:44:58 -05:00
Bryce Larson
d6b809ec88 change docs.saltstack.com to docs.saltproject.io everywhere 2021-09-09 15:30:03 -07:00
Ari Maniatis
ecc050e5b9 Update doc/topics/installation/freebsd.rst
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2021-08-26 07:54:08 -04:00
Ari Maniatis
24669b5cce Python 2.7 is gone away. Python 3.8 is now default. 2021-08-26 07:54:08 -04:00
Bryce Larson
73cc8d6120 change repo.saltstack.com to repo.saltproject.io 2021-08-16 14:20:43 -04:00
Derek Ardolf
a4149f66e8 Update doc/topics/installation/nxos.rst
Use saltproject.io where able

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2021-08-10 16:04:39 -07:00
Gary T. Giesen
cf40fdae4a Update nxos installation docs to use python3. Fixes #59750 2021-08-10 16:04:39 -07:00
ScriptAutomate
3e07e7bbc2 Deprecate rhel5 and 6; remove EPEL references 2021-02-26 07:47:22 -05:00
Pedro Algarvio
9878eb82a8 The right msgpack is now msgpack and not msgpack-python.
It got renamed.
2020-11-04 13:24:38 -07:00
Pedro Algarvio
b427688048 Start checking rst files at pre-commit level with rstcheck
Additionally, fixed most of the errors reported by rstcheck.

Fixes https://github.com/saltstack/salt/issues/58668
2020-10-13 13:53:16 -07:00
ScriptAutomate
43d172d7dd Rearrange word placement in FreeBSD doc 2020-09-30 13:27:43 -07:00
ScriptAutomate
84294b6dd4 Better search / SEO experience for finding docs 2020-09-30 13:27:43 -07:00
ScriptAutomate
54b47afeb7 Archive repo cmd workaround for debian/ubuntu/rhel 2020-09-04 15:23:53 -07:00
ScriptAutomate
7c8330faea Various install page version updates 2020-09-04 15:23:53 -07:00
ScriptAutomate
ff36547ee8 Updated windows system testing targets 2020-09-04 15:23:53 -07:00
ScriptAutomate
726176106c Updating Windows OS tested versions 2020-09-04 15:23:53 -07:00
ScriptAutomate
6a67a1f1ec Expand supported OS in suse 2020-09-04 15:23:53 -07:00
ScriptAutomate
154652b1d2 Move py3 / py2 paragraph above archive links 2020-09-04 15:23:53 -07:00
ScriptAutomate
0ef1c50a3f Removing Python 2 references on latest minion 2020-09-04 15:23:53 -07:00
ScriptAutomate
9754c5592d Fixed minor formatting 2020-09-04 15:23:53 -07:00
ScriptAutomate
079cf33c1d Updating documents to reference new archive locations 2020-09-04 15:23:53 -07:00
Jasper Lievisse Adriaanse
6170eac439 Sync OpenBSD installation documentation with reality
OpenBSD's salt package moved to python3 a while ago and dependencies
have changed since this page was last updated.

While here tweak a reference to the OpenBSD package, not pkg, repo.
2020-08-28 12:16:13 -07:00
Benjamin Drung
ef2f8857ca Fix spelling mistake of minimum
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2020-08-13 11:00:54 -07:00
Ken Crowell
e99058efd1 Link salt-ssh python requirement to install docs 2020-08-13 10:58:54 -07:00
hvbarker
c6b2205446 Changed all references of python 3.6 to 3.7. 2020-05-20 20:48:26 -07:00
Elias Probst
830277e467 Fix typo (MinonMinion)
- Notice the typo while reading docs
- Run `ack -i minon` to notice it's quite common and even made it into `doc/spelling_wordlist.txt`
- Run `ack -li minon | xargs sed -i 's|\([Mm]\)inon|\1inion|g'` to correct it
- Review changes
- Add + Commit
2020-05-10 09:36:05 -07:00
Derek Ardolf
5a73ef699f
Various Link Redirect and HTTP/HTTPS Fixes in docs (#56655)
* Fixing various redirected links

* Change links to https

* Reintroduced macro link reference

* Change man page to original at master; revert added line
2020-05-04 01:28:38 -07:00
David Hilton
1c7ce9d793
merge nxos-specific work from develop into master. (#54931)
* Combine proxy and native minion workflows for NXOS

 - Normalize SSH and NX-API proxy minion workflows
 - Add NX-API over unix domain socket support for native minions

* Fix typo

* Fix states correct_roles bug

* Add comment clarification for nxos states

* Fix lint issues

* Address python3 incompatibility

* Fix additional lint issues

* Disable pylint W1699 warning

* Use new style class syntax

* Correct typo

* Fix nxos grains

* Pass data to grains function

* Return nxos grains key

* Protect nxos grain with proper __virtual__() check

The changes in PR #49676 made the following stacktrace occur when running
on a system that doesn't have the proper NXOS/NXAPIClient settings exposed:

```
[CRITICAL] Failed to load grains defined in grain file nxos.system_information in function <function system_information at 0x3aeb758>, error:
Traceback (most recent call last):
  File "/testing/salt/loader.py", line 773, in grains
    ret = funcs[key](**kwargs)
  File "/testing/salt/grains/nxos.py", line 36, in system_information
    data = salt.utils.nxos.version_info()
  File "/testing/salt/utils/nxos.py", line 318, in version_info
    client = NxapiClient()
  File "/testing/salt/utils/nxos.py", line 78, in __init__
    raise RuntimeError("No host specified and no UDS found at {0}\n".format(self.NXAPI_UDS))
RuntimeError: No host specified and no UDS found at /tmp/nginx_local/nginx_1_be_nxapi.sock

local:
    True
```

We need to protect the grains from loading when the settings are missing.

* Initial nxos_upgrade changes

* Revert "Initial nxos_upgrade changes"

This reverts commit e17ca19fbc.

* New NX-OS salt minion install doc

* Add guestshell sync information

* Initial nxos_upgrade changes

* Initial nxos_upgrade changes

* Revert "Initial nxos_upgrade changes"

This reverts commit e17ca19fbc.

* Revert "Initial nxos_upgrade changes"

This reverts commit e17ca19fbc.

* Add nxos to index.rst

* New nxos_upgrade execution and state modules

* Added NXOS UT support - initially for nxos_upgrade.py

* Resolved one pylint 'old class style' issue.  Excluding 'nxos' sub-directory under tests/unit/modules

* Add __init__.py file to treat directory as a package directory.

* Addressed PR comments.

* Removed pylint disable-msg that was only applicable to python 3+

* Document NAPALM installation inside Guestshell

Adding step-by-step guide to install NAPALM inside of the NXOS Guestshell.

* show and sendline method fixes

* Update doc for starting minion in nxos GuestShell

* Revert show method changes

* Revert sendline method doc changes

* Resolve lint errors

* Remove nxos guestshell napalm references

This work is delayed so removing the references

* Address review comments

* Address salt style guide comment

* Doc and module updates

* Initial nxos module and proxy unit tests

* Additional nxos module and proxy unit tests

* Add nxos state unit tests

* Add tests for replace function

* Bug fixes

* Fix test_check_password_password_encrypted_false test

* Add test_config_nxos_error_ssh test

* remove opts modification in init

* reduce scope of variable to function where it's used

* minor nxos cleanup - raise instead of exit, use named kwargs

* use create_autospec in place of raw mocks

* _init_ssh's raise is now caught by ping

* allow gen_hash to work on any system

* change no_save_config option to save_config

* update set_password to work with updated gen_hash

* passing an invalid algorithm to pycrypto.hash raises

* blacken nxos-related files

* _fallback_gen_hash also works without a password

* remove debugging line, improve error message

* lint and black

* nxos docfix

* remove unused variable

* Review comments addressed

* mark old nxos functions as deprecated

* black

* remove unused variables

* clean up arguments

* simplify save_config logic

* minor doc cleanup

* make sendline with a list of commands reliably work

* Update various doc index files for nxos_upgrade

* Fix a few bugs in nxos proxy and execution modules

* doc indent fix

Co-authored-by: mikewiebe <mwiebe@cisco.com>
Co-authored-by: rallytime <nicole@saltstack.com>
Co-authored-by: Thomas Stoner <tmstoner@cisco.com>
Co-authored-by: tstoner <33665760+tstoner@users.noreply.github.com>
Co-authored-by: Chris Van Heuveln <cvanheuv@cisco.com>
2020-05-04 01:13:07 -07:00
Daniel Wozniak
85fb874e9f
Merge pull request #55206 from brejoc/patch-5
Update to more current SLE version numbers
2020-04-11 23:48:44 -07:00
joshm91
ceb036d39f
Fix typo in installation docs 2020-02-12 17:10:02 +11:00
Wayne Werner
484bc51f4b
Add warnings to a couple of other places 2020-02-10 12:15:40 -06:00
Jochen Breuer
51582f70dd
Merge branch 'master' into patch-5 2020-01-14 17:11:09 +01:00
Jochen Breuer
b0bbb186d2
Removed mention of further SPs
There is now SLE 15 SP2 coming and nothing will change here. Salt
is in the base repos and no repo needs to be added to install Salt.
2020-01-14 17:09:15 +01:00
Daniel Wozniak
12a19dcf94
Merge branch 'master' into 2019_2_1_port_51327 2019-12-16 17:05:16 -07:00
Daniel Wozniak
b564b2266b
Merge pull request #55205 from brejoc/patch-4
openSUSE ships with Salt
2019-12-16 16:44:35 -07:00
Birger J. Nordølum
327cbff102
docs: Add py36-salt to FreeBSD documentation 2019-11-27 20:34:36 +01:00
Dmitry Kuzmenko
73c25fed2c
Merge branch 'master' into 2019_2_1_port_51327 2019-11-15 00:05:56 +03:00
Jochen Breuer
d7d0778ff0
Update to more current SLE version numbers
SLE 15 and SLE 15 SP1 are more current. Also those versions ship with Salt in the base repos. No need to add additional repos. Adding additional repos would actually be harmful, since those would have skipped the openQA checks.
2019-11-05 14:54:47 +01:00
Jochen Breuer
2b9f716099
openSUSE ships with Salt
There is no need to add any repo to install Salt. Actually it would be harmful to use any other repos, since those packages would have skipped the openQA process.
2019-11-05 14:43:15 +01:00
Pedro Algarvio
b8c2e75cf1
Update docs for the configurable branch 2019-10-25 18:29:42 +01:00
rallytime
4a218142a5
Remove support for RAET
Conflicts:
* doc/topics/releases/neon.rst
* requirements/tests.txt
* salt/cli/caller.py
* salt/daemons/test/__init__.py
* salt/daemons/test/test_minion.py
* salt/daemons/test/test_saltkeep.py
* salt/modules/event.py
* salt/modules/raet_publish.py
* salt/transport/__init__.py
* salt/utils/parsers.py
* setup.py
* tests/unit/modules/test_raet_publish.py
2019-10-10 09:46:39 +01:00
Gareth J. Greenaway
ba19679574
Porting PR #51327 to 2019.2.1 2019-09-18 17:41:35 -07:00
Ch3LL
63962b547a
Merge branch '2018.3' into '2019.2'
Conflicts:
  - salt/states/linux_acl.py
  - salt/transport/ipc.py
2019-03-28 11:10:45 -04:00
Alan Cugler
0b1eb00dc4
Replaced test.ping with test.version
Result of issue #52277

Any where `test.ping` still exists in the docs was left
because of the context in those docs.
2019-03-25 12:09:48 -05:00
Ari Maniatis
b70c45c297
Remove salt FreeBSD repo which is now 2 years out of date
The saltstack repository has the 2016 version is current. Its not being updated, but there is a perfectly good port in the FreeBSD tree to use instead. Enhance the documentation on how to install that from binary or source.
2019-03-14 17:40:18 -04:00
Ch3LL
9ada8d9b7f
Merge branch '2018.3' into '2019.2'
Conflicts:
  - salt/transport/zeromq.py
  - tests/unit/modules/test_kubernetesmod.py
  - tests/unit/modules/test_win_file.py
2019-03-14 16:13:54 -04:00