auser-poolparty 0.2.22 → 0.2.23
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.
- data/Manifest.txt +2 -1
- data/bin/cloud-configure +5 -5
- data/bin/server-build-messenger +0 -1
- data/bin/server-start-master +4 -2
- data/lib/poolparty/base_packages/heartbeat.rb +48 -47
- data/lib/poolparty/base_packages/poolparty.rb +41 -13
- data/lib/poolparty/core/hash.rb +2 -2
- data/lib/poolparty/helpers/provisioner_base.rb +4 -2
- data/lib/poolparty/helpers/provisioners/master.rb +3 -3
- data/lib/poolparty/pool/resource.rb +14 -7
- data/lib/poolparty/pool/resources/class_package.rb +3 -0
- data/lib/poolparty/pool/resources/conditional.rb +1 -1
- data/lib/poolparty/pool/resources/exec.rb +1 -1
- data/lib/poolparty/pool/resources/gem_package.rb +18 -10
- data/lib/poolparty/version.rb +1 -1
- data/poolparty.gemspec +3 -2
- data/spec/poolparty/pool/resource_spec.rb +3 -3
- data/website/index.html +1 -1
- metadata +3 -2
- data/lib/poolparty/templates/fileserver.conf +0 -4
data/Manifest.txt
CHANGED
@@ -42,6 +42,7 @@ examples/with_apache_plugin.rb
|
|
42
42
|
generators/poolspec/USAGE
|
43
43
|
generators/poolspec/poolspec_generator.rb
|
44
44
|
generators/poolspec/templates/pool_spec_template.erb
|
45
|
+
lib/erlang/messenger/.hosts.erlang
|
45
46
|
lib/erlang/messenger/Emakefile
|
46
47
|
lib/erlang/messenger/Makefile
|
47
48
|
lib/erlang/messenger/README
|
@@ -63,6 +64,7 @@ lib/erlang/messenger/ebin/pm_node_rel-0.1.rel
|
|
63
64
|
lib/erlang/messenger/ebin/pm_node_supervisor.beam
|
64
65
|
lib/erlang/messenger/ebin/pm_packager.beam
|
65
66
|
lib/erlang/messenger/ebin/utils.beam
|
67
|
+
lib/erlang/messenger/erl_crash.dump
|
66
68
|
lib/erlang/messenger/lib/eunit/AUTHORS
|
67
69
|
lib/erlang/messenger/lib/eunit/CHANGELOG
|
68
70
|
lib/erlang/messenger/lib/eunit/COPYING
|
@@ -222,7 +224,6 @@ lib/poolparty/pool/tmp/poolparty.pp
|
|
222
224
|
lib/poolparty/pool/tmp/tc-instances.list
|
223
225
|
lib/poolparty/templates/authkeys
|
224
226
|
lib/poolparty/templates/cib.xml
|
225
|
-
lib/poolparty/templates/fileserver.conf
|
226
227
|
lib/poolparty/templates/gem
|
227
228
|
lib/poolparty/templates/ha.cf
|
228
229
|
lib/poolparty/templates/haproxy.conf
|
data/bin/cloud-configure
CHANGED
@@ -19,12 +19,12 @@ include Remote
|
|
19
19
|
with_cloud(cloud, {:testing => o.testing, :location => @location, :provision_class => @provision_class}) do
|
20
20
|
|
21
21
|
hide_output do
|
22
|
-
if provision_class == "master" || provision_class == "all"
|
22
|
+
# if provision_class == "master" || provision_class == "all"
|
23
23
|
Provisioner.configure_master(self, testing)
|
24
|
-
end
|
25
|
-
if provision_class == "slave" || provision_class == "all"
|
26
|
-
|
27
|
-
end
|
24
|
+
# end
|
25
|
+
# if provision_class == "slave" || provision_class == "all"
|
26
|
+
# Provisioner.configure_slaves(self, testing)
|
27
|
+
# end
|
28
28
|
end
|
29
29
|
clear_base_directory unless testing
|
30
30
|
end
|
data/bin/server-build-messenger
CHANGED
@@ -12,7 +12,6 @@ ERLC_FLAGS = "-I#{INCLUDE}"
|
|
12
12
|
# erl -pa ./ebin/ -run pm_packager recompile_scripts #{@version} -run init stop -noshell
|
13
13
|
cmd =<<-EOE
|
14
14
|
cd #{root_dir}
|
15
|
-
rm ebin/*.beam
|
16
15
|
erlc -pa ./ebin -o ebin ./src/*.erl
|
17
16
|
erl -pa ./ebin -s pm_packager start -s init stop
|
18
17
|
EOE
|
data/bin/server-start-master
CHANGED
@@ -16,11 +16,13 @@ include Remote
|
|
16
16
|
|
17
17
|
@clouds.each do |name, cloud|
|
18
18
|
|
19
|
-
with_cloud(cloud, {:testing => o.testing }) do
|
19
|
+
with_cloud(cloud, {:testing => o.testing, :verbose => o.verbose }) do
|
20
20
|
|
21
21
|
boot_file = "#{Messenger.append_dir}/pm_master_rel-0.1"
|
22
22
|
command = Messenger.erl_command("master", "-boot #{boot_file} #{noshell ? "" : "-detached -heart"}")
|
23
|
-
|
23
|
+
|
24
|
+
puts "Running #{command}" if verbose
|
25
|
+
|
24
26
|
Kernel.system command
|
25
27
|
end
|
26
28
|
|
@@ -2,54 +2,55 @@ module PoolParty
|
|
2
2
|
class Base
|
3
3
|
plugin :heartbeat do
|
4
4
|
|
5
|
+
# TODO: Reimplement heartbeat
|
5
6
|
def enable
|
6
|
-
execute_if("$hostname", "master") do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
end
|
45
|
-
|
46
|
-
execute_if("$hostname", "master") do
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
end
|
7
|
+
# execute_if("$hostname", "master") do
|
8
|
+
# has_package(:name => "heartbeat-2", :ensure => "installed") do
|
9
|
+
# # These can also be passed in via hash
|
10
|
+
# has_service(:name => "heartbeat", :hasstatus => true)
|
11
|
+
#
|
12
|
+
# has_remotefile(:name => "/etc/ha.d/ha.cf") do
|
13
|
+
# mode 444
|
14
|
+
# notify service(:name => "heartbeat")
|
15
|
+
# template File.join(File.dirname(__FILE__), "..", "templates/ha.cf")
|
16
|
+
# end
|
17
|
+
#
|
18
|
+
# has_exec(:name => "heartbeat-update-cib", :command => "/usr/sbin/cibadmin -R -x /etc/ha.d/cib.xml", :refreshonly => true)
|
19
|
+
#
|
20
|
+
# has_remotefile(:name => "/etc/ha.d/authkeys") do
|
21
|
+
# mode 400
|
22
|
+
# notify service(:name => "heartbeat")
|
23
|
+
# template File.join(File.dirname(__FILE__), "..", "templates/authkeys")
|
24
|
+
# end
|
25
|
+
#
|
26
|
+
# has_remotefile(:name => "/etc/ha.d/cib.xml") do
|
27
|
+
# mode 444
|
28
|
+
# notify exec(:name => "heartbeat-update-cib")
|
29
|
+
# template File.join(File.dirname(__FILE__), "..", "templates/cib.xml")
|
30
|
+
# end
|
31
|
+
# end
|
32
|
+
#
|
33
|
+
# if @parent.provisioning?
|
34
|
+
# variable(:name => "ha_nodenames", :value => "#{list_of_running_instances.map{|a| "#{a.send :name}" }.join("\t")}")
|
35
|
+
# variable(:name => "ha_node_ips", :value => "#{list_of_running_instances.map{|a| "#{a.send :ip}" }.join("\t")}")
|
36
|
+
# else
|
37
|
+
# # variables for the templates
|
38
|
+
# variable(:name => "ha_nodenames", :value => "generate('/usr/bin/env', '/var/lib/gems/1.8/bin/server-list-active', '-c', 'name')")
|
39
|
+
# variable(:name => "ha_node_ips", :value => "generate('/usr/bin/env', '/var/lib/gems/1.8/bin/server-list-active', '-c', 'ip')")
|
40
|
+
# end
|
41
|
+
#
|
42
|
+
# has_variable({:name => "ha_timeout", :value => (self.respond_to?(:timeout) ? timeout : "5s")})
|
43
|
+
# has_variable({:name => "ha_port", :value => (self.respond_to?(:port) ? port : Base.port)})
|
44
|
+
#
|
45
|
+
# end
|
46
|
+
#
|
47
|
+
# execute_if("$hostname", "master") do
|
48
|
+
# if list_of_node_names.size > 1
|
49
|
+
# has_exec(:name => "update pem for heartbeat", :refreshonly => true) do
|
50
|
+
# command "scp /etc/puppet/ssl/ca/ca_crl.pem #{user || Base.user}@#{list_of_node_ips[1]}:/etc/puppet/ssl/ca"
|
51
|
+
# end
|
52
|
+
# end
|
53
|
+
# end
|
53
54
|
|
54
55
|
end
|
55
56
|
end
|
@@ -3,6 +3,22 @@ module PoolParty
|
|
3
3
|
plugin :poolparty do
|
4
4
|
|
5
5
|
def enable
|
6
|
+
# These are all requirements on the master
|
7
|
+
execute_if("$hostname", "master") do
|
8
|
+
has_cron({:name => "maintain script ", :command => ". /etc/profile && which cloud-maintain | /bin/sh", :minute => "*/3"})
|
9
|
+
# TODO: Update this so it only runs when needed
|
10
|
+
has_exec(:name => ". /etc/profile && server-start-master")
|
11
|
+
# has_exec(:name => "download-activesupport", :cwd => Base.remote_storage_path) do
|
12
|
+
# command "wget http://rubyforge.org/frs/download.php/45627/activesupport-2.1.2.gem -O activesupport.gem"
|
13
|
+
# end
|
14
|
+
# has_exec(:name => "download-ParseTree", :cwd => Base.remote_storage_path) do
|
15
|
+
# command "wget http://rubyforge.org/frs/download.php/45600/ParseTree-3.0.1.gem -O ParseTree.gem"
|
16
|
+
# end
|
17
|
+
# has_exec(:name => "download-RubyInline", :cwd => Base.remote_storage_path) do
|
18
|
+
# command "wget http://rubyforge.org/frs/download.php/45683/RubyInline-3.8.1.gem -O RubyInline.gem"
|
19
|
+
# end
|
20
|
+
end
|
21
|
+
|
6
22
|
has_package(:name => "erlang")
|
7
23
|
has_package(:name => "erlang-dev")
|
8
24
|
has_package(:name => "erlang-src")
|
@@ -10,21 +26,21 @@ module PoolParty
|
|
10
26
|
has_package(:name => "rubygems") do |g|
|
11
27
|
# These should be installed automagically by poolparty, but just in case
|
12
28
|
# TODO: Fix the requires method with a helper
|
13
|
-
g.has_gempackage(:name => "logging")
|
29
|
+
g.has_gempackage(:name => "logging", :download_url => "http://rubyforge.org/frs/download.php/44731/logging-0.9.4.gem")
|
14
30
|
g.has_gempackage(:name => "xml-simple") do |x|
|
15
31
|
x.has_gempackage(:name => "grempe-amazon-ec2", :source => "http://gems.github.com")
|
16
32
|
end
|
17
33
|
|
18
|
-
has_gempackage(:name => "ParseTree", :
|
19
|
-
pt.has_gempackage(:name => "ruby2ruby")
|
20
|
-
pt.has_gempackage(:name => "activesupport") do |a|
|
34
|
+
has_gempackage(:name => "ParseTree", :download_url => "http://rubyforge.org/frs/download.php/45600/ParseTree-3.0.1.gem") do |pt|
|
35
|
+
pt.has_gempackage(:name => "ruby2ruby", :download_url => "http://rubyforge.org/frs/download.php/45587/ruby2ruby-1.2.0.gem")
|
36
|
+
pt.has_gempackage(:name => "activesupport", :download_url => "http://rubyforge.org/frs/download.php/45627/activesupport-2.1.2.gem") do |a|
|
21
37
|
a.has_gempackage(:name => "auser-poolparty", :source => "http://gems.github.com") do |pool|
|
22
|
-
pool.has_exec(:name => "build_messenger", :command => ". /etc/profile && server-build-messenger") do |mess|
|
38
|
+
pool.has_exec(:name => "build_messenger", :command => ". /etc/profile && server-build-messenger", :requires => get_gempackage("auser-poolparty")) do |mess|
|
23
39
|
mess.has_exec(:name => "start_node", :command => ". /etc/profile && server-start-node")
|
24
40
|
end
|
25
41
|
end
|
26
42
|
end
|
27
|
-
has_gempackage(:name => "RubyInline")
|
43
|
+
has_gempackage(:name => "RubyInline", :download_url => "http://rubyforge.org/frs/download.php/45683/RubyInline-3.8.1.gem")
|
28
44
|
end
|
29
45
|
|
30
46
|
end
|
@@ -40,14 +56,26 @@ module PoolParty
|
|
40
56
|
has_cron(:name => "puppetd runner", :user => Base.user, :minute => [0,15,30,45]) do
|
41
57
|
command((self.respond_to?(:master) ? self : parent).master.puppet_runner_command)
|
42
58
|
end
|
43
|
-
|
44
|
-
# These are all requirements on the master
|
45
|
-
execute_if("$hostname", "master") do
|
46
|
-
has_cron({:name => "maintain script ", :command => ". /etc/profile && which cloud-maintain | /bin/sh", :minute => "*/3"})
|
47
|
-
# TODO: Update this so it only runs when needed
|
48
|
-
has_exec(:name => ". /etc/profile && server-start-master")
|
49
|
-
end
|
50
59
|
# has_host(:name => "puppet", :ip => (self.respond_to?(:master) ? self : parent).master.ip)
|
60
|
+
custom_function <<-EOE
|
61
|
+
define download_file(
|
62
|
+
$site="",
|
63
|
+
$cwd="",
|
64
|
+
$creates="",
|
65
|
+
$require="",
|
66
|
+
$user="") {
|
67
|
+
|
68
|
+
exec { $name:
|
69
|
+
command => "wget ${site}/${name}",
|
70
|
+
cwd => $cwd,
|
71
|
+
creates => "${cwd}/${name}",
|
72
|
+
require => $require,
|
73
|
+
user => $user,
|
74
|
+
}
|
75
|
+
|
76
|
+
}
|
77
|
+
|
78
|
+
EOE
|
51
79
|
end
|
52
80
|
|
53
81
|
end
|
data/lib/poolparty/core/hash.rb
CHANGED
@@ -16,13 +16,13 @@ class Hash
|
|
16
16
|
returning Hash.new do |h|
|
17
17
|
h.merge!(self)
|
18
18
|
other_hash.each do |k,v|
|
19
|
-
h[k] = has_key?(k) ? [self[k], v].flatten : v
|
19
|
+
h[k] = has_key?(k) ? [self[k], v].flatten.uniq : v
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
23
|
def append!(other_hash)
|
24
24
|
other_hash.each do |k,v|
|
25
|
-
self[k] = has_key?(k) ? [self[k], v].flatten : v
|
25
|
+
self[k] = has_key?(k) ? [self[k], v].flatten.uniq : v
|
26
26
|
end
|
27
27
|
self
|
28
28
|
end
|
@@ -241,8 +241,10 @@ module PoolParty
|
|
241
241
|
"
|
242
242
|
touch /etc/apt/sources.list
|
243
243
|
echo 'deb http://mirrors.kernel.org/ubuntu hardy main universe' >> /etc/apt/sources.list
|
244
|
-
aptitude update -y
|
245
|
-
|
244
|
+
aptitude update -y <<heredoc
|
245
|
+
Y
|
246
|
+
heredoc
|
247
|
+
aptitude autoclean
|
246
248
|
"
|
247
249
|
else
|
248
250
|
"# No system upgrade needed"
|
@@ -74,6 +74,9 @@ mkdir -p /etc/poolparty
|
|
74
74
|
def setup_autosigning
|
75
75
|
<<-EOS
|
76
76
|
echo "*" > /etc/puppet/autosign.conf
|
77
|
+
killall ruby
|
78
|
+
rm -rf /etc/puppet/ssl/*
|
79
|
+
puppetmasterd --verbose
|
77
80
|
EOS
|
78
81
|
end
|
79
82
|
|
@@ -124,9 +127,6 @@ cp #{Base.remote_storage_path}/#{Base.default_specfile_name} #{Base.base_config_
|
|
124
127
|
# puppetd --listen --fqdn #{@instance.name}
|
125
128
|
def restart_puppetd
|
126
129
|
<<-EOS
|
127
|
-
killall ruby
|
128
|
-
rm -rf /etc/puppet/ssl/*
|
129
|
-
puppetmasterd --verbose
|
130
130
|
. /etc/profile && #{@instance.puppet_runner_command}
|
131
131
|
EOS
|
132
132
|
end
|
@@ -105,9 +105,9 @@ module PoolParty
|
|
105
105
|
# the options
|
106
106
|
# Finally, it uses the parent's options as the lowest priority
|
107
107
|
def initialize(opts={}, parent=self, &block)
|
108
|
-
# Take the options of the parents
|
109
|
-
set_resource_parent(parent)
|
108
|
+
# Take the options of the parents
|
110
109
|
set_vars_from_options(opts) unless opts.empty?
|
110
|
+
set_resource_parent(parent)
|
111
111
|
self.run_in_context &block if block
|
112
112
|
loaded(opts, @parent)
|
113
113
|
end
|
@@ -115,7 +115,9 @@ module PoolParty
|
|
115
115
|
def set_resource_parent(parent=nil)
|
116
116
|
if parent && parent != self
|
117
117
|
@parent = parent
|
118
|
-
|
118
|
+
if @parent.is_a?(PoolParty::Resources::Resource) && @parent.printable? && @parent.name != name
|
119
|
+
# requires @parent.to_s
|
120
|
+
end
|
119
121
|
end
|
120
122
|
end
|
121
123
|
|
@@ -141,9 +143,6 @@ module PoolParty
|
|
141
143
|
def self.custom_function(str)
|
142
144
|
custom_functions << str
|
143
145
|
end
|
144
|
-
def self.custom_function(str)
|
145
|
-
custom_functions << str
|
146
|
-
end
|
147
146
|
def self.custom_functions
|
148
147
|
@custom_functions ||= []
|
149
148
|
end
|
@@ -164,6 +163,13 @@ module PoolParty
|
|
164
163
|
def disallowed_options
|
165
164
|
[]
|
166
165
|
end
|
166
|
+
def allowed_options
|
167
|
+
[
|
168
|
+
:subscribe, :owner, :group, :path, :mode, :source, :notify, :subscribe, :check, :creates, :cwd, :command, :ensure,
|
169
|
+
:require, :schedule, :range, :alias, :hour, :minute, :user, :month, :monthday, :name, :onlyif, :unless, :refreshonly,
|
170
|
+
:refresh, :content, :template, :ip, :repeat, :provider, :key
|
171
|
+
]
|
172
|
+
end
|
167
173
|
def key
|
168
174
|
name
|
169
175
|
end
|
@@ -191,7 +197,8 @@ module PoolParty
|
|
191
197
|
else
|
192
198
|
opts = {}
|
193
199
|
end
|
194
|
-
@
|
200
|
+
@full_allowed_options ||= allowed_options.reject {|ele| disallowed_options.include?(ele) }
|
201
|
+
@modified_options = opts.reject {|k,v| !@full_allowed_options.include?(k) }
|
195
202
|
end
|
196
203
|
@modified_options
|
197
204
|
end
|
@@ -13,7 +13,7 @@ module PoolParty
|
|
13
13
|
class Conditional < Resource
|
14
14
|
|
15
15
|
def initialize(opts={}, parent=self, &block)
|
16
|
-
name "#{opts[:attribute]} == #{opts[:equal]}"
|
16
|
+
name "#{opts[:name] ? opts[:name] : opts[:attribute]} == #{opts[:equal]}"
|
17
17
|
attribute opts[:attribute]
|
18
18
|
equal opts[:equal]
|
19
19
|
super
|
@@ -9,16 +9,24 @@ module PoolParty
|
|
9
9
|
#
|
10
10
|
# TODO: Add it so that it tries to pull the gem off the master fileserver first...
|
11
11
|
def loaded(opts={}, parent=self)
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
1
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
if download_url
|
13
|
+
execute_if("$hostname", "master") do
|
14
|
+
has_exec(:name => "download-#{name}", :cwd => Base.remote_storage_path, :command => "wget #{download_url} -O #{name}.gem", :ifnot => "test -f #{Base.remote_storage_path}/#{name}.gem")
|
15
|
+
end
|
16
|
+
has_file(:name => "#{Base.remote_storage_path}/#{name}.gem", :source => "#{Base.fileserver_base}/#{name}.gem")
|
17
|
+
|
18
|
+
has_exec(opts.merge({:name => "#{name}", :cwd =>"#{Base.remote_storage_path}", :path => "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/var/lib/gems/1.8/bin"})) do
|
19
|
+
command "gem install -y --no-ri --no-rdoc #{name}.gem"
|
20
|
+
ifnot "gem list --local #{name} | grep #{name} #{"| grep #{version}" if version}"
|
21
|
+
requires get_file("#{Base.remote_storage_path}/#{name}.gem")
|
22
|
+
end
|
23
|
+
else
|
24
|
+
has_exec(opts.merge({:name => "#{name}", :cwd => "/tmp", :path => "/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/var/lib/gems/1.8/bin"})) do
|
25
|
+
command "gem install -y --no-ri --no-rdoc #{"--version #{version}" if version} #{"--source #{source}" if source} #{name} <<heredoc
|
26
|
+
1
|
27
|
+
heredoc"
|
28
|
+
ifnot "gem list --local #{name} | grep #{name} #{"| grep #{version}" if version}"
|
29
|
+
end
|
22
30
|
end
|
23
31
|
end
|
24
32
|
def virtual_resource?
|
data/lib/poolparty/version.rb
CHANGED
data/poolparty.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poolparty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ari Lerner
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- generators/poolspec/USAGE
|
141
141
|
- generators/poolspec/poolspec_generator.rb
|
142
142
|
- generators/poolspec/templates/pool_spec_template.erb
|
143
|
+
- lib/erlang/messenger/.hosts.erlang
|
143
144
|
- lib/erlang/messenger/Emakefile
|
144
145
|
- lib/erlang/messenger/Makefile
|
145
146
|
- lib/erlang/messenger/README
|
@@ -161,6 +162,7 @@ files:
|
|
161
162
|
- lib/erlang/messenger/ebin/pm_node_supervisor.beam
|
162
163
|
- lib/erlang/messenger/ebin/pm_packager.beam
|
163
164
|
- lib/erlang/messenger/ebin/utils.beam
|
165
|
+
- lib/erlang/messenger/erl_crash.dump
|
164
166
|
- lib/erlang/messenger/lib/eunit/AUTHORS
|
165
167
|
- lib/erlang/messenger/lib/eunit/CHANGELOG
|
166
168
|
- lib/erlang/messenger/lib/eunit/COPYING
|
@@ -320,7 +322,6 @@ files:
|
|
320
322
|
- lib/poolparty/pool/tmp/tc-instances.list
|
321
323
|
- lib/poolparty/templates/authkeys
|
322
324
|
- lib/poolparty/templates/cib.xml
|
323
|
-
- lib/poolparty/templates/fileserver.conf
|
324
325
|
- lib/poolparty/templates/gem
|
325
326
|
- lib/poolparty/templates/ha.cf
|
326
327
|
- lib/poolparty/templates/haproxy.conf
|
@@ -356,9 +356,9 @@ describe "Resource" do
|
|
356
356
|
end
|
357
357
|
end
|
358
358
|
end
|
359
|
-
it "should grab the resource when called in in a block" do
|
360
|
-
|
361
|
-
end
|
359
|
+
it "should grab the resource when called in in a block"# do
|
360
|
+
# @cloud2.resources_string_from_resources(@cloud2.resources).should =~ /\[ Package\['apache2'\], Package\['boxers'\] \]/
|
361
|
+
# end
|
362
362
|
end
|
363
363
|
end
|
364
364
|
end
|
data/website/index.html
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
<h1>PoolParty</h1>
|
35
35
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/poolparty"; return false'>
|
36
36
|
<p>Get Version</p>
|
37
|
-
<a href="http://rubyforge.org/projects/poolparty" class="numbers">0.2.
|
37
|
+
<a href="http://rubyforge.org/projects/poolparty" class="numbers">0.2.24</a>
|
38
38
|
</div>
|
39
39
|
<h1>‘Easy cloud computing’</h1>
|
40
40
|
<h2>What</h2>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auser-poolparty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ari Lerner
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- generators/poolspec/USAGE
|
141
141
|
- generators/poolspec/poolspec_generator.rb
|
142
142
|
- generators/poolspec/templates/pool_spec_template.erb
|
143
|
+
- lib/erlang/messenger/.hosts.erlang
|
143
144
|
- lib/erlang/messenger/Emakefile
|
144
145
|
- lib/erlang/messenger/Makefile
|
145
146
|
- lib/erlang/messenger/README
|
@@ -161,6 +162,7 @@ files:
|
|
161
162
|
- lib/erlang/messenger/ebin/pm_node_supervisor.beam
|
162
163
|
- lib/erlang/messenger/ebin/pm_packager.beam
|
163
164
|
- lib/erlang/messenger/ebin/utils.beam
|
165
|
+
- lib/erlang/messenger/erl_crash.dump
|
164
166
|
- lib/erlang/messenger/lib/eunit/AUTHORS
|
165
167
|
- lib/erlang/messenger/lib/eunit/CHANGELOG
|
166
168
|
- lib/erlang/messenger/lib/eunit/COPYING
|
@@ -320,7 +322,6 @@ files:
|
|
320
322
|
- lib/poolparty/pool/tmp/tc-instances.list
|
321
323
|
- lib/poolparty/templates/authkeys
|
322
324
|
- lib/poolparty/templates/cib.xml
|
323
|
-
- lib/poolparty/templates/fileserver.conf
|
324
325
|
- lib/poolparty/templates/gem
|
325
326
|
- lib/poolparty/templates/ha.cf
|
326
327
|
- lib/poolparty/templates/haproxy.conf
|