Commit Graph

731 Commits

Author SHA1 Message Date
denza
522cc4cee6 Doc update, ref should be used instead of doc 2017-12-28 23:13:57 +01:00
denza
3407b272c0 ProfitBricks CloudAPI v4 updates 2017-12-22 05:38:46 +01:00
Daniel Wallace
0568acf2f7
clean up global docs 2017-12-05 16:20:58 -07:00
Daniel Wallace
f7d182871e
remove openstack driver 2017-12-05 16:09:30 -07:00
BadgerOps
efc86b0eba fixed saltify documentation to refer to 'driver' instead of 'provider' in provider example 2017-12-05 10:38:53 -07:00
Vernon Cole
51a15cb2fc
try to ping node before Wake on Lan 2017-11-06 10:56:41 -07:00
Federico Pires
e7aebf46ce Support softlayer dedicated host in salt-cloud.
Update docs as well.
2017-10-25 10:58:12 -03:00
Vernon Cole
b7c0182d93
correct and clarify documentation 2017-10-20 09:24:26 -06:00
Vernon Cole
cea457efa0
more better documentation, fix parameter handling 2017-10-19 20:14:07 -06:00
Vernon Cole
d3769b3568
add saltify wake-on-lan and document it 2017-10-19 20:14:07 -06:00
Vernon Cole
805d5106ed
remove references to salt-api from docs 2017-10-18 10:50:47 -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
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
Erik Johnson
877abb89d0
Complete the salt.utils refactor
This moves the remaining 30 functions from salt.utils to new locations.
2017-10-15 09:43:31 -05:00
garethgreenaway
22dbed1e45 Merge branch 'develop' into vagrant-cloud 2017-10-13 13:08:50 -07:00
Nicole Thomas
0238a6d713 Merge pull request #44061 from Shinzu/develop
Add option to eagerly scrub the disk
2017-10-13 09:57:02 -04:00
Vernon Cole
42c0c6e6ef
lint and documentation fixes 2017-10-12 13:11:12 -06:00
Markus
820add5551
Added version tag 2017-10-12 20:30:55 +02:00
Markus Wyrsch
911ee5f361
Add option to eagerly scrub the disk 2017-10-12 13:43:27 +02:00
Ken Koch
067d4a5dd2 change tags to list based in config 2017-10-11 21:14:27 -04:00
Vernon Cole
4cdb04b409
documentation for vagrant cloud & state 2017-10-11 04:49:47 -06:00
rallytime
788ad0609a
Merge branch '2016.11' into '2017.7'
No conflicts.
2017-10-10 16:34:52 -04:00
Sébastien Santoro
15b8b8a9f4
Fix typo in salt-cloud scaleway documentation
s/scalewa/scaleway
2017-10-04 23:23:00 +00:00
Ken Koch
57a624d86b Add support for tagging newly created DigitalOcean droplets.
Signed-off-by: Ken Koch <kkoch986@gmail.com>
2017-10-01 07:53:07 -04:00
Daniel Wallace
3bae894306
digitalocean should be one word.
Everything on their webpage is a reference to DigitalOcean
2017-09-19 12:47:16 -06:00
Steven
e025b0cc92 Merge branch 'develop' into update_azurearm 2017-08-23 00:22:33 +10:00
rallytime
6ca3607770 Merge branch '2017.7' into 'develop'
Conflicts:
  - salt/engines/slack.py
  - salt/modules/win_pkg.py
  - salt/utils/versions.py
2017-08-18 09:28:26 -04:00
Nicole Thomas
fb8d6594da Merge pull request #41983 from vernondcole/enhancement/saltify_d
flesh out saltify driver
2017-08-17 10:26:53 -04:00
rallytime
8a0f948e4a Merge branch '2016.11' into '2017.7'
Conflicts:
  - salt/utils/versions.py
  - tests/unit/modules/test_boto_elb.py
  - tests/unit/modules/test_boto_secgroup.py
  - tests/unit/states/test_boto_vpc.py
2017-08-17 09:10:31 -04:00
aajdinov
d365888489 Initial commit of oneandone salt cloud driver. 2017-08-17 08:03:01 +00:00
Vernon Cole
2a538f3bf4 Merge branch 'develop' into enhancement/saltify_d 2017-08-16 18:15:37 -06:00
Denys Havrysh
44ed53b1df [DOCS] Fix link to Salt Cloud Feature Matrix 2017-08-16 10:26:45 +03:00
amalleo25
4e46c968e6 Update joyent.rst
Missing colon in example cloud.profiles.d config file.
2017-08-14 14:35:50 -04:00
amalleo25
559a2d448c Update joyent.rst
Missing colon in example cloud.profiles.d config file.
2017-08-10 23:08:38 -04:00
Steven Joseph
50f1691cd8 Update documentation for azure arm dependencies 2017-08-10 13:19:45 +10:00
Erik Johnson
3184168365 Use explicit unicode strings + break up salt.utils
This PR is part of what will be an ongoing effort to use explicit
unicode strings in Salt. Because Python 3 does not suport Python 2's raw
unicode string syntax (i.e. `ur'\d+'`), we must use
`salt.utils.locales.sdecode()` to ensure that the raw string is unicode.
However, because of how `salt/utils/__init__.py` has evolved into the
hulking monstrosity it is today, this means importing a large module in
places where it is not needed, which could negatively impact
performance. For this reason, this PR also breaks out some of the
functions from `salt/utils/__init__.py` into new/existing modules under
`salt/utils/`. The long term goal will be that the modules within this
directory do not depend on importing `salt.utils`.

A summary of the changes in this PR is as follows:

* Moves the following functions from `salt.utils` to new locations
  (including a deprecation warning if invoked from `salt.utils`):
  `to_bytes`, `to_str`, `to_unicode`, `str_to_num`, `is_quoted`,
  `dequote`, `is_hex`, `is_bin_str`, `rand_string`,
  `contains_whitespace`, `clean_kwargs`, `invalid_kwargs`, `which`,
  `which_bin`, `path_join`, `shlex_split`, `rand_str`, `is_windows`,
  `is_proxy`, `is_linux`, `is_darwin`, `is_sunos`, `is_smartos`,
  `is_smartos_globalzone`, `is_smartos_zone`, `is_freebsd`, `is_netbsd`,
  `is_openbsd`, `is_aix`
* Moves the functions already deprecated by @rallytime to the bottom of
  `salt/utils/__init__.py` for better organization, so we can keep the
  deprecated ones separate from the ones yet to be deprecated as we
  continue to break up `salt.utils`
* Updates `salt/*.py` and all files under `salt/client/` to use explicit
  unicode string literals.
* Gets rid of implicit imports of `salt.utils` (e.g. `from salt.utils
  import foo` becomes `import salt.utils.foo as foo`).
* Renames the `test.rand_str` function to `test.random_hash` to more
  accurately reflect what it does
* Modifies `salt.utils.stringutils.random()` (née `salt.utils.rand_string()`)
  such that it returns a string matching the passed size. Previously
  this function would get `size` bytes from `os.urandom()`,
  base64-encode it, and return the result, which would in most cases not
  be equal to the passed size.
2017-08-08 13:33:43 -05:00
vernoncole
e970b0623a flesh out saltify driver
(cherry picked from commit 0a730fb)
2017-08-07 10:21:48 -06:00
vernoncole
32ebe90fa4 make suggested changes to docs
(cherry picked from commit 25ca2a8)
2017-08-07 10:21:48 -06:00
vernoncole
681d2cd4bc manual merge of two conflicts 2017-08-07 10:21:48 -06:00
Alek Tant
2f9645c0d0 Merge branch 'develop' into patch-1 2017-07-31 21:17:13 -04:00
Alek Tant
1729cc2919 Update libvirt.rst
The libvirt-python package is required to run salt-cloud against libvirt/KVM hosts. If it is not installed on the machine running salt-cloud, the crytic error below is all there is to go by:
```
[WARNING ] The cloud driver, 'libvirt', configured under the 'hagrid' cloud provider alias, could not be loaded. Please check your provider configuration files and ensure all required dependencies are installed for the 'libvirt' driver.
In rare cases, this could indicate the 'libvirt.get_configured_provider()' function could not be found.
Removing 'libvirt' from the available providers list
```
2017-07-30 18:33:47 -04:00
rallytime
6342971eca Add a "preflight_cmds" option to salt-cloud
This option allows users to specify a list of shell commands that should
be executed on the VM right before the bootstrap script runs (or whatever
deploy script is set).
2017-07-27 11:43:58 -06:00
Mike Place
7bc8b0eb85 Merge pull request #42254 from StackPointCloud/profitbricks_fixes
Minor error message improvement and documentation fix
2017-07-25 15:28:21 -05:00
nikolas
9d8715c984 Update link to fedora deploy script
salt-cloud is now in the main salt repo
2017-07-24 16:36:38 -04:00
rallytime
7aa31ff030 Merge branch '2016.11' into '2017.7'
Conflicts:
  - salt/grains/core.py
  - salt/modules/git.py
  - salt/modules/pillar.py
  - salt/states/saltmod.py
  - salt/states/user.py
  - tests/integration/states/handle_iorder.py
2017-07-18 09:05:43 -06:00
rallytime
f59ecb7ffe Merge branch '2017.7' into 'develop'
Conflicts:
  - salt/executors/sudo.py
2017-07-18 08:57:55 -06:00
Mike Place
cb030114ec Merge branch 'develop' into profitbricks_fixes 2017-07-12 16:33:50 -05:00
SaltyCharles
2ff1d814b2 fix typo 2017-07-12 12:26:53 -07:00
Nicole Thomas
5f01dccf8f Merge pull request #42214 from gtmanfred/develop
allow not verifying ssl winrm saltcloud
2017-07-11 17:33:21 -06:00
Thomas Dutrion
c31ded341c Remove duplicate instruction in Openstack Rackspace config example 2017-07-11 16:01:15 -06:00