This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tiles" : [ { | |
"productCodes" : [ "0400099170719" ], | |
"type" : "productTile" | |
}, { | |
"productCodes" : [ "0400095310499" ], | |
"type" : "productTile" | |
}, { | |
"productCodes" : [ "0400095310462" ], | |
"type" : "productTile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Chef Environment | |
""" | |
from monster import util | |
from chef import Environment as ChefEnvironment | |
from base_environment_wrapper import BaseEnvironmentWrapper | |
class ChefEnvironmentWrapper(BaseEnvironmentWrapper): |