Skip to content

Commit

Permalink
(GH-646) Use Package[sensu], not Package[Sensu] on Windows
Browse files Browse the repository at this point in the history
Partially resolves #646

Still running into this error:

    Error: Parameter ensure failed on Package[sensu]: Provider windows
    must have features 'upgradeable' to set 'ensure' to 'latest' at
    sensu/manifests/package.pp:64
  • Loading branch information
jeffmccune committed Jun 29, 2017
1 parent d595619 commit 6d8fc94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/package.pp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
$repo_require = undef

$pkg_version = inline_template("<%= scope.lookupvar('sensu::version').sub(/(.*)\\-/, '\\1.') %>")
$pkg_title = 'Sensu'
$pkg_name = 'Sensu'
$pkg_title = 'sensu'
$pkg_name = 'sensu'
$pkg_source = "C:\\Windows\\Temp\\sensu-${sensu::version}.msi"
$pkg_require = "Remote_file[${pkg_source}]"

Expand Down

0 comments on commit 6d8fc94

Please sign in to comment.