Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error example to set default provider in README #69

Closed
evilhamsterman opened this issue Jul 16, 2015 · 4 comments
Closed

Error example to set default provider in README #69

evilhamsterman opened this issue Jul 16, 2015 · 4 comments

Comments

@evilhamsterman
Copy link

There is a small syntactical error in the README on how to set the default provider to chocolatey.

There should be a second set of brackets around the Package line so this

case $operatingsystem {
  'windows':
    Package { provider => chocolatey, }
}

should be this

case $operatingsystem {
  'windows': {
    Package { provider => chocolatey, }
  }
}

Otherwise you get a syntax error.

@MorbosVermin
Copy link

Second - I hit this issue to using Puppet 4.5 and latest version of this module.

@ferventcoder
Copy link
Contributor

Ah, thanks! We should get that corrected in the readme.

ferventcoder added a commit to ferventcoder/puppet-chocolatey that referenced this issue May 19, 2016
There is a syntax error in the readme related to setting the default
provider for Windows. It needs a second set of brackets surrounding
Package.
@ferventcoder
Copy link
Contributor

Corrected in the readme!

@ferventcoder
Copy link
Contributor

I'm not sure how I missed the original notification on this...

ferventcoder added a commit to ferventcoder/puppet-chocolatey that referenced this issue Jul 6, 2016
* master:
  (version) 1.2.5
  (maint) prep for release of 1.2.5
  (chocolatey-archiveGH-128) PowerShell 1.x provider fixes for "else"
  (chocolatey-archiveGH-133) Feature list update for  0.9.10
  (version) 1.2.4
  (chocolatey-archiveGH-125) Compatible Up to PowerShell Provider 3.x
  (chocolatey-archiveGH-125) Wrap PowerShell Redirect in Try/Catch
  (chocolatey-archiveGH-69) Fix - default provider example
  (doc) make that text a bit more prominent
  (version) 1.2.3 for real
  (version) 1.2.3
  (doc) add editions of Chocolatey
  (chocolatey-archiveGH-100) Do not call choco with --debug --verbose
  (version) 1.2.2
  Sign the installer script template
  (chocolatey-archiveGH-119) Implement PowerShell Redirection Fix
ferventcoder added a commit to ferventcoder/puppet-chocolatey that referenced this issue Jul 11, 2016
* master:
  (version) 1.2.6
  (MODULES-3536) modsync update
  (maint) Remove travis and metadata-json-lint gems
  (chocolatey-archiveGH-134) Only Enable AutoUninstaller in 0.9.9.x
  (version) 1.2.5
  (maint) prep for release of 1.2.5
  (chocolatey-archiveGH-128) PowerShell 1.x provider fixes for "else"
  (chocolatey-archiveGH-133) Feature list update for  0.9.10
  (version) 1.2.4
  (chocolatey-archiveGH-125) Compatible Up to PowerShell Provider 3.x
  (chocolatey-archiveGH-125) Wrap PowerShell Redirect in Try/Catch
  (chocolatey-archiveGH-69) Fix - default provider example
  (doc) make that text a bit more prominent
  (version) 1.2.3 for real
  (version) 1.2.3
  (doc) add editions of Chocolatey
  (chocolatey-archiveGH-100) Do not call choco with --debug --verbose
  (version) 1.2.2
  Sign the installer script template
  (chocolatey-archiveGH-119) Implement PowerShell Redirection Fix
ferventcoder pushed a commit to ferventcoder/puppet-chocolatey that referenced this issue May 4, 2017
…les-4508_version_parameter_fix

(Modules-4508) Fixed error with version parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants