Thomas S Hatch
2a3ac0b7c9
Remove config util module
2013-01-19 00:13:37 -07:00
Thomas S Hatch
e08f8597ac
Merge pull request #3326 from s0undt3ch/hotfix/git-describe-parsing
...
Harden `git describe` parsing so it does not fail on awkward situations.
2013-01-18 23:12:35 -08:00
Thomas S Hatch
5c2db52f0f
Change docs to be third person
2013-01-18 23:33:03 -07:00
Thomas S Hatch
7cce3f0661
Merge pull request #3327 from hvnsweeting/develop
...
Doc: add command to run standalone minion
2013-01-18 22:20:52 -08:00
Thomas S Hatch
ecc7b68b42
Fix adding Range has a hard dep from #3325
...
A wizard should know better...
2013-01-18 23:08:39 -07:00
Thomas S Hatch
1c7dbe1433
Merge pull request #3328 from intchanter/develop
...
Fail gracefully as non-privileged user
2013-01-18 21:49:51 -08:00
Intchanter
83ea1ebcb0
Fail gracefully as non-privileged user
2013-01-18 22:18:56 -07:00
Pedro Algarvio
09bba5b054
git describe sha signatures have a length of 8 chars.
2013-01-19 05:07:41 +00:00
HVN
2ec5605e11
add command to run standalone minion
2013-01-19 11:50:08 +07:00
Pedro Algarvio
7694829219
Also include the number of commits after the found tag.
2013-01-19 04:38:36 +00:00
Pedro Algarvio
d3391f4db0
Harden git describe
parsing so it does not fail on awkward situations.
...
This issue came up because a user is using custom tags and git describe for him is something like `debian/0.11.1+ds-1-3-ga0afcb`.
Added unittests for this.
2013-01-19 02:31:00 +00:00
Thomas S Hatch
3e9efc23ba
Merge pull request #3325 from jacksontj/develop
...
Adding range to compound matcher
2013-01-18 17:56:36 -08:00
Thomas Jackson
ebbe102fe5
Adding range to compound matcher
...
Adding docs for range compound matcher
2013-01-18 17:54:48 -08:00
Thomas S Hatch
2880105239
Merge pull request #3324 from pcrews/develop
...
Modify the mysql module to be more consistent on SELECT queries
2013-01-18 17:33:51 -08:00
pcrews
e3fd431675
Modified the mysql.py module to alter the behavior when 0 rows are returned. This is because some SELECT statements might return 0 rows and the difference in returned verbiage is problematic. We alter the code so that if the query is a SELECT, we always describe the results as 'rows returned'. If the query does not start with that, then we use 'rows affected'
2013-01-18 15:32:31 -08:00
Thomas S Hatch
135bf7e972
Import SaltMasterError
2013-01-18 13:46:08 -07:00
Thomas S Hatch
e2eeac7a12
Add an error to the fileserver updates in no fileservers are present
2013-01-18 13:43:55 -07:00
Thomas S Hatch
08471effee
Merge pull request #3320 from kjkuan/pydsl-updates
...
Pydsl updates
2013-01-18 11:27:16 -08:00
Thomas S Hatch
ad866354cb
Merge pull request #3319 from archtaku/develop
...
Fix Ubuntu bug in pkg.purged, pkg.removed states
2013-01-18 11:25:39 -08:00
Jack Kuan
a678901c48
Fix test cases for py2.6.
2013-01-18 14:14:42 -05:00
Thomas S Hatch
351fd0e3fe
Tell gitfs to ref the remote refs in the repo fetch
...
This lowers overhead and fixes the updae bug, it also fixes
Fix #3315
Fix #3316
As for #3316 , use salt-run fileserver.update to explicitly update
instead of waiting for the built in check, checking with every file
lookup would cause far too many calls to the remote git server
2013-01-18 12:44:19 -06:00
Bruno Clermont
e8f4199cad
Add other sources of examples
...
I have a lengthy and growing "public" states repository that I build my various clients production on top of it.
some of them can be a little exotic.
and I think that I have the only public example of file.accumulated
2013-01-18 12:44:19 -06:00
Erik Johnson
576b844645
Fix typo introduced in f0d1043
2013-01-18 12:44:19 -06:00
Erik Johnson
4e0173de78
Prevent traceback using refresh param
...
Make the same change as was made in f0d1043
to pacman.py
2013-01-18 12:44:18 -06:00
Erik Johnson
33a84f2f10
Prevent traceback using refresh param
...
This commit forces the 'refresh' param to be cast as a string to keep
things like 'refresh: 123' in a pkg state from causing a TypeError.
2013-01-18 12:44:18 -06:00
Erik Johnson
8b56e24671
Default refresh to True (zypper) + pep8 fixes
...
See #3302
2013-01-18 12:44:18 -06:00
Erik Johnson
a4de27492b
Default refresh to True (yumpkg5) + pep8 fixes
...
See #3302
2013-01-18 12:44:18 -06:00
Wendall Cada
be6be94600
Added unittest support to rpm spec.
2013-01-18 12:44:18 -06:00
Erik Johnson
071b99b5e5
Default refresh to True (yumpkg) + pep8 fixes
...
See #3302
2013-01-18 12:44:18 -06:00
Erik Johnson
da73c8d3b7
Add refresh param + pep8 fixes
...
list_upgrades and upgrade are not yet implemented, but I added some
commented-out bits that can be uncommented once these functions are
implemented.
2013-01-18 12:44:18 -06:00
Erik Johnson
1e2adfd85e
Default refresh to True (pkgutil) + pep8 fixes
...
See #3302
2013-01-18 12:44:18 -06:00
Erik Johnson
2524eaa653
Make both "refresh=true" and "refresh=True" work
...
Also pep8 fixes.
2013-01-18 12:44:18 -06:00
Erik Johnson
365c405292
Default refresh to True (ebuild)
...
See #3302
2013-01-18 12:44:18 -06:00
Thomas S Hatch
562e98846f
Tell gitfs to ref the remote refs in the repo fetch
...
This lowers overhead and fixes the updae bug, it also fixes
Fix #3315
Fix #3316
As for #3316 , use salt-run fileserver.update to explicitly update
instead of waiting for the built in check, checking with every file
lookup would cause far too many calls to the remote git server
2013-01-18 11:37:45 -07:00
Jack Kuan
5aaa17cd10
update todos.
2013-01-18 12:55:49 -05:00
Thomas S Hatch
5e517d31fa
Merge pull request #3312 from bclermont/patch-1
...
Add other sources of examples
2013-01-18 09:44:55 -08:00
Thomas S Hatch
db7bfc1efc
Merge pull request #3311 from archtaku/list_upgrades
...
Make pkg.list_upgrades, pkg.upgrade default to refresh=True
2013-01-18 09:36:16 -08:00
Jack Kuan
9c35844c56
Make pydsl work with stateconf.
...
- Added implicit ordering to pydsl.(turned on via __pydsl__.set(ordered=True))
- Fixed a KeyError bug in stateconf renderer that happens during id renaming.
- The stateconf renderer now generates a no-op start state as the
"first" state in a sls file.(enabled via -s)
- Made the stateconf renderer take high state input via the new -p
option, so we can pipe pydsl output into it.
- Added more and fixed some test cases for stateconf and pydsl.
2013-01-18 12:34:56 -05:00
Thomas S Hatch
c764a506cd
Merge pull request #3310 from essentialed/develop
...
Added unittest support to rpm spec.
2013-01-18 09:34:17 -08:00
Erik Johnson
2824961d58
Fix Ubuntu bug in pkg.purged, pkg.removed states
...
17e35529
introduced a bug in which a nonexistant kwargs dict was being
referenced in the pkg.purge and pkg.remove functions. This is a blocker
for pkg.purged and pkg.removed states in Ubuntu.
I added kwargs to the pkg.purged and pkg.removed states, as well as to
each pkg provider which had a purge or remove function.
Note that this commit contains a lot of the same pep8 fixes that I made
in pull request #3311 , so let me know if you want me to rebase once this
is merged.
2013-01-18 09:44:27 -06:00
Erik Johnson
5dbd49ceb3
Merge pull request #3318 from archtaku/develop
...
SLES grain fix (#3275 )
2013-01-18 07:05:55 -08:00
Erik Johnson
e72941182a
SLES grain fix ( #3275 )
...
The 'os' grain in SLES 11 SP2 is 'SUSE Enterprise Server' (two spaces).
Tried to fix this a couple days ago but didn't notice the extra space
after 'SUSE'. See the following:
https://github.com/saltstack/salt/issues/3275#issuecomment-12425372
2013-01-18 08:57:15 -06:00
Bruno Clermont
a83c2f80a0
Add other sources of examples
...
I have a lengthy and growing "public" states repository that I build my various clients production on top of it.
some of them can be a little exotic.
and I think that I have the only public example of file.accumulated
2013-01-18 15:24:07 +08:00
Erik Johnson
a21c49e58c
Fix typo introduced in f0d1043
2013-01-17 22:35:54 -06:00
Erik Johnson
29bf3017d1
Prevent traceback using refresh param
...
Make the same change as was made in f0d1043
to pacman.py
2013-01-17 22:32:49 -06:00
Erik Johnson
f0d10431d7
Prevent traceback using refresh param
...
This commit forces the 'refresh' param to be cast as a string to keep
things like 'refresh: 123' in a pkg state from causing a TypeError.
2013-01-17 22:27:06 -06:00
Erik Johnson
dc51985a30
Default refresh to True (zypper) + pep8 fixes
...
See #3302
2013-01-17 22:23:20 -06:00
Erik Johnson
56e11af99c
Default refresh to True (yumpkg5) + pep8 fixes
...
See #3302
2013-01-17 22:23:11 -06:00
Wendall Cada
9ed9dd07b4
Added unittest support to rpm spec.
2013-01-17 20:08:33 -08:00
Erik Johnson
45b85d7d8e
Default refresh to True (yumpkg) + pep8 fixes
...
See #3302
2013-01-17 21:47:23 -06:00