2016-10-31 33 views
0

masterをミニーンにインストールしようとしましたが、動作していないようです。デバッグを試みると、次のような問題が発生します。Windows 10にソフトウェアをインストールできませんminion

[DEBUG ] Missing configuration file: /root/.saltrc 

これを修正する方法がわかりません。詳細は私の塩マスターバージョンは2015.5.10(リチウム)、私のミニオンバージョンは2015.5.1です。また、完全なデバッグログは、次のとおりです。私はこれに新たなんだので、

[DEBUG ] Reading configuration from /etc/salt/master 
[DEBUG ] Including configuration from '/etc/salt/master.d/master.conf' 
[DEBUG ] Reading configuration from /etc/salt/master.d/master.conf 
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ECS-141abdb2.ecs.ads.autodesk.com 
[DEBUG ] Missing configuration file: /root/.saltrc 
[DEBUG ] Configuration file path: /etc/salt/master 
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged. 
[DEBUG ] Reading configuration from /etc/salt/master 
[DEBUG ] Including configuration from '/etc/salt/master.d/master.conf' 
[DEBUG ] Reading configuration from /etc/salt/master.d/master.conf 
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: ECS-141abdb2.ecs.ads.autodesk.com 
[DEBUG ] Missing configuration file: /root/.saltrc 
[DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc 
[DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc 
[DEBUG ] Sending event - data = {'_stamp': '2016-10-31T15:49:34.567058'} 
[DEBUG ] LazyLoaded local_cache.get_load 
[DEBUG ] get_iter_returns for jid 20161031084934590375 sent to set(['ds']) will timeout at 08:49:39.5975           53 
[DEBUG ] jid 20161031084934590375 return from ds 
[DEBUG ] LazyLoaded nested.output 

任意の助けをいただければ幸いです:)

コマンドを使用した:

必要なウィンドウの場合は
sudo salt '<minion>' pkg.install 'chrome' 
+0

ユーザには '.saltrc 'は必要ありません。 '.bashrc'のようなものです。あなたはどのコマンドを実行しても、それはうまく動作しないのでしょうか? – dahrens

+0

ちょっと@dahrens私は使用したコマンドで更新しました。私はそれがソフトウェアをインストールすることを期待しました。 – dwr123123d12

+0

これはまた動作しません: 'sudo salt '' pkg.install chrome'(' ''クロムのまわりで)。そうでない場合は、ターゲットOSについて教えてください。 – dahrens

答えて

0

これが適切に機能するようにいくつかの魔法を含める必要があります。あなたは指示written hereに従った?ドキュメントコンテンツの短い要約

# prepare your master to know about the win repos 
salt-run winrepo.update_git_repos 
# tell all connected windows minions to refresh 
salt -G 'os:windows' pkg.refresh_db 
# list available packages 
salt -G 'os:windows' pkg.list_pkgs 
# ask your minion for known chrome versions 
salt '<minion id>' pkg.available_version chrome 
# and finally install it; use version=x.x.x in case of a specific one. 
salt '<minion id>' pkg.install 'chrome' 
関連する問題