salt-1# pwd/usr/local/etc/salt/win/salt-winreposalt-1# ls.git README.md blender.sls filezilla.sls mysysgit.sls nsclient.sls pidgin.sls realvnc.sls winrepo.p7zip.sls audacity.sls chrome.sls gvim.sls npp.sls nxlog.sls putty.sls vlc.slssalt-1# grep winrepo /usr/local/etc/salt/masterwin_repo: '/usr/local/etc/salt/win/salt-winrepo'win_repo_mastercachefile: '/usr/local/etc/salt/win/salt-winrepo/winrepo.p'
{'name_map': {'7-Zip 9.20 (x64 edition)': '7zip','Audacity 2.0.3': 'audacity','Blender': 'blender','FileZilla Client 3.6.0.2': 'filezilla','Git version 1.8.1.2-preview20130201': 'mysysgit','Google Chrome': 'chrome','NSClient++ (x64)': 'nsclient','NXLOG-CE': 'nxlog','Notepad++': 'npp','Pidgin': 'pidgin','PuTTY version 0.62': 'putty','VLC media player 2.0.7': 'vlc','VNC Server 5.0.5': 'realvnc','Vim 7.3 (self-installing)': 'gvim'},'repo': {'7zip': {'9.20.00.0': {'full_name': '7-Zip 9.20 (x64 edition)','install_flags': ' /q ','msiexec': True,'reboot': False,'uninstall_flags': ' /qn','audacity': {'2.0.3': {'full_name': 'Audacity 2.0.3','install_flags': ' /sp- /verysilent /norestart','installer': 'http://audacity.googlecode.com/files/audacity-win-2.0.3.exe','locale': 'en_US','reboot': False,'uninstall_flags': ' /verysilent','uninstaller': '%PROGRAMFILES(x86)%\\Audacity\\unins000.exe'}},'blender': {'2.68': {'full_name': 'Blender','install_flags': '/S','reboot': False,'uninstall_flags': '/S','uninstaller': '%ProgramFiles(x86)%\\Blender Foundation\\Blender\\uninstall.exe'}},'chrome': {'65.130.49228': {'full_name': 'Google Chrome','install_flags': '/qn /norestart','installer': 'salt://win/repo/chrome/GoogleChromeStandaloneEnterprise.msi','msiexec': True,'reboot': False,'uninstall_flags': '/qn','uninstaller': 'salt://win/repo/chrome/GoogleChromeStandaloneEnterprise.msi'}},'filezilla': {'3.6.0.2': {'full_name': 'FileZilla Client 3.6.0.2','install_flags': ' /S','uninstall_flags': ' /S','uninstaller': '%ProgramFiles(x86)%\\FileZilla FTP Client\\uninstall.exe'}},'gvim': {'7.3': {'full_name': 'Vim 7.3 (self-installing)','install_flags': '/TYPE=FULL /S /DD','reboot': False,'uninstall_flags': '/S','uninstaller': '%PROGRAMFILES(x86)%\\Vim\\vim73\\uninstall-gui.exe'}},'mysysgit': {'1.8.1.2-preview20130201': {'full_name': 'Git version 1.8.1.2-preview20130201','install_flags': ' /VERYSILENT /NOREBOOT','installer': 'salt://win/repo/mysysgit/Git-1.8.1.2.exe','reboot': False}},'npp': {'6.4.2': {'full_name': 'Notepad++','install_flags': ' /S','reboot': False,'uninstall_flags': ' /S','uninstaller': '%ProgramFiles(x86)%/Notepad++/uninstall.exe'}},'nsclient': {'0.3.9.328': {'full_name': 'NSClient++ (x64)','install_flags': '/quiet','installer': 'http://files.nsclient.org/0.3.x/NSClient%2B%2B-0.3.9-x64.msi','msiexec': True,'reboot': False,'uninstall_flags': '/quiet','uninstaller': 'http://files.nsclient.org/0.3.x/NSClient%2B%2B-0.3.9-x64.msi'}},'nxlog': {'2.5.1089': {'full_name': 'NXLOG-CE','install_flags': '/quiet /norestart','msiexec': True,'reboot': False,'uninstall_flags': '/quiet /norestart','pidgin': {'2.10.6': {'full_name': 'Pidgin','install_flags': ' /S','reboot': False,'uninstall_flags': ' /S','uninstaller': '%programfiles(x86)%/Pidgin/pidgin-uninst.exe'}},'putty': {'0.62': {'full_name': 'PuTTY version 0.62','install_flags': '/sp- /verysilent','reboot': False,'uninstall_flags': '/sp- /verysilent /norestart','uninstaller': '%PROGRAMFILES(x86)%\\PuTTY\\unins000.exe'}},'realvnc': {'5.0.5': {'full_name': 'VNC Server 5.0.5','install_flags': '/sp- /verysilent /norestart','installer': 'salt://win/repo/realvnc/VNC-5.0.5-Windows.exe','reboot': False,'uninstall_flags': '/sp- /verysilent /norestart','uninstaller': '%PROGRAMFILES%\\RealVNC\\VNC Server\\unins000.exe'}},'vlc': {'2.0.7': {'full_name': 'VLC media player 2.0.7','install_flags': ' /S','installer': 'http://get.videolan.org/vlc/2.0.7/win32/vlc-2.0.7-win32.exe','reboot': False,'uninstall_flags': ' /S','uninstaller': '%programfiles(x86)%/VideoLAN/VLC/uninstall.exe'}}}}
salt-1# salt 'b-bot*' pkg.refresh_dbTruesalt-1#
salt-1# salt 'b-bot*' pkg.list_availablesalt-1# salt 'b-bot*' pkg.list_available vlc
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/FZ5eGc9FmwI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
--Dave Boucha | Sr. Engineer5272 South College Drive, Suite 301 | Murray, UT 84123
office 801-305-3563
da...@saltstack.com | www.saltstack.com
--
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/FZ5eGc9FmwI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
--Dave Boucha | Sr. Engineer5272 South College Drive, Suite 301 | Murray, UT 84123
office 801-305-3563
da...@saltstack.com | www.saltstack.com
--
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/FZ5eGc9FmwI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.
2013-10-18 10:08:46,462 [salt.fileclient ][INFO ] Fetching file 'salt://win/repo/winrepo.p'2013-10-18 10:08:46,462 [salt.loaded.int.module.cp][ERROR ] Unable to cache file "salt://win/repo/winrepo.p" from env "base".2013-10-18 10:08:46,462 [salt.loaded.int.module.win_pkg][ERROR ] Not able to read repo file2013-10-18 10:08:46,462 [salt.loaded.int.module.win_pkg][ERROR ] [Errno 22] invalid mode ('r') or filename: ''Traceback (most recent call last):File "salt/modules/win_pkg.py", line 664, in get_repo_dataFile "salt/utils/__init__.py", line 825, in fopenIOError: [Errno 22] invalid mode ('r') or filename: ''
##### Windows Software Repo settings #################################################### Location of the repo on the masterwin_repo: '/usr/local/etc/salt/win/repo'# Location of the master's repo cache filewin_repo_mastercachefile: '/usr/local/etc/salt/win/repo/winrepo.p'
salt-1# ls -al /usr/local/etc/salt/win/repototal 76drwxr-xr-x 3 root wheel 512 Oct 18 10:06 .drwxr-xr-x 4 root wheel 512 Oct 18 10:06 ..drwxr-xr-x 8 root wheel 512 Oct 18 10:06 .git-rw-r--r-- 1 root wheel 346 Oct 11 12:39 7zip.sls-rw-r--r-- 1 root wheel 223 Oct 11 12:39 README.md-rw-r--r-- 1 root wheel 308 Oct 11 12:39 audacity.sls-rw-r--r-- 1 root wheel 297 Oct 11 12:39 blender.sls-rw-r--r-- 1 root wheel 380 Oct 11 12:39 chrome.sls-rw-r--r-- 1 root wheel 358 Oct 11 12:39 filezilla.sls-rw-r--r-- 1 root wheel 301 Oct 11 12:39 gvim.sls-rw-r--r-- 1 root wheel 288 Oct 11 12:39 mysysgit.sls-rw-r--r-- 1 root wheel 274 Oct 11 12:39 npp.sls-rw-r--r-- 1 root wheel 310 Oct 11 12:39 nsclient.sls-rw-r--r-- 1 root wheel 342 Oct 11 12:39 nxlog.sls-rw-r--r-- 1 root wheel 287 Oct 11 12:39 pidgin.sls-rw-r--r-- 1 root wheel 304 Oct 11 12:39 putty.sls-rw-r--r-- 1 root wheel 300 Oct 11 12:39 realvnc.sls-rw-r--r-- 1 root wheel 269 Oct 11 12:39 vlc.sls-rw-r--r-- 1 root wheel 3944 Oct 18 10:06 winrepo.psalt-1# ls -al /usr/local/etc/salt/win/repo/winrepo.p-rw-r--r-- 1 root wheel 3944 Oct 18 10:06 /usr/local/etc/salt/win/repo/winrepo.p
salt-1# salt 'biz-4*' pkg.list_available vlc- 2.0.7salt-1# salt 'biz-4*' pkg.list_availablesalt-1# salt 'biz-4*' pkg.list_available putty- 0.62salt-1# salt 'biz-4*' pkg.install puttysalt-1# salt 'biz-4*' pkg.list_pkg putty"pkg.list_pkg" is not available.salt-1# salt 'biz-4*' pkg.list_pkgs putty....putty:0.62
--