__version__ = webhooks.__version__
LOG = logging.getLogger(__name__)
-DEFAULT_EMAIL = 'frank.brehm@pixelpark.com'
-DEFAULT_SENDER = 'Puppetmaster <{}>'.format(DEFAULT_EMAIL)
+DEFAULT_FROM_EMAIL = 'puppetmaster@pixelpark.com'
+DEFAULT_FROM_SENDER = 'Puppetmaster <{}>'.format(DEFAULT_FROM_EMAIL)
+DEFAULT_TO_EMAIL = 'puppet@pixelpark.com'
+DEFAULT_TO_SENDER = 'Puppet <{}>'.format(DEFAULT_TO_EMAIL)
# =============================================================================
self.curl_bin = None
self.error_data = []
- self.smtp_server = 'smtp.pixelpark.com'
+ self.smtp_server = 'localhost'
self.smtp_port = 25
- self.default_parent_dir = '/www/data'
- self.default_email = DEFAULT_EMAIL
+ self.default_parent_dir = '/var/log/webhooks'
+ self.default_email = DEFAULT_TO_EMAIL
self.mail_to_addresses = []
self.mail_cc_addresses = [
- 'webmaster@pixelpark.com',
self.default_email,
]
- self.sender_address = DEFAULT_SENDER
+ self.sender_address = DEFAULT_FROM_SENDER
self._log_directory = os.sep + os.path.join('var', 'log', 'webhooks')