vagrant-openshift 1.0.16 → 1.0.17

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: f49aa5ef36f1c4daa4d0dfe7139d8e7ac625e952
4
- data.tar.gz: 49228d9fd1d4e834f019adb7f1d1edc65e3847b5
3
+ metadata.gz: 9073818422c2a2480096ac64ea8bf3238b6d76b6
4
+ data.tar.gz: 78bd0ccc260b6b0e65ff9f422847385af5f62fbb
5
5
  SHA512:
6
- metadata.gz: d6f8a216f7644c5d521581489ead8c6902378881d3e3fb451aae8c09ba03f8106388945e27b8fa038f51f8d99e8006db0f1cce141c59a49dad06142c75da8748
7
- data.tar.gz: f6d018a36a95578b4cb4079062a4dfd26ca3ebb78011291994860c6e62b570e9084582e68bb10242f63f4718d886f7656497f984cc3b4a168ee4d4d498072fb5
6
+ metadata.gz: 8a5a1f99318a659084021fe79fe226f5f677556655e94deffe4f45f37e3e95a06e9718f817f7fcb92284ef35449d280ac06ae0cd8d7edb639a2228ff8156acc5
7
+ data.tar.gz: 24823bf9a2edc50d3fd53816f3f0c2a36d3ad97f24f86aa5ef5c688d8fd5cbb2e18a486182ac0a12c431dea68f00fde08b3cae63ba8f94a649de0cbe9132cf92
@@ -34,10 +34,6 @@ set -e
34
34
  hack/verify-gofmt.sh
35
35
  hack/build-release.sh
36
36
  hack/build-images.sh
37
- if [ ! -d _output/etcd ]
38
- then
39
- hack/install-etcd.sh
40
- fi
41
37
  }
42
38
  else
43
39
  cmd = %{
@@ -45,12 +41,15 @@ echo "Performing openshift build..."
45
41
  set -e
46
42
  hack/verify-gofmt.sh
47
43
  hack/build-go.sh
44
+ }
45
+ end
46
+ cmd += %{
47
+
48
48
  if [ ! -d _output/etcd ]
49
49
  then
50
50
  hack/install-etcd.sh
51
51
  fi
52
52
  }
53
- end
54
53
  if @options[:force]
55
54
  build_cmd = cmd
56
55
  cmd = %{
@@ -41,7 +41,8 @@ ORIGIN_PATH=/data/src/github.com/openshift/origin
41
41
  cat > /etc/profile.d/openshift.sh <<DELIM
42
42
  export GOPATH=/data
43
43
  export PATH=$ORIGIN_PATH/_output/etcd/bin:$ORIGIN_PATH/_output/local/go/bin/:$GOPATH/bin:$PATH
44
- export KUBERNETES_MASTER=http://localhost:8080
44
+ #export KUBERNETES_MASTER=http://localhost:8080
45
+ export KUBECONFIG=/openshift.local.certificates/admin/.kubeconfig
45
46
  DELIM
46
47
 
47
48
  source /etc/profile.d/openshift.sh
@@ -58,11 +59,7 @@ then
58
59
  HOST=\\`ip -f inet addr show | grep -Po 'inet \\K[\\d.]+' | grep 10.245 | head -1\\`
59
60
  if [ -z "\\$HOST" ]
60
61
  then
61
- HOST=\\`ip -f inet addr show | grep -Po 'inet \\K[\\d.]+' | grep 10. | head -1\\`
62
- if [ -z "\\$HOST" ]
63
- then
64
- HOST=localhost
65
- fi
62
+ HOST=localhost
66
63
  fi
67
64
  fi
68
65
 
@@ -79,6 +76,8 @@ Documentation=https://github.com/openshift/origin
79
76
  Type=simple
80
77
  EnvironmentFile=-/etc/profile.d/openshift.sh
81
78
  ExecStart=$ORIGIN_PATH/_output/local/go/bin/openshift start --public-master=https://\\${HOST}:8443
79
+ ExecStartPost=/bin/sleep 8
80
+ ExecStartPost=/bin/chmod a+r -R /openshift.local.certificates/admin
82
81
 
83
82
  [Install]
84
83
  WantedBy=multi-user.target
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Vagrant
18
18
  module Openshift
19
- VERSION = "1.0.16"
19
+ VERSION = "1.0.17"
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-openshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Red Hat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake