Skip to content

Commit

Permalink
Merge branch '0.14' of github.com:saltstack/salt into 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch45 committed Apr 14, 2013
2 parents f1830e5 + 84f4173 commit 7d54c2f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion salt/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sys


__version_info__ = (0, 14, 0)
__version_info__ = (0, 14, 1)
__version__ = '.'.join(map(str, __version_info__))

GIT_DESCRIBE_REGEX = (
Expand Down
12 changes: 11 additions & 1 deletion tests/minionswarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ def parse():
dest='master',
default='salt',
help='The location of the salt master that this swarm will serve')
parser.add_option('--name',
'-n',
dest='name',
default='ms-',
help=('Give the minions an alternative id prefix, this is used '
'when minons from many systems are being aggregated onto '
'a single master'))
parser.add_option('-k',
'--keep-modules',
dest='keep',
Expand Down Expand Up @@ -109,7 +116,10 @@ def mkconf(self, idx):
'''
Create a config file for a single minion
'''
minion_id = 'ms-{0}'.format(str(idx).zfill(self.__zfill))
minion_id = '{0}-{1}'.format(
self.opts['name'],
str(idx).zfill(self.__zfill)
)

dpath = os.path.join(self.swarm_root, minion_id)
os.makedirs(dpath)
Expand Down

0 comments on commit 7d54c2f

Please sign in to comment.