Skip to content

Commit

Permalink
[maint] Fix puppet-lint warnings introduced with 2.2.0 puppet-lint re…
Browse files Browse the repository at this point in the history
…lease
  • Loading branch information
Wilson McCoubrey committed Mar 29, 2017
1 parent dd9cbfd commit 3029b81
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@
validate_bool($enable_autouninstaller)

if ((versioncmp($::clientversion, '3.4.0') >= 0) and (!defined('$::serverversion') or versioncmp($::serverversion, '3.4.0') >= 0)) {
class { '::chocolatey::install': } ->
class { '::chocolatey::config': }
class { '::chocolatey::install': }
-> class { '::chocolatey::config': }

contain '::chocolatey::install'
contain '::chocolatey::config'
} else {
anchor {'before_chocolatey':} ->
class { '::chocolatey::install': } ->
class { '::chocolatey::config': } ->
anchor {'after_chocolatey':}
anchor {'before_chocolatey':}
-> class { '::chocolatey::install': }
-> class { '::chocolatey::config': }
-> anchor {'after_chocolatey':}
}
}

0 comments on commit 3029b81

Please sign in to comment.