Browse Source

Update App Configuration

Added version variable
updated provider on app.php template

Change-Id: I7e7c38925ff5152e3595202743e32aa296bd2c16
changes/75/285475/1
Sebastian Marcet 3 years ago
parent
commit
b94c6b2445
2 changed files with 3 additions and 1 deletions
  1. 1
    0
      manifests/init.pp
  2. 2
    1
      templates/app.php.erb

+ 1
- 0
manifests/init.pp View File

@@ -53,6 +53,7 @@ class openstackid (
53 53
   $oauth2_enable = true,
54 54
   $app_url = '',
55 55
   $app_key = '',
56
+  $app_version = '',
56 57
   $app_timezone = 'UTC'
57 58
 ) {
58 59
 

+ 2
- 1
templates/app.php.erb View File

@@ -116,6 +116,7 @@ return array(
116 116
         'openid\OpenIdServiceProvider',
117 117
         'Greggilbert\Recaptcha\RecaptchaServiceProvider',
118 118
         'services\oauth2\CORS\CORSProvider',
119
+        'factories\FactoriesProvider',
119 120
     ),
120 121
 
121 122
     /*
@@ -182,5 +183,5 @@ return array(
182 183
         'View'            => 'Illuminate\Support\Facades\View',
183 184
         'RedisLV4'        => 'Illuminate\Support\Facades\Redis',
184 185
      ),
185
-
186
+     'version' => '<%= @app_version %>',
186 187
 );

Loading…
Cancel
Save