Commit 8acf569a authored by Cyril Rohr's avatar Cyril Rohr
Browse files

Added remaining environments descriptions

parent 8991395b
......@@ -11,4 +11,229 @@ environment 'sid-x64-base-1.0' do
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'sid-x64-base-1.1' do
state "stable"
file({:path => "/grid5000/images/sid-x64-base-1.1.tgz", :md5 => "756ccc2096e9feacde85500d33683dba"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, HP DL385G2, IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100".split(", ")
kernel "2.6.24"
based_on "Debian version sid for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services []
accounts [{:login => "root", :password => "grid5000"}, {:login => "g5k", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'sid-x64-nfs-1.0' do
state "stable"
file({:path => "/home/nancy/xdelaruelle/images/sid-x64-nfs-1.0.tgz", :md5 => "6e004d1ac25e86a1dadc09d28f968eb5"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100".split(", ")
kernel "2.6.18-4"
based_on "Debian version sid for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'sid-x64-nfs-1.1' do
state "stable"
file({:path => "/grid5000/images/sid-x64-nfs-1.1.tgz", :md5 => "4218f5a9bfea4a759fa684db1ec4d89c"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100".split(", ")
kernel "2.6.24.3"
based_on "Debian version sid for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'sid-x64-big-1.1' do
state "stable"
file({:path => "/grid5000/images/sid-x64-big-1.1.tgz", :md5 => "d514bee74404ed5f64ff41b2f60c4f7f"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100".split(", ")
kernel "2.6.24.3"
based_on "Debian version sid for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'etch-x64-base-1.0' do
state "stable"
file({:path => "/grid5000/images/etch-x64-base-1.0.tgz", :md5 => "adcd603db66d9e3da98926174f7d69aa"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.18-6-amd64"
based_on "Debian version etch for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services []
accounts [{:login => "root", :password => "grid5000"}, {:login => "g5k", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'etch-x64-base-1.1' do
state "stable"
file({:path => "/grid5000/images/etch-x64-base-1.1.tgz", :md5 => "457cc632376c2c4cefd975b36bf65072"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.18-6-amd64"
based_on "Debian version etch for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services []
accounts [{:login => "root", :password => "grid5000"}, {:login => "g5k", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'etch-x64-nfs-1.0' do
state "stable"
file({:path => "/grid5000/images/etch-x64-nfs-1.0.tgz", :md5 => "c76462698ae0480aaa48c9b707b96da5"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.18-6-amd64"
based_on "Debian version etch for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'etch-x64-nfs-1.1' do
state "stable"
file({:path => "/grid5000/images/etch-x64-nfs-1.1.tgz", :md5 => "303740c75b7a74c94bb5909d3aa8ac4f"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.18-6-amd64"
based_on "Debian version etch for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'etch-x64-big-1.0' do
state "stable"
file({:path => "/grid5000/images/etch-x64-big-1.0.tgz", :md5 => "5ddf6e898c11846dfb3eb9b2def2d2de"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.18-6-amd64"
based_on "Debian version etch for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'etch-x64-big-1.1' do
state "stable"
file({:path => "/grid5000/images/etch-x64-big-1.1.tgz", :md5 => "6c971c97eb2f62c056e343cbe9f4a71d"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.18-6-amd64"
based_on "Debian version etch for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'etch-x64-xen-1.0' do
state "testing"
file({:path => "/grid5000/images/etch-x64-xen-1.0.tgz", :md5 => nil})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.18-6-xen-amd64"
based_on "Debian version etch for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'lenny-x64-base-0.9' do
state "stable"
file({:path => "/grid5000/images/lenny-x64-base-0.9.tgz", :md5 => "c1913bf8de22f52ef213151c25208a4a"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.24.3"
based_on "Debian version lenny for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services []
accounts [{:login => "root", :password => "grid5000"}, {:login => "g5k", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'lenny-x64-base-1.0' do
state "build"
file({:path => "/grid5000/images/lenny-x64-base-1.0.tgz", :md5 => nil})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel nil
based_on "Debian version lenny for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services []
accounts [{:login => "root", :password => "grid5000"}, {:login => "g5k", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'lenny-x64-nfs-0.9' do
state "stable"
file({:path => "/grid5000/images/lenny-x64-nfs-0.9.tgz", :md5 => "7975882dec6bde601346c0152e161638"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.24.3"
based_on "Debian version lenny for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
environment 'lenny-x64-big-0.9' do
state "stable"
file({:path => "/grid5000/images/lenny-x64-big-0.9.tgz", :md5 => "ead20673233d0b9162ba56481d596add"})
valid_on "Dell PE1855, Dell PE1950, HP DL140G3, HP DL145G2, IBM x3455,IBM e325, IBM e326, IBM e326m, Sun V20z, Sun X2200 M2, Sun X4100, Altix Xe 310".split(", ")
kernel "2.6.24.3"
based_on "Debian version lenny for amd64"
consoles [{:port => "ttyS0", :bps => 34800}]
services ['ldap', 'nfs']
accounts [{:login => "root", :password => "grid5000"}]
applications "Vim, XEmacs, JED, nano, JOE, Perl, Python, Ruby".split(", ")
x11_forwarding true
max_open_files 8192
tcp_bandwidth 1.giga
end
\ No newline at end of file
......@@ -124,7 +124,7 @@ class ReferenceGenerator
@context = old_context
end
# Initializes a new generator that will generates data files in a hierachical way.
# Initializes a new generator that will generate data files in a hierachical way.
# The root of the tree will be named with the value of <tt>data_description[:uid]</tt>.
def initialize(data_description = {:uid => ""}, *files)
@files = files
......@@ -158,6 +158,10 @@ class ReferenceGenerator
full_path = File.join(repository, file.path)
new_content = JSON.pretty_generate(file.contents)
existing_content = File.exists?(full_path) ? File.open(full_path, "r").read : ""
require 'pp'
pp existing_content
pp new_content
exit
if new_content.hash != existing_content.hash
puts "File to be written = \t#{full_path}"
File.open(full_path, "w+"){ |f| f << new_content } unless options[:simulate]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment