Bo Maryniuk
c2b5e50d50
Add missing doc info for pressrelease
2017-06-26 14:38:19 +02:00
Mike Place
2841ab330e
Merge pull request #41889 from cachedout/2016_11_to_7
...
Merge forward 2016.11 to 2017.7
2017-06-23 15:13:14 -05:00
Mike Place
871b21c1d8
Merge pull request #15 from whiteinge/load_args_and_kwargs-madness
...
Update _reformat_low to call both parse_input and load_args_and_kwargs
2017-06-23 14:00:10 -05:00
Seth House
e49af86a2e
Update _reformat_low to call both parse_input and load_args_and_kwargs
...
Follow-up to the TODO in #41786 .
2017-06-23 12:17:14 -06:00
Mike Place
15239c6e90
Merge pull request #41916 from terminalmage/remove-gitpython
...
Remove GitPython from dev requirements files
2017-06-23 12:34:28 -05:00
Mike Place
eb2bf865b8
Merge branch '2016_11_to_7' of github.com:cachedout/salt into 2016_11_to_7
2017-06-23 10:51:04 -06:00
Mike Place
5f34fb516b
Merge pull request #14 from terminalmage/merge-2017.7
...
Add building_highstate odict to mock HighState class
2017-06-23 11:50:23 -05:00
Erik Johnson
61870075aa
Add building_highstate odict to mock HighState class
2017-06-23 11:48:00 -05:00
Mike Place
bee68beb8e
Lint fix
2017-06-23 10:18:06 -06:00
Mike Place
00746cafce
Lint fix for win_certutil
2017-06-23 10:11:48 -06:00
Erik Johnson
e178f08d3a
Remove GitPython from dev requirements files
...
This was added in the past because we put git_pillar configuration in
the integration suite's master config file. However, now that git_pillar
is being tested in its own separate way and no longer requires the
git_pillar config to be in the master config file, it has been removed.
This makes GitPython unnecessary in the dev requirements file. The
reason it was there before was mainly to squelch a bunch of critical
errors that would occur every time the test suite would attempt to
compile the git_pillar items and failed if GitPython wasn't installed.
This was more for the benefit of users running the test suite on their
own than for our jenkins setup of course, since we were installing
GitPython on the Jenkins VMs.
2017-06-23 07:17:51 -05:00
Mike Place
8647086de8
Merge branch '2016_11_to_7' of github.com:cachedout/salt into 2016_11_to_7
2017-06-22 15:39:38 -06:00
Mike Place
048befb5fe
Fix lint
2017-06-22 15:36:21 -06:00
Mike Place
b2f7dbd2f0
Merge pull request #13 from terminalmage/merge-2017.7
...
Fix default opts handling
2017-06-22 13:54:32 -05:00
Erik Johnson
2ee43fc743
Fix default opts handling
...
Starting in 2017.7 the dunder dicts are handled differently in unit
tests.
2017-06-22 13:40:40 -05:00
Mike Place
7697d0d1d2
Remove merge conflict line
2017-06-22 12:35:28 -06:00
Mike Place
80cb57e02b
Fix win_certutil merge error
2017-06-22 11:40:56 -06:00
Mike Place
c89cd2a4bf
Merge pull request #41890 from cachedout/locale_doc
...
Locale doc
2017-06-22 12:34:46 -05:00
Mike Place
6a46169605
Merge pull request #12 from terminalmage/merge-2017.7
...
Remove old 2016.11 code accidentally included in merge-forward
2017-06-22 11:39:33 -05:00
Erik Johnson
00e046bc42
Remove old 2016.11 code accidentally included in merge-forward
2017-06-22 11:37:39 -05:00
Mike Place
d12539f3c4
Merge pull request #41892 from UtahDave/nitrogenlocal
...
A couple small bugfixes.
2017-06-22 11:17:25 -05:00
Mike Place
df5a112a9b
Merge pull request #41904 from twangboy/docs_win_add_firewall
...
Fix anchor to _linux-iptables
2017-06-22 11:16:23 -05:00
twangboy
d49bfd02a4
Fix anchor to _linux-iptables
2017-06-22 09:46:29 -06:00
Mike Place
3bc07d2f7c
Line breaks
2017-06-22 09:24:55 -06:00
David Boucha
fd4fdf4952
remove trailing whitespace
2017-06-21 18:37:17 -06:00
David Boucha
64f9cc2409
add put_file
2017-06-21 17:14:21 -06:00
David Boucha
f2129c3c37
add missing function argument
2017-06-21 17:14:20 -06:00
David Boucha
1d39790e9c
add missing function argument
2017-06-21 17:14:19 -06:00
Mike Place
679040c04b
Locale doc
2017-06-21 16:06:59 -06:00
Mike Place
481797b147
Merge branch '2016.11' into '2017.7'
2017-06-21 15:49:39 -06:00
Mike Place
2e080a2949
Merge pull request #39514 from flavio/kubernetes-modules
...
Introducing the kubernetes modules
2017-06-21 16:30:07 -05:00
Mike Place
6e9e0714f0
Merge forward from 2016.11 to 2017
2017-06-21 14:51:02 -06:00
Flavio Castelli
043865bbcb
kubernetes: port k8s.folder_absent
...
Achieve complete feature parity between k8s and kubernetes states.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 21:56:17 +02:00
Flavio Castelli
64e37b6e20
k8s: show deprecation warnings
...
Warn users the k8s state module is going to be deprecated.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 21:56:17 +02:00
Flavio Castelli
f87fea0245
kubernetes: add node labels support
...
Support management of node labels through salt states.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 21:56:17 +02:00
garethgreenaway
4a326444fe
Merge pull request #41882 from Ch3LL/fix_crypt_test
...
Add pycryptodome to crypt_test
2017-06-21 12:51:09 -07:00
Flavio Castelli
ea02960d0d
kubernetes: fix error messages
...
* Ensure enough information are provided when a failure happens.
* Ensure the style is consistent.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:23 +02:00
Flavio Castelli
a64d8c1449
kubernetes: handle pod resources from state files
...
Allow handling of pod resources from state files.
Note well: right now it's not possible to have
`pod_present` replace an existing pod because the
`replace_namespaced_pod` API returns a validation error.
Only certain fields of the pod spec can be changed in a live
fashion. Sending more fields will cause a validation error.
Despite my efforts I wasn't able to get it to work. I fear
this is probably another merge strategy issue caused by the
kubernetes salt cliet (by default a too aggressive one is picked).
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:23 +02:00
Flavio Castelli
659049a3c6
kubernetes module: code refactoring
...
Use list comprehension, ensure only names of resources
are returned by the various "list all resources of this type"
methods.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:22 +02:00
Flavio Castelli
c8714a9be2
kubernetes: handle ConfigMap resources
...
Allow kubenetes' ConfigMap resources to be managed by salt
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:22 +02:00
Flavio Castelli
6e6a393c95
Fix creation of certain k8s secrets
...
Kubernetes secrets are internally represented as a dictionary
with strings as data type for both keys and values.
Ensure the objects we send to the API server respect this requirement
otherwise an internal error will take place on the server.
Also rely on kubernetes response to show the data changed, this fixes
issues when creating secrets from local files.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:22 +02:00
Flavio Castelli
4e94aa7831
Fix states messages on creation of resources
...
Show the "resource has beeen recreated" message only when that actually
happened.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:22 +02:00
Flavio Castelli
52ea394323
Minor fixes
...
Fix linting complains and typos.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:22 +02:00
Flavio Castelli
dc569a730b
Respect code style
...
Use single quotes instead of double ones for strings.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:22 +02:00
Flavio Castelli
16372ef2bc
Manage kubernetes secret resource
...
Allow handling of Kubernetes secrets
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:22 +02:00
Flavio Castelli
797aa469e0
kubernetes: handle namespaces
...
Allow handling of kubernetes namespaces resources
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:21 +02:00
Flavio Castelli
45f40c35b6
kubernetes module: add show node feature
...
Show node details
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:21 +02:00
Flavio Castelli
f4ee18f610
kubernetes module: handle secrets
...
Add the code required to handle kubernetes secrets
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-21 20:56:21 +02:00
Pablo Suárez Hernández
6de2508c92
Adding new methods, some refactor and issues fixed
...
- New functions added to execution module:
* kubernetes.deployments
* kubernetes.services
* kubernetes.pods
* kubernetes.show_pod
* kubernetes.delete_pod
- Allows override default k8s API settings with custom values.
- Improves exception handling.
- Documentation fixes.
- Some imports refactor.
- pylint fixes.
2017-06-21 20:56:21 +02:00
Flavio Castelli
58568282be
Fix pylint issues
2017-06-21 20:56:21 +02:00