salt icon indicating copy to clipboard operation
salt copied to clipboard

Package xxx not found in the repository.

Open fmnisme opened this issue 12 years ago • 5 comments

I write winrepo for SplunkForwarder ,and exec "salt 'tset' pkg.install SplunkForwarder " success. But when I use it in states,it fails. test.sls:

SplunkForwarder:
   pkg:
      - installed
salt 'test' state.highstate -v
return:
----------
          ID: SplunkForwarder
    Function: pkg.installed
      Result: False
     Comment: Package SplunkForwarder not found in the repository.
     Changes:

master:2014.1.4 minion:2014.1.3-1 windows 2003 x64

fmnisme avatar May 14 '14 15:05 fmnisme

I don't know much about winrepo, but I'm guessing that we're going to need the configuration that you created for the SplunkForwarder package to debug this. Could you please add that configuration?

basepi avatar May 14 '14 20:05 basepi

Also the output of

salt 'test' pkg.list_available SplunkForwarder

eliasp avatar May 14 '14 22:05 eliasp

@basepi, @eliasp I am sorry ,I write wong package name.

fmnisme avatar May 15 '14 06:05 fmnisme

So this isn't actually an issue, it's just user error?

basepi avatar May 15 '14 16:05 basepi

@basepi probably user error. Inspecting the splunkforwarder deb reveals that the package is named "splunkforwarder", not "SplunkForwarder".

kelvinn avatar Jun 12 '14 03:06 kelvinn