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)
def do_first_launch_config(self): lc.deploy_chef(ask="no")