import salt.utils.network as network
import salt.modules.file as file

__virtualname__ = 'minionmanage'

def __virtual__():
    return __virtualname__

def populate_cache(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_controller(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_controllerv2(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_storage(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_storagev2(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_compute(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_computev2(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_container(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending

def populate_containerv2(path):
	pending = file.readdir(path)
	pending.remove('.')
	pending.remove('..')
	return pending
