Commit Graph

172 Commits

Author SHA1 Message Date
Pedro Algarvio
8c14e211b7 Fix some missing variables and imports. 2013-11-14 18:18:51 +00:00
Pedro Algarvio
2c53c11793 Add support to download the latest stable bootstrap script.
If we're not installing under Windows, provide the same features salt-cloud had at install time before the merge.
2013-11-14 18:06:12 +00:00
Pedro Algarvio
9e5ba8c45f Another missing comma. 2013-11-14 08:22:42 +00:00
Pedro Algarvio
5e76d602ea Add some missing commas. 2013-11-14 07:59:55 +00:00
Pedro Algarvio
62263be9c8 Man7 should be included. 2013-11-14 07:54:31 +00:00
Pedro Algarvio
344cb8f120 There are still some more script which should not be available on windows. 2013-11-14 07:52:28 +00:00
Pedro Algarvio
20434a19a5 Append on the right key. 2013-11-14 07:25:46 +00:00
Pedro Algarvio
56ac7137fd Salt cloud should not be packaged to windows. 2013-11-14 07:20:01 +00:00
dongweiming
be18f72a69 Modify: clean use glob to match filename that need remove 2013-11-12 13:10:41 +08:00
Pedro Algarvio
76d1629ba4 doc/man/salt-cloud.7 is no longer generated. 2013-11-10 13:47:14 +00:00
Thomas S Hatch
e0b1a02ef1 Initial add of salt-cloud to setup.py 2013-11-08 14:47:41 -07:00
Nahum Shalman
5079d271fb Add 'email' and 'email.mime.*' to all esky builds
Fixes "ImportError: No module named audio" on SmartOS

Uses 'email.mime.*' rather than a full list of entries.

Also removes a duplicate entry for 'fileinput' from the
windows section that was added to the main FREEZER_INCLUDES

Email thread that suggested this fix:
https://groups.google.com/forum/#!msg/salt-users/_9ynHspSgjk/so0hRdbaPM0J

Tested as a fix to a 0.17.1 checkout on SmartOS.
2013-10-29 14:24:45 -04:00
David Boucha
4f247a635a These modules are needed for frozen Windows builds 2013-10-28 12:18:36 -06:00
Thomas S Hatch
387f097959 Merge pull request #7807 from scottp-dpaw/develop
Bootstrapping for Windows minions
2013-10-15 09:49:08 -07:00
Valentin Bud
5ae5b70794 Added salt.utils.validate to setup.py. 2013-10-15 14:28:58 +03:00
Scott Percival
6e8dd2a02c Added more modules missed by bdist_esky 2013-10-10 17:01:17 +08:00
David Boucha
d5a7b2195c Add fileinput to list of Windows modules to freeze 2013-10-08 08:03:08 -06:00
Ajith Antony
b95a5d9fd0 Virt Template deploy, and serial xml tests
- Added virt templates to setup
- moved NIC xml string template to file
- added tests for serial xml
2013-10-03 13:21:34 -05:00
Thomas S Hatch
3f0b151bda Merge pull request #6968 from s0undt3ch/features/6962-extra-state-kwargs-error
State calls now fail if non-supported arguments are used. Fixes #6962.
2013-09-27 08:01:13 -07:00
Niels Abspoel
7eeb8c6e20 fix for issue #7436 no templates in salt
One line in setup.py that says salt.templates package should be build.
2013-09-26 23:39:00 +02:00
Thomas S Hatch
1a3e1b0350 Add doc directory to clean routine 2013-09-26 10:44:14 -06:00
Pedro Algarvio
528ee3ae14 salt.utils.decorators is now a package. 2013-09-24 22:08:08 +01:00
Henrik Holmboe
8960189d22 Move jinja template files into salt/templates
See #7291. This is the first step.
2013-09-24 17:04:41 +02:00
Niels Abspoel
a655aa534c fix missing man page for salt-ssh fixes #7042 2013-09-19 21:14:38 +02:00
Henrik Holmboe
a8779ac96d Upcase constant 2013-09-19 12:42:09 +02:00
Thomas S Hatch
ff31ed9404 Add wrapper pkg to setup.py 2013-09-01 21:30:37 -06:00
Pedro Algarvio
3f31b06a5d salt.log.handlers is a package now. 2013-08-30 19:32:39 +00:00
Pedro Algarvio
08d5791f10 salt.log is now a package instead of a module.
The necessary changes were made to assure backwards compatibility.
2013-08-30 19:32:38 +00:00
mickey
f79e2b2bb9 Removed salt.ssh from the packages as it was moved to salt.client.ssh 2013-08-30 06:24:32 -05:00
Thomas S Hatch
0f458d7df5 include salt.client.ssh in setup.py 2013-08-29 17:00:24 -06:00
Pedro Algarvio
eb1db5c010 Store salt related path configurations in the distribution object. Fixes #6906.
Added `srv_root_dir` to the paths to check.
2013-08-27 08:46:26 +00:00
Pedro Algarvio
9a4ce0ea9d No more hard-coded salt paths.
All system paths that salt expects and needs are all configurable at install time. This allows for packagers to setup salt's **default** internal paths at build time. For example, under windows, the configuration directory is expected at `c:\salt\conf\`, on FreeBSD at `/usr/local/etc/salt`, etc.

The configurable paths are:

* Salt root directory, `salt_root` in the master and minion configuration files, `--salt-root-dir` option to `python setup.py install`.  Default: `/`
* Salt configuration directory, `--salt-config-dir` option to `python setup.py install`.  Default: `/etc/salt`
* Salt cache directory, `--salt-cache-dir` option to `python setup.py install`.  Default: `/var/cache/salt`
* Salt sock directory, `--salt-sock-dir` option to `python setup.py install`.  Default: `/var/run/salt`
* Salt services root directory, `--salt-srv-root-dir` option to `python setup.py install`.  Default: `/srv`
* Salt base file roots directory, `--salt-base-file-roots-dir` option to `python setup.py install`.  Default: `/srv/salt`
* Salt base pillar roots directory, `--salt-base-pillar-roots-dir` option to `python setup.py install`.  Default: `/srv/pillar`
* Salt base master roots directory, `--salt-base-master-roots-dir` option to `python setup.py install`.  Default: `/srv/salt-master`
* Salt logs directory, `--salt-logs-dir` option to `python setup.py install`.  Default: `/var/log/salt`
* Salt pidfile directory, `--salt-pidfile-dir` option to `python setup.py install`.  Default: `/var/run`
2013-08-25 22:55:57 +00:00
Pedro Algarvio
0288ae6046 Allow salt's paths to be configurable at build time. 2013-08-23 23:58:26 +01:00
Pedro Algarvio
10e635c4d2 Make pylint happy, global variables are all uppercased. 2013-08-23 23:17:13 +01:00
Pedro Algarvio
7f85966cf5 Remove unnecessary variables.
Somewhere along the way salt's setup changed and some variable were left around. Let's remove them.
2013-08-23 23:09:23 +01:00
Thomas S Hatch
363e6a383e Add salt.client to packages 2013-08-08 12:43:06 -06:00
Thomas S Hatch
d1e9d78fd6 Ass salt-ssh into setup.py 2013-07-01 15:52:46 -06:00
Pedro Algarvio
e7c07c8e55 The tests require setup settings can only be addded if setuptools is in use. 2013-06-28 00:12:58 +01:00
Pedro Algarvio
6456934cba Fix the tests require entry in setup. 2013-06-28 00:12:58 +01:00
Pedro Algarvio
3ee3a4796b The salt-testing project changed ownership. Update references. 2013-06-28 00:12:58 +01:00
Pedro Algarvio
3550397b0c Add tests_require to the setup arguments. 2013-06-28 00:12:58 +01:00
Pedro Algarvio
6996afaf46 Work around __file__ NameError thrown by bbfreeze. Fixes #5172. 2013-05-22 02:00:44 +01: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
bc83269e41 freeze numbers 2013-05-15 10:16:43 -06:00
Zoran Simic
7d5441e294 Better fix for 'pip' detection in setup.py 2013-03-20 14:05:20 -07:00
Thomas S Hatch
dc2fa7f7ea Remove esky errors because they only confuse %99.99 of users 2013-03-18 14:20:00 -06:00
Pedro Algarvio
52baa13a6d Bring to the developer's attention that a version bump might be missing. 2013-03-14 03:36:50 +00:00
Morgan Fainberg
b9adf48819 Lingering comment removal 2013-02-24 23:29:45 -08:00
Morgan Fainberg
512d9adb8b Fix for "pip" detection so that setuptools is used
If setuptools is not used for PIP installs pip fails to install salt
with a rather nasty error:

error: option --single-version-externally-managed not recognized

from what I can dig up the simple use of:
    if "pip" in __file__

is sufficient to detect pip usage, and should be synonomous
with USE_SETUPTOOLS
2013-02-24 23:19:00 -08:00