Skip to content

Commit

Permalink
Changed manifest/repo/debian.pp so that it doesn't use an LSB fact, t…
Browse files Browse the repository at this point in the history
…hen remove the installation of the lsb package requirement.
  • Loading branch information
ubellavance committed May 2, 2017
1 parent c8d6c1c commit 2236397
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
validate_re($admin_api_key_name, ['^\w{5,20}$','api_key_name is required and must be 5-20 characters.'])
validate_re($admin_api_key_secret, ['^\w{64}$','api_key_secret is required and must be 64 characters.'])
anchor { 'zendserver::begin': } ->
class { '::zendserver::requirements': } ->
class { '::zendserver::install': } ->
class { '::zendserver::sdk::install': } ->
class { '::zendserver::bootstrap': } ~>
Expand Down
2 changes: 1 addition & 1 deletion manifests/repo/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

case $::operatingsystem {
'Ubuntu' : {
if $::lsbdistrelease + 0 >= 14.04 {
if $::operatingsystemrelease + 0 >= 14.04 {
$zend_repository = "http://repos.zend.com/zend-server/${zendserver::zend_server_version}/deb_apache2.4"
} else {
$zend_repository = "http://repos.zend.com/zend-server/${zendserver::zend_server_version}/deb_ssl1.0"
Expand Down
8 changes: 0 additions & 8 deletions manifests/requirements.pp

This file was deleted.

0 comments on commit 2236397

Please sign in to comment.