edurange 0.0.10 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/edurange/puppet_master.rb +3 -2
- data/lib/edurange/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99740d0f712491860a07eb81b1bd43dec70b1bce
|
|
4
|
+
data.tar.gz: 2cae1b5227dfacb637bb17cc30c3e14537786b7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f4c4aa7f6a7bb70e774bb98087df333acbb47cb871194fe21e039628265b3eb8f0a7210ef930e4fc5d57ac645321215e6818bb1b59a9113222fa6f40e7f1a33
|
|
7
|
+
data.tar.gz: af74a472a67193f27dcf15d74209fd85a24f626cf70403a525ac20317e1fe33dd2e0d60f1697d63227f105c6228e7e85af9f39f1100bdcbeaee6305172c7ac5d
|
|
@@ -41,11 +41,12 @@ module Edurange
|
|
|
41
41
|
set -e
|
|
42
42
|
set -x
|
|
43
43
|
echo "Hello World. The time is now $(date -R)!" | tee /root/output.txt
|
|
44
|
-
apt-get update; apt-get upgrade -y
|
|
45
44
|
|
|
46
45
|
key='#{ssh_key.chomp}'
|
|
47
46
|
echo $key >> /home/ubuntu/.ssh/authorized_keys
|
|
48
47
|
|
|
48
|
+
apt-get update; apt-get upgrade -y
|
|
49
|
+
|
|
49
50
|
echo #{puppetmaster_ip} puppet >> /etc/hosts
|
|
50
51
|
apt-get -y install puppet
|
|
51
52
|
|
|
@@ -65,7 +66,7 @@ echo '#{puppet_conf.chomp}' > /etc/puppet/puppet.conf
|
|
|
65
66
|
sed -i /etc/default/puppet -e 's/START=no/START=yes/'
|
|
66
67
|
service puppet restart
|
|
67
68
|
|
|
68
|
-
echo "Goodbye World. The time is now $(date -R)!"
|
|
69
|
+
echo "Goodbye World. The time is now $(date -R)!" >> /root/output.txt
|
|
69
70
|
contents
|
|
70
71
|
file.write(file_contents)
|
|
71
72
|
end
|
data/lib/edurange/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: edurange
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stefan Boesen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-03-
|
|
11
|
+
date: 2013-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: EDURange Project
|
|
14
14
|
email:
|
|
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
53
53
|
version: '0'
|
|
54
54
|
requirements: []
|
|
55
55
|
rubyforge_project:
|
|
56
|
-
rubygems_version: 2.0.
|
|
56
|
+
rubygems_version: 2.0.2
|
|
57
57
|
signing_key:
|
|
58
58
|
specification_version: 4
|
|
59
59
|
summary: Automatic warspace simulations
|