Commit Graph

63400 Commits

Author SHA1 Message Date
Ronald van Zantvoort
1cbf9de261 Small doc fixes to new disk functions 2015-12-21 19:28:12 +01:00
Mike Place
3f324faa07 Merge pull request #29871 from skizunov/develop2
Fixed Windows salt-master memory leaks in logger
2015-12-21 11:10:10 -07:00
Mike Place
031f478070 Merge pull request #29892 from klyr/swift-creds-from-pillar-22988
Read swift credentials from pillar as well
2015-12-21 11:03:32 -07:00
Mike Place
fa31407c0d Merge pull request #29896 from abednarik/virtual_ret_splunk_module
modules.splunk: __virtual__ return err msg.
2015-12-21 11:02:41 -07:00
Mike Place
e0ac1b8b1f Merge pull request #29895 from pass-by-value/aws_wait_for_instance
Do not SSH to the instance if deploy is False
2015-12-21 11:02:24 -07:00
Mike Place
28e54ab23e Merge pull request #29884 from serge-p/patch-7
fix for nfs mounts in _active_mounts_openbsd()
2015-12-21 10:44:57 -07:00
Mike Place
23bffbb623 Merge pull request #29875 from akissa/add-postgres_language-state
Add PostgreSQL Language management functionality
2015-12-21 10:39:46 -07:00
Mike Place
46d023bb9a Merge pull request #29893 from pass-by-value/aws_cloud_volumetype_doc
Add info about VolumeType
2015-12-21 10:37:57 -07:00
Mike Place
207bb5af0c Merge pull request #29830 from terminalmage/issue29064
Optimizations/bugfixes/feature adds for systemd execution module
2015-12-21 10:37:36 -07:00
Mike Place
44683b7c09 Merge pull request #29854 from kraney/boto_lambda
fixed keyword arguments passing.
2015-12-21 10:22:23 -07:00
Mike Place
6445e4a681 Merge pull request #29860 from joegross/fix-subnet_name-support-in-boto_ec2.eni_present
fix subnet_name support in boto_ec2.eni_present
2015-12-21 10:18:40 -07:00
Mike Place
0dbecbb95e Merge pull request #29851 from akissa/fix-various-augeas-bugs-take2
fix various bugs in augeas modules
2015-12-21 10:17:12 -07:00
Thomas S Hatch
2bc5e01fee Merge pull request #29862 from hejeke/2015.12
Fix the issue that ssh connection may timeout when ask for password
2015-12-21 10:15:22 -07:00
Mike Place
25e116f297 Merge pull request #29847 from abednarik/virtual_ret_jenkins_module
modules.jenkins: __virtual__ return err msg.
2015-12-21 10:15:04 -07:00
abednarik
00133cf378 modules.splunk: __virtual__ return err msg.
Updated message in splunk module when return False if python libraries are not installed.
2015-12-21 14:12:18 -03:00
Aditya Kulkarni
622ebf0a49 Do not SSH to the instance if deploy is False 2015-12-21 12:11:07 -05:00
Mike Place
d0f6c28baa Merge pull request #29857 from The-Loeki/patch-1
cpu_baseline: add full=True for older libvirts
2015-12-21 10:10:51 -07:00
Sergey Paramonov
a6dc526211 Update mount.py
Thanks, Mike. re-added line space, please take a look
2015-12-21 11:56:58 -05:00
Mike Place
5ef1250c30 Merge pull request #29864 from abednarik/virtual_ret_win_iis_module
modules.win_iis: __virtual__ return err msg.
2015-12-21 09:47:23 -07:00
Mike Place
d922b3d2ce Merge pull request #29865 from abednarik/virtual_ret_trafficserver_module
modules.trafficserver: __virtual__ return err msg.
2015-12-21 09:47:02 -07:00
Mike Place
e826e42be8 Merge pull request #29868 from abednarik/virtual_ret_openbsdpkg_module
modules.openbsdpkg: __virtual__ return err msg.
2015-12-21 09:45:41 -07:00
Mike Place
543e274e04 Merge pull request #29869 from abednarik/virtual_ret_openbsd_sysctl_module
modules.openbsd_sysctl: __virtual__ return err msg.
2015-12-21 09:45:25 -07:00
Mike Place
fa6b206c80 Merge pull request #29872 from abednarik/virtual_ret_solaris_group_module
modules.solaris_shadow: __virtual__ return err msg.
2015-12-21 09:45:04 -07:00
Mike Place
e5f22961ef Merge pull request #29873 from abednarik/virtual_ret_solaris_user_module
modules.solaris_user: __virtual__ return err msg.
2015-12-21 09:44:46 -07:00
Mike Place
cebb706e09 Merge pull request #29877 from abednarik/virtual_ret_memcached_module
modules.memcached: __virtual__ return err msg.
2015-12-21 09:44:24 -07:00
Mike Place
66bee879a7 Merge pull request #29878 from abednarik/virtual_ret_bigip_module
modules.bigip: __virtual__ return err msg.
2015-12-21 09:43:17 -07:00
Mike Place
a6664e6ed2 Merge pull request #29879 from abednarik/virtual_ret_chassis_module
modules.chassis: __virtual__ return err msg.
2015-12-21 09:42:52 -07:00
Mike Place
626c654dd9 Merge pull request #29887 from akissa/fix-cert_info-exception
fix exception in excution module tls.cert_info
2015-12-21 09:29:16 -07:00
Aditya Kulkarni
61a9293af9 Add info about VolumeType 2015-12-21 11:26:53 -05:00
Julien Barbot
00f35f24f9 Read swift credentials from pillar as well
States using the swift:// URL were not loading swift credentials from
pillars, making them unusable when swift credentials were in pillars.
2015-12-21 16:23:05 +01:00
Andrew Colin Kissa
061f3ea0ae fix exception in excution module tls.cert_info
Fixes #29885
2015-12-21 08:03:37 +02:00
Andrew Colin Kissa
6aa63f3939 add versionadded 2015-12-21 06:46:34 +02:00
Sergey Paramonov
b9ae61be55 fix for nfs mounts in _active_mounts_openbsd()
attempting to run following state
---

/backup:
  mount.mounted:
    - device: joule:/backup
    - fstype: nfs
    - mkmnt: True
    - opts: rw,nodev,nosuid

getting unexpected behavior: 
----------
 
``` 
        ID: /backup
    Function: mount.mounted
      Result: False
     Comment: An exception occurred in this state: Traceback (most recent call last):
                File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1591, in call
                  **cdata['kwargs'])
                File "/usr/local/lib/python2.7/site-packages/salt/states/mount.py", line 120, in mounted
                  active = __salt__['mount.active'](extended=True)
                File "/usr/local/lib/python2.7/site-packages/salt/modules/mount.py", line 184, in active
                  _active_mounts_openbsd(ret)
                File "/usr/local/lib/python2.7/site-packages/salt/modules/mount.py", line 148, in _active_mounts_openbsd
                  'opts': parens[1].split(", "),
              IndexError: list index out of range
     Started: 21:51:47.764708
    Duration: 38.882 ms
```

issue clarification: 
---
function _active_mounts_openbsd() 
expecting all mount points to have DUID   
but NFS mounts do not have DUIDs generated, so line need to be parsed separately  

proposal: 
---
1. check length of parens array 
2. and have a different parsing for lines with no DUIDs  in them

testing same state after change: 
---

```
  Name: /etc/fstab - Function: file.blockreplace - Result: Clean
  Name: /d01 - Function: mount.mounted - Result: Clean
  Name: /stage - Function: mount.mounted - Result: Clean
  Name: /backup - Function: mount.mounted - Result: Changed
```

---
Thanks, 
Sergey.
2015-12-20 23:03:24 -05:00
abednarik
780c057546 modules.chassis: __virtual__ return err msg.
Update __virtual__ return message when proxy is not set.
2015-12-20 15:53:49 -03:00
Andrew Colin Kissa
f921a88a30 lint 2015-12-20 20:41:40 +02:00
abednarik
919d1c59f1 modules.bigip: __virtual__ return err msg.
Update __virtual__ return message when python request is not installed.
2015-12-20 15:36:29 -03:00
abednarik
4480b39750 modules.memcached: __virtual__ return err msg.
Updated return message in __virtual__ when python library is not installed.
2015-12-20 15:29:49 -03:00
Joseph Hall
90b3fcf345 Merge pull request #29876 from abednarik/document_ssh_port_option
Updated Cloud msic section.
2015-12-20 08:38:00 -07:00
Sergey Kizunov
793c0bef75 Fixed Windows salt-master memory leaks in logger
__process_multiprocessing_logging_queue:
- A leak was observed in this process on Windows. On Windows, creating a
new process doesn't fork (copy the parent process image). Due to this, we
need to setup extended logging inside this process. The leak was due to
the temp null and temp logging handlers being active which just store
messages but don't process them. Setting up extended logging removes
those handlers and fixes the leak (as well as properly dealing with
incoming logging messages).

setup_multiprocessing_logging:
- A leak was obversed in processes that used this on Windows. Similar
to above, due to lack of fork, the new process will have the temp null
and temp logging handlers enabled, causing the leak. In this function,
removing those handlers prevents the leak.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2015-12-20 09:05:19 -06:00
abednarik
b7e7bf5a29 Updated Cloud msic section.
Added ssh_port section.
2015-12-20 10:42:58 -03:00
Andrew Colin Kissa
a826720371 Add PostgreSQL Language management functionality
Fixes #29874
2015-12-20 09:37:41 +02:00
abednarik
fd8657a412 modules.solaris_user: __virtual__ return err msg.
Added message when return False if OS is not Solaris ow pwd module is not installed.
2015-12-19 23:28:15 -03:00
abednarik
c5725c171b modules.solaris_shadow: __virtual__ return err msg.
Added message when return False if OS is not Solaris.
2015-12-19 23:10:22 -03:00
abednarik
191ac37af9 modules.openbsd_sysctl: __virtual__ return err msg.
Added message when return False if OS is not OpenBSD.
2015-12-19 12:25:00 -03:00
abednarik
7dbc721273 modules.openbsdpkg: __virtual__ return err msg.
Added message when return False if OS is not OpenBSD.
2015-12-19 12:19:16 -03:00
abednarik
f3497ae65e modules.trafficserver: __virtual__ return err msg.
Added message when return False if traffic_line is not in the path.
2015-12-19 10:03:39 -03:00
abednarik
1af09f63d9 modules.win_iis: __virtual__ return err msg.
Added message when return False if OS is not Windows.
2015-12-19 09:18:29 -03:00
dongyao.liu
185fb5c1f4 Fix the issue that ssh connection may timeout when ask for password 2015-12-19 16:03:41 +08:00
Joe Gross
b6f8fb2ea0 fix subnet_name support in boto_ec2.eni_present 2015-12-18 21:25:49 -08:00
abednarik
335999c6af modules.jenkins: __virtual__ return err msg.
Updated message in jenkins module when return False if python libraries are not installed.
2015-12-18 21:35:49 -03:00