freighthop 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/data/common.json +2 -1
- data/lib/freighthop/version.rb +1 -1
- data/local_modules/freighthop/manifests/database/mysql/grant.pp +9 -2
- data/local_modules/freighthop/manifests/web/apache.pp +1 -0
- data/local_modules/freighthop/templates/apache/passenger.conf.erb +6 -0
- data/modules/freighthop/manifests/database/mysql/grant.pp +9 -2
- data/modules/freighthop/manifests/web/apache.pp +1 -0
- data/modules/freighthop/templates/apache/passenger.conf.erb +6 -0
- metadata +2 -2
data/data/common.json
CHANGED
data/lib/freighthop/version.rb
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
define freighthop::database::mysql::grant(
|
2
|
-
$user
|
2
|
+
$user = $title,
|
3
3
|
) {
|
4
|
-
mysql_grant { "freighthop_mysql_grant_for_${user}":
|
4
|
+
mysql_grant { "freighthop_mysql_grant_for_${user}_localhost":
|
5
|
+
ensure => 'present',
|
6
|
+
options => ['GRANT'],
|
7
|
+
privileges => ['ALL'],
|
8
|
+
table => '*.*',
|
9
|
+
user => "${user}@localhost",
|
10
|
+
}
|
11
|
+
mysql_grant { "freighthop_mysql_grant_for_${user}_external":
|
5
12
|
ensure => 'present',
|
6
13
|
options => ['GRANT'],
|
7
14
|
privileges => ['ALL'],
|
@@ -7,6 +7,12 @@
|
|
7
7
|
# Points to the ruby interpreter that will be used to run applications
|
8
8
|
PassengerDefaultRuby /home/vagrant/.rbenv/shims/ruby
|
9
9
|
|
10
|
+
# Passenger will run as vagrant, where rbenv is installed
|
11
|
+
PassengerDefaultUser vagrant
|
12
|
+
|
13
|
+
# Set the rack/rails environment
|
14
|
+
PassengerAppEnv <%= @passenger_app_env %>
|
15
|
+
|
10
16
|
# Send uploads directly to Rack application without buffering them first.
|
11
17
|
# Allows application to deal in streams for large uploads.
|
12
18
|
# Requires Passenger 4.0.26 or higher; defaults to Off
|
@@ -1,7 +1,14 @@
|
|
1
1
|
define freighthop::database::mysql::grant(
|
2
|
-
$user
|
2
|
+
$user = $title,
|
3
3
|
) {
|
4
|
-
mysql_grant { "freighthop_mysql_grant_for_${user}":
|
4
|
+
mysql_grant { "freighthop_mysql_grant_for_${user}_localhost":
|
5
|
+
ensure => 'present',
|
6
|
+
options => ['GRANT'],
|
7
|
+
privileges => ['ALL'],
|
8
|
+
table => '*.*',
|
9
|
+
user => "${user}@localhost",
|
10
|
+
}
|
11
|
+
mysql_grant { "freighthop_mysql_grant_for_${user}_external":
|
5
12
|
ensure => 'present',
|
6
13
|
options => ['GRANT'],
|
7
14
|
privileges => ['ALL'],
|
@@ -7,6 +7,12 @@
|
|
7
7
|
# Points to the ruby interpreter that will be used to run applications
|
8
8
|
PassengerDefaultRuby /home/vagrant/.rbenv/shims/ruby
|
9
9
|
|
10
|
+
# Passenger will run as vagrant, where rbenv is installed
|
11
|
+
PassengerDefaultUser vagrant
|
12
|
+
|
13
|
+
# Set the rack/rails environment
|
14
|
+
PassengerAppEnv <%= @passenger_app_env %>
|
15
|
+
|
10
16
|
# Send uploads directly to Rack application without buffering them first.
|
11
17
|
# Allows application to deal in streams for large uploads.
|
12
18
|
# Requires Passenger 4.0.26 or higher; defaults to Off
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freighthop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|