Commit Graph

63865 Commits

Author SHA1 Message Date
Mike Place
76a8f71a0d Merge pull request #30009 from abednarik/virtual_ret_netbsd_sysctl_module
modules.netbsd_sysctl: __virtual__ return err msg.
2015-12-28 08:30:39 -07:00
Mike Place
5889daf19c Merge pull request #30010 from abednarik/virtual_ret_nova_module
modules.nove: __virtual__ return err msg.
2015-12-28 08:29:38 -07:00
Mike Place
57ea09e1a7 Merge pull request #30011 from abednarik/virtual_ret_nspawn_module
modules.nspawn: __virtual__ return err msg.
2015-12-28 08:29:24 -07:00
Mike Place
6112c0b513 Merge pull request #30012 from abednarik/virtual_ret_omapi_module
modules.omapi: __virtual__ return err msg.
2015-12-28 08:29:12 -07:00
Mike Place
bd837feedc Merge pull request #30021 from akissa/fix-typo-in-pillar-mysql
fix spelling typo in pillar mysql
2015-12-28 08:22:38 -07:00
Mike Place
b871ce5310 Merge pull request #30022 from gqgunhed/winrepo_typo
Two minor typos fixed
2015-12-28 08:22:24 -07:00
Mike Place
1a114658ba Merge pull request #30023 from abednarik/virtual_ret_gpg_module
modules.gpg: __virtual__ return err msg.
2015-12-28 08:22:03 -07:00
Mike Place
d1363ba2de Merge pull request #30024 from abednarik/virtual_ret_netaddress_module
modules.netaddress: __virtual__ return err msg.
2015-12-28 08:21:57 -07:00
Mike Place
4b8ac20d45 Merge pull request #30026 from alprs/fix-at_without_tag_job
states.at: fix wrong variable being used
2015-12-28 08:21:23 -07:00
Mike Place
2496a05a39 Merge pull request #30027 from mephi42/osarch-rpm-redhat
Determine osarch using rpm on all RedHat derivatives
2015-12-28 08:20:43 -07:00
Stephen D. Spencer
c450db1f9f pep8 2015-12-28 10:07:18 +00:00
mephi42
c557008e24 Determine osarch using rpm on all RedHat derivatives 2015-12-28 12:59:09 +03:00
Stephen D. Spencer
e0da7cddf6 modules.pip:
adjust (actual) current directory bits

tests.unit.modules.pip_test:
    adjust mock's expectations of cwd=None always being passed (?)
2015-12-28 09:37:39 +00:00
Andreas Lutro
c0fe9c09bd states.at: fix wrong variable being used 2015-12-28 10:32:24 +01:00
Stephen D. Spencer
84031b6ce0 additional integration tests to verify chained requirements work
properly when used in a list of requirements files
2015-12-28 09:30:19 +00:00
abednarik
3582be2db3 modules.netaddress: __virtual__ return err msg.
Updated message when netaddr library is not installed.
2015-12-27 19:50:32 -03:00
abednarik
32d29c7fd0 modules.gpg: __virtual__ return err msg.
Updated message when gpg binary is not in the path.
2015-12-27 19:44:59 -03:00
Gunther Stengl
a052ff016e fixed minor typos and a :ref: link
1.) closed the tag for hyperlink.
2.) added two full stops.
2015-12-27 15:20:18 +01:00
Gunther Stengl
e47db1a076 Merge remote-tracking branch 'refs/remotes/saltstack/2015.8' into winrepo_typo 2015-12-27 15:17:54 +01:00
Gunther Stengl
0c4c8b9b5c Merge remote-tracking branch 'refs/remotes/saltstack/2015.8' into 2015.8 2015-12-27 15:08:32 +01:00
Andrew Colin Kissa
2e836a3f75 postgres_privileges skeleton 2015-12-27 12:01:20 +02:00
Andrew Colin Kissa
e1473c5f6a fix spelling typo in pillar mysql 2015-12-27 11:31:02 +02:00
Andrew Colin Kissa
ae9124c2b8 refactor sqlite3 pillar configuration as
keys under pillar are overwritten by pillar
data
2015-12-27 11:27:07 +02:00
Stephen D. Spencer
dce832fa81 pep8 adjustments 2015-12-26 23:08:15 -06:00
Stephen D. Spencer
878def94fd pip,requirements filej chain support + requirements list arg support
modules.pip:
 . `requirements` argument now properly supports requirements file
 chaining by default--`no_chown` not required)
 . `requirements` argument can be formed as a list
 . `requirements` files can still be formed as a comma-delimited list
 . both list structures support requirements file chaining

states.virtualenv_mod:
 . had to give states.virtualenv.managed() a little bit of attention to
 provide a cwd argument for modules.pip.installed().  This is done via
 os.path.dirname(os.path.abspath(requirements)) if a requirements
 argument is present

 tests.integration.modules.pip:
    . added:
        test_requirements_as_list__sans_no_chown___absolute_file_path
        test_requirements_as_list__sans_no_chown___non_absolute_file_path
        test_chained_requirements__sans_no_chown___absolute_file_path
        test_chained_requirements__sans_no_chown___non_absolute_file_path
    . all tests passed before commit
2015-12-26 21:30:27 -06:00
Andreas Lutro
4c9d893f98 change how alternatives states check for installed 2015-12-26 22:48:29 +01:00
Andreas Lutro
75eb4511d3 properly normalize locales in locale.gen_locale
this fixes a problem where locale.gen_locale "en_US.UTF-8" would
constantly try adding a new locale instead of just uncommenting and
generating the existing "en_US.UTF-8 UTF-8" locale, because the charset
at the end doesn't get appended.
2015-12-26 22:32:29 +01:00
Andreas Lutro
5799729aee locale module: don't escape the slash in \n
this would cause the literal string "en_US.UTF8\n" to be appended to the
locale file.
2015-12-26 21:50:48 +01:00
abednarik
c3dc91d48c modules.omapi: __virtual__ return err msg.
Updated return message in virtual when pypureomapi python library is not available..
2015-12-26 11:36:38 -03:00
abednarik
396755d8ee modules.nspawn: __virtual__ return err msg.
Updated return message in virtual when system was not booted with systemd.
2015-12-26 11:31:25 -03:00
Jorge Schrauwen
e1445d42e9 update unit tests for new error messages 2015-12-26 10:28:25 +00:00
Jorge Schrauwen
d83a5c8d71 better error handling for zfs.snapshot, in preperation for a zfs state module 2015-12-26 10:21:53 +00:00
Jorge Schrauwen
a6f01c54a5 better error handling and allow for multiple tags in zfs.release, in preperation for a zfs state module 2015-12-26 10:12:34 +00:00
Jorge Schrauwen
24d1037db7 better error handling and allow for multiple tags in zfs.hold, in preperation for a zfs state module 2015-12-26 10:07:48 +00:00
Jorge Schrauwen
648dfd737e doc fixes for zfs.get 2015-12-26 09:54:09 +00:00
Jorge Schrauwen
6003791cbd minor improvement to zfs.exists, now takes a type argument (in preperations for zfs state module) 2015-12-26 09:43:55 +00:00
abednarik
1cd4f04ee7 modules.nove: __virtual__ return err msg.
Updated return message in virtual when nove is not installed.
2015-12-25 20:37:32 -03:00
abednarik
7e11396cbb modules.netbsd_sysctl: __virtual__ return err msg.
Updated return message in virtual when system is not NetBSD.
2015-12-25 20:31:19 -03:00
Stephen D. Spencer
61aeb3c8b3 extends functionality to provide requirements chaining for
modules.pip._process_requirements()

This patch does not change existing functionality other than it now does
the Right Thing when presented with a requirements file using the `-r`
(include) directive.

    . add cwd argument to _process_requirements() signature for
    providing the source directory for the targeted requirements file

    . execute recursive scan of requirements file(s) for `-r` directives

    . replace salt.utils.mkstemp call with tempfile.mkdtemp call to
    provide temporary directory for requirements files

    . copy and chown requirements chain to temp directory
2015-12-25 09:08:50 -06:00
Sergey Paramonov
33c230afda Update pw_group.py
adding support for DragonflyBSD into pw_group.py
2015-12-24 13:06:03 -05:00
Sergey Paramonov
e798c06fd8 Update pw_user.py
adding pw_user module support for DragonFly BSD
2015-12-24 13:01:09 -05:00
Marno
72a5f6b554 Update documentation for vmware driver 2015-12-24 18:48:19 +01:00
Marno
e12cb0458b Fix copy/paste error 2015-12-24 17:20:02 +01:00
Marno
1095598070 configurable thin_provision option 2015-12-24 17:19:01 +01:00
Marno
f8e9064062 Add new hard disks as thin provisioned 2015-12-24 17:04:40 +01:00
B M Corser
71a79beca2 Web editor isn't vim :) 2015-12-24 15:18:03 +00:00
B M Corser
e18887550c What I ended up using to debug CherryPy SSE
Previous example didn't parse the JSON out
2015-12-24 15:17:16 +00:00
abednarik
73f0564bce modules.linux_ip: __virtual__ return err msg.
Added message when return False if system is not supported or ip binary is not in the path.
2015-12-24 09:37:48 -03:00
Andreas Lutro
03ceaf103b add documentation about omitting state modules in requisites 2015-12-24 13:07:44 +01:00
abednarik
f75a4530d5 modules.ldapmod: __virtual__ return err msg.
Added message when return False if ldap config is not set.
2015-12-24 09:02:26 -03:00