Skip to content

Commit 61a7879

Browse files
authored
Merge pull request #27 from sheenaajay/stickk8
k8_jenkins
2 parents 0427a74 + 81c8e33 commit 61a7879

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/acceptance/kubernetes_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class {'kubernetes':
2828
end
2929
end
3030

31-
context 'appliction deployment' do
31+
context 'application deployment' do
3232

3333
it 'can deploy an application into a namespace and expose it' do
3434
shell('sleep 180')
@@ -53,4 +53,4 @@ class {'kubernetes':
5353
end
5454
end
5555
end
56-
end
56+
end

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
on(host, "apt install ruby-bundler --yes", acceptable_exit_codes: [0]).stdout
9898
on(host, "apt-get install ruby-dev --yes", acceptable_exit_codes: [0]).stdout
9999
on(host, "apt-get install build-essential curl git m4 python-setuptools ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev --yes", acceptable_exit_codes: [0]).stdout
100-
on(host, "cd /etc/puppetlabs/code/modules/kubernetes;bundle install", acceptable_exit_codes: [0]).stdout
100+
on(host, "cd /etc/puppetlabs/code/modules/kubernetes;rm -rf Gemfile.lock;bundle install --path vendor/bundle", acceptable_exit_codes: [0]).stdout
101101
# Creating certs
102102
on(host, "export PATH=$PATH:/usr/local/go/bin;export PATH=$PATH:/root/go/bin;cd /etc/puppetlabs/code/modules/kubernetes/tooling;./kube_tool.rb -f kubernetes -i #{vmipaddr} -b #{vmipaddr} -e \"etcd-#{vmhostname}=http://#{vmipaddr}:2380\" -t \"%{::ipaddress_ens160}\" -a \"%{::ipaddress_ens160}\" -d true", acceptable_exit_codes: [0]).stdout
103103
create_remote_file(host, "/etc/hosts", hosts_file)

0 commit comments

Comments
 (0)