I am going to take a stab at this, but bear in mind, I could be wrong, so wait for Matt to confirm :-)
By doing what you are doing, you are essentially telling Boxstarter to go to the URL that you have provided, and in that location there will be a text file, and then it will take that text file, do the work of wrapping that text file into a Chocolatey/Boxstarter
package, and then install the package. This process is described here:
However, what you are trying to do is provide a URL to a Chocolatey/Boxstarter feed, where a package with a particular name is located. Try this:
This will use the Boxstarter URL to go out to the internet and try to find a package called fiddler4. This will work, because the fiddler4 package exists on Chocolatey.org. Boxstarter will then grab this package, download it locally, and then execute the install.
You can do something similar by passing in a URL to a gist on Github, as described in the article above, however, that is not what you are currently doing, although a perfectly valid route.
What I think you want to do is to instead use the command:
However, this will still not work out of the box, because your package "textpackage" doesn't exist anywhere that Boxstarter knows about. If you do:
You will see that NugetSources is currently set to:
These are the two locations that Boxstarter will look for a package with a particular name. If it doesn't find it, it will report that package can't be located. So what you could do instead, is one of two things...
- Push your package to Chocolatey.org
- Push your package to the Boxstarter MyGet Feed
- Add your own feed to the NugetSources
The first two are unlikely to be what you want, but I think the third is.
You should be able to use:
To update the NugetSources property to include your feed which is http://ourserver:81/feeds/default and then run:
Hope that helps!