vagrant-conductor 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d99126e3010e5df38cbea4b54cdd7b29704c6ac9
4
- data.tar.gz: 7be78a68811cd8dc8f63d55584ed27252affcf0b
3
+ metadata.gz: 94dca338ab7a182f5c5d83da81ea46eb0b96f3e9
4
+ data.tar.gz: 184b438feb110974954782b76e2414d3029772b3
5
5
  SHA512:
6
- metadata.gz: 3e4b2d158b41644ff630b7a6ca4a860138211025cb5b9487011307b076235cdcf8f397068d2c634d2bc7f0a96d26f8b407671553a16b711e0134bde19d77c01c
7
- data.tar.gz: 870902bffa71a47fbe872aa9896f0ebf917345b3adecf12e56d93e2aca8d38e2a825794ccd954093d9aec07ced8e5f8867b33efe09b807bef6eda3f9874933a8
6
+ metadata.gz: f69740ff01d9b3192efc2a9a99c2f59ed9f2930244fdcf4ae8bdf8f192861e9895d5e431d47d86c8fd5b0be38cebe834a000582bed87cbe0f2e2e33e71764224
7
+ data.tar.gz: 54acfa0d6acfb3903066b8e6a2d743b67afff6f5193fb2af831bfd05dcef9e11336587497e037bb47e647bcf124c78f20fb92e55edd2f77eb9c974f5ebea9318
@@ -10,7 +10,7 @@ apt-get update
10
10
 
11
11
  # Install PHP
12
12
  apt-get install -y --force-yes \
13
- php7.0-dev \
13
+ php7.0 \
14
14
  php7.0-cli \
15
15
  php7.0-fpm \
16
16
  php-pgsql \
@@ -21,6 +21,7 @@ php-curl \
21
21
  php-imap \
22
22
  php-mysql \
23
23
  php-memcached \
24
+ php7.0-mcrypt \
24
25
  php7.0-readline
25
26
 
26
27
  # Set Some PHP CLI Settings
@@ -12,11 +12,15 @@ cp modules/xdebug.so /usr/lib/php/20151012
12
12
 
13
13
  echo "zend_extension = /usr/lib/php/20151012/xdebug.so" >> '/etc/php/7.0/cli/php.ini'
14
14
 
15
- # Configure
16
- config='/etc/php/7.0/fpm/conf.d/20-xdebug.ini'
17
- touch $config
15
+ # Generate Config
16
+ php_dir="/etc/php/7.0"
17
+ ini="$php_dir/mods-available/xdebug.ini"
18
18
 
19
- echo "xdebug.remote_enable = 1" >> $config
20
- echo "xdebug.remote_connect_back = 1" >> $config
21
- echo "xdebug.remote_port = 9000" >> $config
22
- echo "xdebug.max_nesting_level = 512" >> $config
19
+ if [ ! -f $ini ]; then touch $ini; fi
20
+
21
+ echo "zend_extension = /usr/lib/php/20151012/xdebug.so" > $ini
22
+
23
+ #ln -fs $ini "$php_dir/cli/conf.d/20-xdebug.ini"
24
+ ln -fs $ini "$php_dir/fpm/conf.d/20-xdebug.ini"
25
+
26
+ service php7.0-fpm restart
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Conductor
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-conductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Cuyar
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-05 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler