/usr/share/pyshared/landscape/manager/manager.py is in landscape-common 12.04.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | from landscape.manager.store import ManagerStore
from landscape.broker.client import BrokerClient
# Protocol messages! Same constants are defined in the server.
FAILED = 5
SUCCEEDED = 6
class Manager(BrokerClient):
"""Central point of integration for the Landscape Manager."""
name = "manager"
def __init__(self, reactor, config):
super(Manager, self).__init__(reactor)
self.reactor = reactor
self.config = config
self.store = ManagerStore(self.config.store_filename)
|