libre-server / rolekit

'rolekit' is a daemon for Linux systems providing a stable D-BUS interface to manage the deployment of ​Server Roles.
19 stars 7 forks source link

Use accessors for name and type in roles #46

Closed t-woerner closed 9 years ago

t-woerner commented 9 years ago

Right now there is a mixture of self.get_name() and self._name usage. Also there is no accessor for the type. A get_type method should be added to RoleBase and it should then be used in roles.