Fix imports for s/x/solar.core/

This commit is contained in:
Evgeniy L 2015-05-14 10:53:43 +02:00
parent d00d9b8db0
commit c7b21abeca
7 changed files with 19 additions and 19 deletions

View File

@ -1,8 +1,8 @@
import shutil
import os
from x import resource
from x import signals
from solar.core import resource
from solar.core import signals
signals.Connections.clear()
@ -71,7 +71,7 @@ signals.connect(haproxy_config, haproxy_service, {'listen_ports':'ports', 'confi
#run
from x import actions
from solar.core import actions
actions.resource_action(mariadb_service1, 'run')
actions.resource_action(keystone_db, 'run')

View File

@ -1,7 +1,7 @@
# -*- coding: UTF-8 -*-
from x.handlers.ansible import Ansible
from x.handlers.base import Empty
from x.handlers.shell import Shell
# -*- coding: utf-8 -*-
from solar.core.handlers.ansible import Ansible
from solar.core.handlers.base import Empty
from solar.core.handlers.shell import Shell
HANDLERS = {'ansible': Ansible,

View File

@ -1,9 +1,9 @@
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import os
import subprocess
import yaml
from x.handlers.base import BaseHandler
from solar.core.handlers.base import BaseHandler
class Ansible(BaseHandler):

View File

@ -1,7 +1,7 @@
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import subprocess
from x.handlers.base import BaseHandler
from solar.core.handlers.base import BaseHandler
class Shell(BaseHandler):

View File

@ -1,4 +1,4 @@
from x import signals
from solar.core import signals
class BaseObserver(object):

View File

@ -1,4 +1,4 @@
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
import copy
import json
import os
@ -6,11 +6,11 @@ import shutil
import yaml
from x import actions
from x import db
from x import observer
from x import signals
from x import utils
from solar.core import actions
from solar.core import db
from solar.core import observer
from solar.core import signals
from solar.core import utils
class Resource(object):

View File

@ -6,7 +6,7 @@ import os
import db
from x import utils
from solar.core import utils
CLIENTS_CONFIG_KEY = 'clients-data-file'