Improves EPEL and RDO repo setup
This patch improves repo setup. In case of EPEL it also enables/disables EPEL repo according to configuration. In case of RDO it's installed on each host if the repo is installed locally. Fixes: rhbz#974971, rhbz#990642 Change-Id: I3a1f77061439f1072a0932918384b939babcd3e0
This commit is contained in:
@@ -36,17 +36,11 @@ class Controller(object):
|
||||
return self.__single
|
||||
|
||||
def __init__(self):
|
||||
# XXX: Right now this will only hold all temp dirs on each host.
|
||||
# Method for temp dir creation should be implemented in this
|
||||
# class, when it will start behaving like controller and not
|
||||
# only like data container
|
||||
self.temp_map = {}
|
||||
|
||||
# Resources that should be copied to each host along with the puppet
|
||||
# files, on the remote host the file will be placed in
|
||||
# $PACKSTACK_VAR_DIR/resources. As with temp_map, this controller
|
||||
# should copy the files, for now the puppet plugin is doing it
|
||||
# format {'host':[('/path/to/fileordirectory', 'filenameonremotehost'), ..]}
|
||||
# $PACKSTACK_VAR_DIR/resources. This controller should copy the files,
|
||||
# for now the puppet plugin is doing it format
|
||||
# {'host':[('/path/to/fileordirectory', 'filenameonremotehost'), ..]}
|
||||
self.resources = {}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user