Commit Graph

13731 Commits

Author SHA1 Message Date
Emile 'iMil' Heitor
bd5add027f Removed salt.modules.cmdmod import, use os.popen() instead as we don't have access to __salt__ here 2013-05-23 18:54:47 +02:00
Joseph Hall
d8e85f0935 Merge pull request #5216 from faust/file-state-doc
A little fix in "file state" documentation
2013-05-23 05:12:39 -07:00
faust
5a2f7a35b2 A little fix in "file state" documentation 2013-05-23 12:14:48 +02:00
Thomas S Hatch
7ce7372999 Merge pull request #5214 from faust/iptables-gentoo
Added correct path for Gentoo iptables config file.
2013-05-23 01:52:19 -07:00
faust
90af42d759 Added correct path for Gentoo iptables config file.
Gentoo also have a service to enforce iptables rules, maybe you can consider to handle it in some way.
I would have done that by myself, but this module looks to be still under heavy development and I don't want to create new issues.
2013-05-23 09:40:16 +02:00
faust
b4f2e56815 Added fall back to "webrsync" in case of failure of "rsync" Portage synchronization. Added support for GPG signed Portage snapshot ("webrsync-gpg" feature).
"emerge-delta-webrsync" is also supported and preferred.
This code require #5198
2013-05-23 09:02:41 +02:00
Thomas S Hatch
85a8deb3ad Merge pull request #5204 from basepi/missingsls5048
Output an error if no matching sls file is found, Fix #5048
2013-05-22 22:26:32 -07:00
Thomas S Hatch
67b1d33ea1 Merge pull request #5206 from l2ol33rt/develop
Adding argument passing to cmd.script state
2013-05-22 22:18:04 -07:00
Pedro Algarvio
5e0bdb2c09 Merge pull request #5208 from s0undt3ch/hotfix/yumpkg-fix
Replace `rpmUtils.arch.getBaseArch()` with `rpmUtils.arch.getCanonArch()`
2013-05-22 22:06:44 -07:00
Thomas S Hatch
0e71e34763 Merge pull request #5207 from shadowfax-chc/mdadm-shadowing-fix
Fixed shadowing built-in in mdadm module. Ref #5085
2013-05-22 21:51:53 -07:00
Thomas S Hatch
921cc3b47f Merge pull request #5205 from shadowfax-chc/npm-fix
Fixed issue with npm.install for npm>=1.2.21.
2013-05-22 21:39:17 -07:00
Pedro Algarvio
1e3ffbbd49 Replace rpmUtils.arch.getBaseArch() with rpmUtils.arch.getCanonArch().
According to the `rpmUtils.arch` source code, when no argument is passed to `rpmUtils.arch.getBaseArch()`, the result should be the same as `rpmUtils.arch.getCanonArch()`. However, in CentOS 6.4 with yum-3.2.29-40.el6.centos.noarch:

```python
>>> import rpmUtils.arch
>>> rpmUtils.arch.getBaseArch()
'i386'
>>> rpmUtils.arch.getBaseArch(None)
'i386'
>>> rpmUtils.arch.getCanonArch()
'i686'
>>>
```

This little thing made the `pkg.latest` state fail, and also the `pkg.latest_version` module function.
2013-05-23 03:35:57 +01:00
shadowfax-chc
a48ae43976 Fixed shadowing built-in in mdadm module. Ref #5085 2013-05-22 21:42:22 -04:00
Robert Hernandez
96e7bbbacb Merge remote branch 'upstream/develop' into cmd_script 2013-05-22 17:42:10 -07:00
Robert Hernandez
cf0fabf654 Added argument passing to cmd.script state 2013-05-22 17:41:29 -07:00
shadowfax-chc
9f974d6407 Fixed issue with npm.install for npm>=1.2.21. Closes #5189 2013-05-22 20:27:29 -04:00
Colton Myers
f82654651a Make the error message more readable 2013-05-22 16:42:31 -06:00
Colton Myers
6a1db06edc Fix some pep8 2013-05-22 16:40:49 -06:00
Colton Myers
aa2a474acc Output an error if no matching sls file is found, Fix #5048 2013-05-22 16:39:45 -06:00
Emile 'iMil' Heitor
3c06d50dbe Cleaner approach to find out XenAPI on Debian systems 2013-05-22 23:23:00 +02:00
Joseph Hall
a53109b31c Merge pull request #5203 from virtua-network/zfs_module
modules/zfs : add module for zfs command
2013-05-22 14:14:10 -07:00
rballestrini
13ba53090d Cleaned up _run_checks()'s docstring and return dictionaries comments
modified:   cmd.py
2013-05-22 16:52:36 -04:00
mguegan
e776b3d531 modules/zfs : add module for zfs command
This first version is very basic and partially handles the 'list'
argument.
2013-05-22 22:03:26 +02:00
rballestrini
df5f3b17b9 Resolve bug where states/cmd.py _run_check() function was mutating cmd_kwargs (using pop function) which caused subsequent cmd's to runas/user = None (default user) instead of specified user.
unless and onlyif break runas user cmd.[run, script, call]

We will supply a patch to resolve
	modified:   cmd.py
2013-05-22 15:29:01 -04:00
faust
2fd45b4177 added functions for FEATURES variable 2013-05-22 20:53:26 +02:00
faust
5a14b77f5e added "--ask n" to eix-sync (see #5148) 2013-05-22 20:36:24 +02:00
Joseph Hall
5503862068 Merge pull request #5196 from basepi/virtrunner5120
Improve python3 compatibility with next() built-in
2013-05-22 10:29:33 -07:00
Colton Myers
101811a734 Improve python3 compatibility with next() built-in 2013-05-22 11:15:54 -06:00
Emile 'iMil' Heitor
b8d32952a6 Merge contextlib fix with Wheezy fix 2013-05-22 16:14:10 +02:00
Emile 'iMil' Heitor
4a06a0b54b useless else 2013-05-22 16:12:29 +02:00
Emile 'iMil' Heitor
efbfbbace8 Nasty loop for wheezy XenAPI location 2013-05-22 16:12:09 +02:00
Thomas S Hatch
1e50ec0537 Don't import direct function in modules so they are not exposed 2013-05-22 05:34:30 -06:00
Thomas S Hatch
3552bd968f Merge pull request #5188 from geoffgarside/freebsd-xen
Add Xen DomU detection for FreeBSD.
2013-05-22 01:12:26 -07:00
Geoff Garside
a11ba940a4 Ensure mount options in remount come before special + node.
Fixes calls to mount where an fstype is specified.
2013-05-22 08:13:19 +01:00
Thomas S Hatch
d9e27a165b Merge pull request #5184 from s0undt3ch/develop
Work around `__file__` `NameError` thrown by `bbfreeze`. Fixes #5172.
2013-05-21 22:24:03 -07:00
Thomas S Hatch
46980febac Merge pull request #5183 from sibsibsib/develop
fixed: TypeError in pkg._find_install_targets when version is None
2013-05-21 22:22:41 -07:00
Thomas S Hatch
fc105cbe55 Merge pull request #5182 from basepi/virtrunner5120
Use .next() instead of dummy loop, Fix #5120
2013-05-21 22:21:44 -07:00
Thomas S Hatch
c95d73ccd7 Merge pull request #5169 from iMilnb/develop
Implemented XenAPI backend as a 'virt' __virtual__ module
2013-05-21 22:19:31 -07:00
David Boucha
234c2bd932 Merge pull request #5185 from UtahDave/develop
Get proper Windows full pkg name
2013-05-21 18:48:14 -07:00
David Boucha
532f9afcc6 Get proper Windows full pkg name 2013-05-21 19:47:12 -06:00
Pedro Algarvio
6996afaf46 Work around __file__ NameError thrown by bbfreeze. Fixes #5172. 2013-05-22 02:00:44 +01:00
sib
3f5b369b65 fixed: TypeError in pkg._find_install_targets when version is None 2013-05-21 21:44:13 -03:00
Colton Myers
757ab836ff Fix my stupidity (leftover :) 2013-05-21 18:14:19 -06:00
Colton Myers
001373052e Use .next() instead of dummy loop, Fix #5120 2013-05-21 18:01:21 -06:00
David Boucha
706566a944 Merge pull request #5181 from UtahDave/develop
add missing globals for Windows stuff.
2013-05-21 16:58:25 -07:00
David Boucha
42ecd4295b add missing globals 2013-05-21 17:57:43 -06:00
David Boucha
70c2e56425 Merge pull request #5180 from UtahDave/develop
Make pkg state work with Windows packages
2013-05-21 16:56:42 -07:00
Pedro Algarvio
0aeb2af20f Add yum to freezer includes if we can actually freeze it, ie, is it available? 2013-05-22 00:45:54 +01:00
Pedro Algarvio
39631427b4 Double to single quotes. 2013-05-22 00:36:31 +01:00
David Boucha
916e3f02e4 Make pkg state work with Windows packages 2013-05-21 17:23:30 -06:00