GithubHelp home page GithubHelp logo

Comments (5)

hbuckle avatar hbuckle commented on August 26, 2024 1

2.0.0 makes source location case sensitive

from puppet-powershellmodule.

hbuckle avatar hbuckle commented on August 26, 2024

Hi - this is just an internal thing to make it easier to compare strings. Although URLs aren't case sensitive, Puppet is so if the casing were different Puppet would think it needed to be changed. It should have no effect on actually interacting with repos.

from puppet-powershellmodule.

MassimoSporchia avatar MassimoSporchia commented on August 26, 2024

It does affect the interaction with repos, this code for example doesn't work with the lowercase:

psrepository { 'PSGalleryProxy':
    ensure              => present,
    source_location     => 'http://mylocalnexus/repository/PowerShellGallery_proxy/',
    installation_policy => 'untrusted',
    provider            => 'windowspowershell',
  }

Since a call to "http://mylocalnexus/repository/PowerShellGallery_proxy/" returns 200, a call to "http://mylocalnexus/repository/powershellgallery_proxy/" returns 404 so the Set-PSRepository command returns malformed URL

from puppet-powershellmodule.

hbuckle avatar hbuckle commented on August 26, 2024

Ah ok, I didn't know that some servers treated the URL as case sensitive. I should be able to update this to remove the lower casing.

from puppet-powershellmodule.

MassimoSporchia avatar MassimoSporchia commented on August 26, 2024

I've got minimal modification in my current workspace, if you want I'll make a pull request :)
(which basically removes the lowercasing lines I've put in the issue, by the way) but I'm guessing there is much more than those 2 lines

from puppet-powershellmodule.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.