specinfra 1.27.0 → 1.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/debian.rb +6 -2
- data/lib/specinfra/version.rb +1 -1
- data/wercker.yml +12 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83af416377b0ed2f4c241ac74d82f7a0898e43ec
|
4
|
+
data.tar.gz: 7543a9182df8765d2961b3e0fb3ea635e8940fab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f57d1bfb3e5daa4f4982444f74e75ea8d10196af297f6dfb7f0eb33ea73079faa4b065f0c1c23c692a78c65815320dc9c1de695d82c6440ada8687a651426a46
|
7
|
+
data.tar.gz: 820ae72274841b017505385a107088f50a837283ab68b5e278dc0458bcd35577425f01ed4e0bda59a35ae02d6cac94affff3cbef5e5381cbe38c51df89a8e034
|
@@ -2,8 +2,12 @@ module SpecInfra
|
|
2
2
|
module Command
|
3
3
|
class Debian < Linux
|
4
4
|
def check_enabled(service, level=3)
|
5
|
-
#
|
6
|
-
|
5
|
+
# Debian jessie default init system (on Linux) is systemd,
|
6
|
+
# but upstart and sysvinit is also available.
|
7
|
+
cmd = "if [ -d /run/systemd/system ]; then systemctl --plain list-dependencies runlevel#{level}.target | grep '^#{escape(service)}.service$'; "
|
8
|
+
cmd += "else ls /etc/rc#{level}.d/ | grep -- '^S..#{escape(service)}' || grep 'start on' /etc/init/#{escape(service)}.conf; "
|
9
|
+
cmd += "fi"
|
10
|
+
"sh -c \"#{cmd}\""
|
7
11
|
end
|
8
12
|
|
9
13
|
def check_installed(package, version=nil)
|
data/lib/specinfra/version.rb
CHANGED
data/wercker.yml
CHANGED
@@ -26,35 +26,39 @@ build:
|
|
26
26
|
name: Run vagrant up centos65
|
27
27
|
code: vagrant up centos65 --provider=digital_ocean
|
28
28
|
cwd: $WORKING_DIR
|
29
|
+
- script:
|
30
|
+
name: Run itamae
|
31
|
+
code: bundle exec itamae ssh --host centos65 --vagrant recipe.rb
|
32
|
+
cwd: $WORKING_DIR
|
29
33
|
- script:
|
30
34
|
name: Run vagrant reload centos65
|
31
35
|
code: vagrant reload centos65
|
32
36
|
cwd: $WORKING_DIR
|
33
37
|
- script:
|
34
38
|
name: Run rake spec:centos65
|
35
|
-
code: rake spec:centos65
|
39
|
+
code: DIGITALOCEAN=true rake spec:centos65
|
36
40
|
cwd: $WORKING_DIR
|
37
41
|
- script:
|
38
42
|
name: Run vagrant up ubuntu1404
|
39
43
|
code: vagrant up ubuntu1404 --provider=digital_ocean
|
40
44
|
cwd: $WORKING_DIR
|
45
|
+
- script:
|
46
|
+
name: Run itamae
|
47
|
+
code: bundle exec itamae ssh --host ubuntu1404 --vagrant recipe.rb
|
48
|
+
cwd: $WORKING_DIR
|
41
49
|
- script:
|
42
50
|
name: Run vagrant reload ubuntu1404
|
43
51
|
code: vagrant reload ubuntu1404
|
44
52
|
cwd: $WORKING_DIR
|
45
53
|
- script:
|
46
54
|
name: Run rake spec:ubuntu1404
|
47
|
-
code: rake spec:ubuntu1404
|
55
|
+
code: DIGITALOCEAN=true rake spec:ubuntu1404
|
48
56
|
cwd: $WORKING_DIR
|
49
57
|
|
50
58
|
after-steps:
|
51
59
|
- script:
|
52
|
-
name: Run vagrant destroy
|
53
|
-
code: vagrant destroy
|
54
|
-
cwd: $WORKING_DIR
|
55
|
-
- script:
|
56
|
-
name: Run vagrant destroy ubuntu1404
|
57
|
-
code: vagrant destroy ubuntu1404 --force
|
60
|
+
name: Run vagrant destroy
|
61
|
+
code: vagrant destroy --force
|
58
62
|
cwd: $WORKING_DIR
|
59
63
|
- 1syo/idobata-notify@0.1.1:
|
60
64
|
token: $IDOBATA_TOKEN
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.27.
|
4
|
+
version: 1.27.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|