Commit Graph

26328 Commits

Author SHA1 Message Date
Joseph Hall
306150a3ad Merge pull request #10544 from s0undt3ch/hotfix/lint
Lint fixes
2014-02-18 13:06:06 -07:00
Pedro Algarvio
046e54bc46 Remove unused import 2014-02-18 19:56:33 +00:00
Pedro Algarvio
d2f6cab4d2 No dangerous default values. Double to single quotes. 2014-02-18 19:52:38 +00:00
Tom Atkinson
4c87afbdc8 Fix service restart over salt 2014-02-18 20:37:53 +01:00
rallytime
56e89ac1f2 final tests for dnsutil 2014-02-18 12:36:09 -07:00
Thomas S Hatch
0c5af800a1 Fix typo in walkthrough 2014-02-18 12:28:31 -07:00
Samuel M Smith
d2f6ba5910 Allow transaction (CurveCP) basically working now 2014-02-18 12:24:50 -07:00
Thomas S Hatch
7d2d219560 Merge pull request #10539 from rallytime/dnsutil_test
Dnsutil test
2014-02-18 11:13:31 -07:00
Thomas S Hatch
a2a4ead49c Merge pull request #10517 from borgstrom/pyobjects
Add Pyobjects (formerly NaCl) to Salt
2014-02-18 11:12:01 -07:00
rallytime
5d38a2faa3 Merge branch 'develop' of https://github.com/saltstack/salt into dnsutil_test 2014-02-18 10:48:30 -07:00
rallytime
94128532d2 started new dnsutil_test 2014-02-18 10:45:43 -07:00
Thomas S Hatch
90a3ea8997 Merge pull request #10516 from techdragon/bhyve-detection
added bhyve detection - issue 8946
2014-02-18 10:29:45 -07:00
Thomas S Hatch
8c5a2ef12d Merge pull request #10514 from czue/develop
workaround for bad output format dpkg-query command
2014-02-18 10:28:27 -07:00
Thomas S Hatch
0104d8e088 Merge pull request #10537 from gtmanfred/develop
[salt] Pacman shouldn't default to refresh
2014-02-18 10:22:32 -07:00
Daniel Wallace
bfaf95ec62 [salt] Pacman shouldn't default to refresh
Because refreshing requires you to update the entire system and
installing should by default limited to only the package you are
installing.
2014-02-18 11:04:26 -06:00
Pedro Algarvio
2ea19fec85 Merge pull request #10534 from s0undt3ch/develop
Update `bootstrap-salt.sh` to latest version, v2014.02.18
2014-02-18 16:24:19 +00:00
Pedro Algarvio
8e958485b6 Update bootstrap-salt.sh to latest version, v2014.02.18 2014-02-18 15:31:16 +00:00
Erik Johnson
ea5b3a2fd9 Merge pull request #10520 from s0undt3ch/develop
Lint and File lock fixes
2014-02-18 09:20:26 -06:00
Erik Johnson
7a94c0240b Merge pull request #10525 from techhat/pacman
Add comment discussing the dangers of pacman -Sy
2014-02-18 09:01:06 -06:00
Joseph Hall
30dbdaf8ad Add comment discussing the dangers of pacman -Sy 2014-02-18 06:12:03 -07:00
Evan Borgstrom
7e80a8c858 Switch a missed NaCl reference to pyobjects 2014-02-18 07:19:20 -05:00
Evan Borgstrom
fd3a529066 Switch to __name__ when getting the logger 2014-02-18 07:17:33 -05:00
Pedro Algarvio
160c0b0027 Do the additional SunOS checks when trying to lock the file handle. 2014-02-18 09:04:09 +00:00
Pedro Algarvio
70ab55761d Simplify logic 2014-02-18 09:00:03 +00:00
Pedro Algarvio
8a7f085477 Remove unused fcntl checks. 2014-02-18 08:56:59 +00:00
Pedro Algarvio
504b7100e1 Remove unused fcntl check. 2014-02-18 08:42:59 +00:00
Pedro Algarvio
99e62cd29d Add salt.utils.is_fcntl_available()
This helper method does some additional checks if `check_sunos=True` is
passed. The reason behind this check can be read here -> http://goo.gl/159FF8
2014-02-18 08:42:51 +00:00
Pedro Algarvio
7fe34aca53 Add salt.utils.is_sunos 2014-02-18 08:24:35 +00:00
Pedro Algarvio
40072544c9 No short variable names. Remove unused import. 2014-02-18 08:15:38 +00:00
Evan Borgstrom
e80e39032e Support including & extending 2014-02-17 21:31:06 -05:00
techdragon
013e1ab38c added bhyve detection 2014-02-18 10:17:43 +08:00
Pedro Algarvio
aacb35c31c Merge pull request #10515 from s0undt3ch/develop
Lint fixes
2014-02-18 01:18:30 +00:00
Pedro Algarvio
4560891971 Lint fixes.
* No need to define and return `__virtualname__` if not renaming the module. In this case, just return `True`.
* Don't shaddow the buil-in `set`
* Removed logging since it's not being used
2014-02-18 01:16:50 +00:00
Pedro Algarvio
9a59f962eb Lint fixes.
* No need to define and return `__virtualname__` if not renaming the module. In this case, just return `True`.
* Don't shaddow the buil-in `set`
* Add missing CLI example
* Removed logging since it's not being used
2014-02-18 01:13:07 +00:00
Evan Borgstrom
72cb2ab35b Add pyobjects tests 2014-02-17 19:54:56 -05:00
Evan Borgstrom
a3795a7be2 Porting code from "nacl" project into Salt as "pyobjects"
Todo:
* Adapt tests into Salt test framework

See:
* https://github.com/borgstrom/nacl
* http://borgstrom.ca/2014/02/15/building-a-pythonic-interface-to-saltstack-states.html
* https://groups.google.com/forum/#!topic/salt-users/5frdabVwAdE
2014-02-17 19:12:51 -05:00
Cory Zue
067341f579 workaround for bad output format dpkg-query command
fixes the following error trace:

  File "/usr/lib/pymodules/python2.7/salt/state.py", line 1258, in call
    *cdata['args'], **cdata['kwargs'])
  File "/usr/lib/pymodules/python2.7/salt/states/pkg.py", line 421, in installed
    fromrepo=fromrepo, **kwargs)
  File "/usr/lib/pymodules/python2.7/salt/states/pkg.py", line 108, in _find_install_targets
    cur_pkgs = __salt__['pkg.list_pkgs'](versions_as_list=True)
  File "/usr/lib/pymodules/python2.7/salt/modules/apt.py", line 609, in list_pkgs
    [cols[x] for x in (0, 2, 3, 4, 5)]
IndexError: list index out of range
2014-02-17 16:14:48 -06:00
Thomas S Hatch
3016ab134a Merge pull request #10512 from s0undt3ch/hotfix/salt.states.saltmod
[MULTIPLE PRs] salt.states.saltmod
2014-02-17 15:02:52 -07:00
Thomas S Hatch
7207f9c179 Merge pull request #10502 from kadel/doc-fixes
doc: fix references in salt.modules.pkg
2014-02-17 14:55:55 -07:00
Thomas S Hatch
ab2f751f7f Merge pull request #10493 from s0undt3ch/develop
Update to latest bootstrap script. v2014.02.16
2014-02-17 14:55:37 -07:00
Thomas S Hatch
a5f418053a Merge pull request #10484 from stas/develop
Salt ssh will overwrite the minion ID based on gathered data.
2014-02-17 14:55:03 -07:00
Thomas S Hatch
d8a7eab8e0 clean up first person speak 2014-02-17 14:52:38 -07:00
Thomas S Hatch
547b8e897b Merge pull request #10479 from leonardinius/develop
saltstack/salt#9851 salt-ssh fileserver operations support warning
2014-02-17 14:50:23 -07:00
Thomas S Hatch
627d8a4247 Merge pull request #10478 from bechtoldt/fix/debian_ip_bugs
fixing bond and bridge config templating in debian_ip module
2014-02-17 14:49:11 -07:00
Thomas S Hatch
c61690cdcf Merge pull request #10468 from terminalmage/gitfs-mountpoints
Add gitfs "mountpoints" and per-remote config params
2014-02-17 14:48:40 -07:00
Thomas S Hatch
c54208c0d4 Merge pull request #10463 from Stelminator/minion_loop_logic_2014_02_14
MultiMinion loop fixes
2014-02-17 14:47:28 -07:00
Thomas S Hatch
a01bdc1f49 Merge pull request #10456 from basepi/mongovirtual10430
Fixes for the mongodb_user state module, Fixes #10430
2014-02-17 14:45:47 -07:00
Thomas S Hatch
cafd5c66dd Merge pull request #10441 from SaveTheRbtz/flopen
flopen improvements
2014-02-17 14:45:19 -07:00
Thomas S Hatch
5aa2be9c64 Merge pull request #10439 from mgwilliams/cmd
add "creates" kwarg to cmd.run
2014-02-17 14:42:17 -07:00
Thomas S Hatch
bed175826e Merge pull request #10436 from dlanderson/environ_modules
Add state and execution modules for getting/setting salt process environ...
2014-02-17 14:39:38 -07:00