Skip to content

Instantly share code, notes, and snippets.

View jcourtois's full-sized avatar

James Courtois jcourtois

View GitHub Profile
{
"tiles" : [ {
"productCodes" : [ "0400099170719" ],
"type" : "productTile"
}, {
"productCodes" : [ "0400095310499" ],
"type" : "productTile"
}, {
"productCodes" : [ "0400095310462" ],
"type" : "productTile"
class OS:
def __init__(self, os_name):
if os_name == 'ubuntu':
self.__class__ = DebianOS
elif os_name in ['rhel', 'centos']:
self.__class__ = RHEL
else:
util.logger.exception(
"Operating system not supported at this time")
"""
Chef Environment
"""
from monster import util
from chef import Environment as ChefEnvironment
from base_environment_wrapper import BaseEnvironmentWrapper
class ChefEnvironmentWrapper(BaseEnvironmentWrapper):