charmkit 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/charmkit/plugins/php.rb +19 -0
- data/lib/charmkit/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 203289a3aae8632c1d17184802978a559efba7c1
|
4
|
+
data.tar.gz: 8d69c49efde5af1203d7414663abd5c8c2ae9a7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54d8fa719cafe769644e60412dbc8c046729f1e793dd436de91534464238b2350404ec1126987d1d7839721ba76b720dfa740de693e7a09d0df97830cc7637ef
|
7
|
+
data.tar.gz: cc4ae72da3dc9f4e15e18341157c90e2c0a6b4d92fcb9c1b34ab4eda95e23e38bcc9712520ad7ff78f93244b96315db8d521524f4e5241b72a1919593a2d4afc
|
@@ -0,0 +1,19 @@
|
|
1
|
+
namespace :php do
|
2
|
+
desc "Install PHP"
|
3
|
+
task :install do
|
4
|
+
pkgs = [
|
5
|
+
'php-fpm',
|
6
|
+
'php-cgi',
|
7
|
+
'php-curl',
|
8
|
+
'php-gd',
|
9
|
+
'php-json',
|
10
|
+
'php-mcrypt',
|
11
|
+
'php-readline',
|
12
|
+
'php-mbstring',
|
13
|
+
'php-xml'
|
14
|
+
]
|
15
|
+
`apt-get update`
|
16
|
+
`juju-log "Installing PHP7 and its dependencies."`
|
17
|
+
`apt-get install -qyf #{pkgs.join(' ')}`
|
18
|
+
end
|
19
|
+
end
|
data/lib/charmkit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: charmkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Stokes
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- lib/charmkit/extend/string_tools.rb
|
110
110
|
- lib/charmkit/helpers/template.rb
|
111
111
|
- lib/charmkit/plugins/nginx.rb
|
112
|
+
- lib/charmkit/plugins/php.rb
|
112
113
|
- lib/charmkit/version.rb
|
113
114
|
homepage: http://charmkit.org
|
114
115
|
licenses:
|