Commit Graph

87080 Commits

Author SHA1 Message Date
Benedikt Werner
77b948b00a
Skip shadow module unit test if not root or no shadow 2017-10-18 19:10:55 +02:00
Mike Place
990a454f99 Merge pull request #44153 from rallytime/merge-develop
[develop] Merge forward from 2017.7 to develop
2017-10-18 10:51:14 -06:00
Nicole Thomas
2261f0b3c5 Merge pull request #44089 from cetanu/patch-1
Catch on empty Virtualbox network addr #43427
2017-10-18 12:15:10 -04:00
Nicole Thomas
8d6e4df752 Merge pull request #44102 from pratik705/add-auto_delete-option-while-attaching_disk
add "auto_delete" option to "attach_disk" and "create_attach_volumes"
2017-10-18 12:13:01 -04:00
Nicole Thomas
255a20f0e7 Merge pull request #44123 from terminalmage/gitfs-singleton
Use one salt.utils.gitfs.GitFS instance per thread
2017-10-18 12:12:25 -04:00
Nicole Thomas
8fdf0fa91f Merge pull request #44144 from b-harper/doc-venv_bin-state
add documentation for venv_bin in virtualenv_mod state
2017-10-18 12:10:18 -04:00
Nicole Thomas
c72deedc14 Merge pull request #44141 from wido/parted-units
parted: Cast boundary to string when checking unit type
2017-10-18 12:09:44 -04:00
garethgreenaway
ae5b58c64b Merge pull request #44146 from rallytime/groupadd-cleanup
Replace salt utils import with correct salt.utils.files path
2017-10-18 07:23:54 -07:00
rallytime
d712031a43
Update to_unicode util references to new stringutils path 2017-10-18 09:44:55 -04:00
rallytime
b8dc018178
Merge branch '2017.7' into 'develop'
Conflicts:
  - salt/modules/opkg.py
  - salt/utils/templates.py
  - tests/unit/templates/test_jinja.py
2017-10-18 09:37:47 -04:00
rallytime
0311c2a4de
Replace salt utils import with correct salt.utils.files path
This fixes a couple of test failures in the develop branch and cleans up
a couple of formatting issues and import ordering.
2017-10-17 17:55:18 -04:00
Mike Place
afcaa0c591 Merge pull request #43913 from twangboy/win_fix_test_jinja
Fix `unit.templates.test_jinja` for Windows
2017-10-17 15:09:04 -06:00
Mike Place
fc5754c6a1 Merge pull request #43917 from twangboy/win_unit_test_pillar
Fix `unit.test_pillar` for Windows
2017-10-17 15:06:45 -06:00
Mike Place
d15de697f8 Merge pull request #44058 from mkoderer/issues/44056
Use correct mac prefix for kvm/qemu
2017-10-17 14:45:56 -06:00
Mike Place
d8e909777d Merge pull request #44014 from garethgreenaway/43961_sls_id_pillar
[develop] Additions to state.sls_id
2017-10-17 14:43:40 -06:00
Mike Place
72e39caed7 Merge branch 'develop' into 43961_sls_id_pillar 2017-10-17 14:43:22 -06:00
Mike Place
73c3581864 Merge pull request #44037 from vernondcole/vagrant-cloud
Vagrant cloud and state modules
2017-10-17 14:36:38 -06:00
Mike Place
4809dd41c0 Merge branch 'develop' into gitfs-singleton 2017-10-17 14:16:28 -06:00
Ben Harper
6823cdcbfa
add documentation for venv_bin in virtualenv_mod state 2017-10-17 19:21:29 +00:00
Nicole Thomas
1701556faf Merge branch 'develop' into add-auto_delete-option-while-attaching_disk 2017-10-17 11:50:35 -04:00
Nicole Thomas
6252f82f58 Merge pull request #44133 from cachedout/fix_paralell_docs
Fix typos in parallel states docs
2017-10-17 11:24:18 -04:00
Wido den Hollander
4c02f6ccd8
parted: Cast boundary to string when checking unit type
It could be that just a number (integer) is passed to as either
start or end to the module which is then already a int.

The endswith() method will then fail because that is a String function.

By casting it to a String while checking we make sure that the function
works.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2017-10-17 17:03:47 +02:00
Mike Place
0d3f5db867 Merge pull request #44135 from timfreund/insert_missing_verb
Insert missing verb in gitfs walkthrough
2017-10-17 08:32:13 -06:00
Marc Koderer
c4d9684a90 Use correct mac prefix for kvm/qemu
Using the private mac range for vms makes it impossible to
distinguish between hypervisors.

Issues #44056

Signed-off-by: Marc Koderer <marc.koderer@sap.com>
2017-10-17 10:46:06 +02:00
Tim Freund
9557504b75
Insert missing verb in gitfs walkthrough 2017-10-16 20:27:56 -04:00
Mike Place
b651ff0534 Merge pull request #44129 from rallytime/merge-develop
[develop] Merge forward from 2017.7 to develop
2017-10-16 16:48:16 -06:00
Mike Place
8d1c1e21f0
Fix typos in paralell states docs 2017-10-16 16:43:10 -06:00
Nicole Thomas
9dacbf69b9 Merge pull request #44127 from terminalmage/salt.utils
Add top-level docstrings to a bunch of salt.utils modules which are missing them
2017-10-16 16:28:27 -04:00
Erik Johnson
3e96225210
Use one salt.utils.gitfs.GitFS instance per thread
This reduces some of the overhead caused by many concurrent fileclient
requests from minions.

Additionally, initializing remotes has been folded into the GitBase
class' dunder init. Instantiating an instance and initializing its
remotes were initially split so that an object could simply be created
with the master opts so that the configuration was loaded and nothing
else, allowing for certain cases (like clearing the cache files) where
we didn't need to actually initialize the remotes. But this both A)
presents a problem when the instance being used is a singleton, as you
don't want to be re-initializing the remotes all the time, and B)
suppressing initialization can be (and is now being) done via a new
argument to the dunder init.
2017-10-16 15:25:29 -05:00
Mike Place
a9700f6061 Merge pull request #44055 from eyj/jid_queue
Activate jid_queue also for SingleMinions to workaround (Backport)
2017-10-16 14:14:51 -06:00
Mike Place
6c3a500beb Merge pull request #44060 from The-Loeki/doc-roster
doc fixes for salt-ssh roster(s) opts
2017-10-16 14:12:40 -06:00
Nicole Thomas
2fba45cd3f Merge pull request #44125 from rallytime/merge-2017.7
[2017.7] Merge forward from 2017.7.2 to 2017.7
2017-10-16 16:02:24 -04:00
Nicole Thomas
68974aa74d Merge pull request #44029 from msummers42/2017.7
addresses issue #43307, disk.format_ to disk.format
2017-10-16 15:59:19 -04:00
Nicole Thomas
d0bbe65ffa Merge pull request #44079 from skizunov/develop2
opkg: Fix usage with pkgrepo.managed
2017-10-16 15:58:12 -04:00
rallytime
54c4be35ae
Update any moved utils references from the merge-forward 2017-10-16 15:47:32 -04:00
Pratik Bandarkar
a685f458ed add "auto_delete" option to "attach_disk" and "create_attach_volumes"
for GCP.

fixes #44101

  - This fix will allow user to specify "auto_delete" option with
    attach_disk or "create_attach_volumes" function
2017-10-16 19:33:48 +00:00
rallytime
c0f16dae74
Merge branch '2017.7' into 'develop'
Conflicts:
  - doc/topics/tutorials/index.rst
  - salt/crypt.py
  - salt/modules/cmdmod.py
  - salt/modules/grains.py
  - salt/pillar/git_pillar.py
  - salt/roster/clustershell.py
  - tests/unit/states/test_augeas.py
  - tests/unit/utils/test_utils.py
2017-10-16 15:26:19 -04:00
Mike Place
4d13e1961f Merge pull request #44119 from rallytime/stale-config-update
Reduce the number of days an issue is stale by 25
2017-10-16 13:07:02 -06:00
Nicole Thomas
22a8253595 Merge pull request #44090 from pratik705/fix-create_attach_volumes_salt-cloud_action-GCP
Fix create_attach_volumes salt-cloud action for gcp
2017-10-16 15:04:21 -04:00
nasenbaer13
4bdd5bbf6b Merge branch '2017.7' into jid_queue 2017-10-16 20:45:29 +02:00
Nicole Thomas
96dc6b0171 Merge pull request #44015 from gtmanfred/develop
convert jinja context to dictionary
2017-10-16 14:39:29 -04:00
Erik Johnson
473fbb18e9
Add top-level docstrings to a bunch of salt.utils modules which are missing them 2017-10-16 13:38:41 -05:00
Nicole Thomas
b13e129c6b Merge pull request #44117 from sahama/patch-1
show_all remove
2017-10-16 14:29:57 -04:00
Nicole Thomas
888e5f51a2 Merge pull request #44121 from benediktwerner/2017.7
Fixed code snippet in unit testing documentation
2017-10-16 14:28:36 -04:00
Nicole Thomas
9fe94d7843 Merge pull request #44098 from twangboy/win_mock_test_parsers
Return multiprocessing queue in LogSetupMock class
2017-10-16 14:14:29 -04:00
Nicole Thomas
413de95df2 Merge pull request #44103 from terminalmage/salt.utils
Complete the salt.utils refactor
2017-10-16 14:12:50 -04:00
rallytime
c4ae4a6b50
Merge branch '2017.7.2' into '2017.7'
Conflicts:
  - doc/topics/releases/2017.7.2.rst
2017-10-16 13:53:13 -04:00
Nicole Thomas
0ee04eaf1d Merge pull request #44118 from rallytime/merge-2017.7
[2017.7] Merge forward from 2016.11 to 2017.7
2017-10-16 13:01:37 -04:00
twangboy
a4e2d8059d
Fix unit.templates.test_jinja for Windows
Fix problem with files that end with new line on Windows
Fix some problems with regex
Fix some unicode conversion issues
2017-10-16 10:41:36 -06:00
Mike Place
33bf0e1733 Merge pull request #44091 from quinot/bug/clustershell-host-addr-confusion
Confusion between host name and address
2017-10-16 10:25:01 -06:00