0
我試圖讓主人在minion上安裝軟件,但看起來並不像它的工作。當我嘗試調試它看起來像問題如下:無法在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'
您不需要'.saltrc'給用戶。它就像'.bashrc'。你可以提供你執行的那個命令嗎? – dahrens
嘿@dahrens我更新了我使用的命令。我預計它會安裝該軟件。 – dwr123123d12
這是否也不起作用:'sudo salt''pkg.install chrome'(在chrome周圍沒有''')。如果沒有,請告訴我們關於目標操作系統。 –
dahrens