Fix imports for s/x/solar.core/
This commit is contained in:
parent
d00d9b8db0
commit
c7b21abeca
@ -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')
|
||||
|
@ -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,
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -1,4 +1,4 @@
|
||||
from x import signals
|
||||
from solar.core import signals
|
||||
|
||||
|
||||
class BaseObserver(object):
|
||||
|
@ -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):
|
||||
|
@ -6,7 +6,7 @@ import os
|
||||
|
||||
import db
|
||||
|
||||
from x import utils
|
||||
from solar.core import utils
|
||||
|
||||
|
||||
CLIENTS_CONFIG_KEY = 'clients-data-file'
|
||||
|
Loading…
x
Reference in New Issue
Block a user