コード例 #1
0
    def deploy(self, host, runlist=None, plugins=None, post_plugins=None,
               use_opscode_chef=True, **kwargs):
        runlist = runlist or []
        plugins = plugins or []
        post_plugins = post_plugins or []

        self._setup_ssh_config(host)
        if use_opscode_chef:
            lc.deploy_chef(ask="no")

        self._save_node_data(host, runlist)
        for plugin in plugins:
            self._execute_plugin(host, plugin)

        self._bootstrap_node(host)

        for plugin in post_plugins:
            self._execute_plugin(host, plugin)
コード例 #2
0
    def deploy(self,
               host,
               runlist=None,
               plugins=None,
               post_plugins=None,
               use_opscode_chef=True,
               **kwargs):
        runlist = runlist or []
        plugins = plugins or []
        post_plugins = post_plugins or []

        self._setup_ssh_config(host)
        if use_opscode_chef:
            lc.deploy_chef(ask="no")

        self._save_node_data(host, runlist)
        for plugin in plugins:
            self._execute_plugin(host, plugin)

        self._bootstrap_node(host)

        for plugin in post_plugins:
            self._execute_plugin(host, plugin)
コード例 #3
0
ファイル: littlechef.py プロジェクト: panozzaj/neckbeard
 def do_first_launch_config(self):
     lc.deploy_chef(ask="no")