'All management resources have an action. Action determine
weather a most resources should be created or removed, and
if packages should be installed or un-installed.'

def set_action(self, action):

    action = action.lower()
    valid_actions = ['create', 'remove']
    if (action not in valid_actions):
        raise CX(('%s    is    not    a    valid    action' % action))
    self.action = action
