[PATCH conductor] Redmine 1935 - sass stylesheets are pre-compiled
by Richard Su
pre-compile stylesheets in install step using compass.
There is an existing problem with text.scss. When stylesheet is
compiled at runtime, the same error occurs and is logged in the
css file.
---
aeolus-conductor.spec.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/aeolus-conductor.spec.in b/aeolus-conductor.spec.in
index 109e5fe..da12461 100644
--- a/aeolus-conductor.spec.in
+++ b/aeolus-conductor.spec.in
@@ -169,6 +169,12 @@ for filetype in builder cgi css erb fcgi feature gif haml html ico jpg js json \
done
done
+# precompile stylesheets
+cd src
+compass compile --output-style compact
+%{__mv} public/stylesheets/compiled %{buildroot}%{app_root}/public/stylesheets/
+cd ..
+
# misc files
%{__cp} src/Rakefile %{buildroot}%{app_root}
%{__cp} src/config.ru %{buildroot}%{app_root}
--
1.7.4.4
12 years, 9 months
[PATCH conductor] Require condormatic.rb in the Instance model
by Tomas Sedovic
From: Tomas Sedovic <tsedovic(a)redhat.com>
https://www.aeolusproject.org/redmine/issues/2078
Instance model uses the `Promise` class, which is defined in
`app/util/condormatic.rb`.
When it's not referenced in the model, launching a deployment results in an
error.
---
src/app/models/instance.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/app/models/instance.rb b/src/app/models/instance.rb
index b0f5baf..6199c15 100644
--- a/src/app/models/instance.rb
+++ b/src/app/models/instance.rb
@@ -57,6 +57,7 @@
# Likewise, all the methods added will be available for all controllers.
require 'util/assembly_xml'
+require 'util/condormatic'
class Instance < ActiveRecord::Base
include PermissionedObject
--
1.7.6
12 years, 9 months
Aeolus 0.3.0 Released - Major release with nifty new UI
by Justin Clift
All,
We're very proud to present a brand new milestone release of
Aeolus, the multi-cloud deployment solution, sponsored by Red
Hat.
This is version 0.3.0, bringing with it an amazing new UI,
designed from the ground up using best practise UX principles.
Screenshots here:
http://www.aeolusproject.org/screenshots.html
As well as the new interface, this release brings initial
support for both VMware vSphere 4.1, and tentative support
for Red Hat Enterprise Virtualization (RHEV).
Installation of Aeolus is very straight forward, using the
instructions on the website:
http://www.aeolusproject.org/get_it.html
Packages are available for Fedora 14 x86_64, and RHEL 6.1 x86_64.
All testing and bug reports are greatly appreciated. They will
directly contribute to improving the quality of future releases.
NOTE - Although Aeolus is still some way from production quality,
it is suitable for testing. Please don't use it with live data yet.
For full details, including the list of BZ's fixed, please check
the Release Notes:
http://www.aeolusproject.org/release_notes_0.3.0.html
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org
12 years, 9 months
[PATCH conductor] 0/1 Resend
by Jason Guiditta
Forgot that rake tasks failed for me unless I set true to be a string,
that is the only difference in this version.
[PATCH conductor] First pass at disabling Bundler for RPM installs.
12 years, 9 months
[PATCH configure] fix two small issues w/ aeolus-configure-image
by Mo Morsi
follow up patch to multiple profiles / interactive installer patchset,
thanks to rwsu for finding these issues
---
bin/aeolus-configure-image | 2 ++
contrib/aeolus-configure.spec | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/bin/aeolus-configure-image b/bin/aeolus-configure-image
index 4f065b8..9930e44 100755
--- a/bin/aeolus-configure-image
+++ b/bin/aeolus-configure-image
@@ -1,6 +1,8 @@
#!/usr/bin/ruby
# helper script to generate aeolus images
+require 'fileutils'
+
AEOLUS_IMAGE_VERSION='0.1.0'
image_name = ARGV[0]
diff --git a/contrib/aeolus-configure.spec b/contrib/aeolus-configure.spec
index 3a3d0f7..6b80a7c 100644
--- a/contrib/aeolus-configure.spec
+++ b/contrib/aeolus-configure.spec
@@ -42,6 +42,7 @@ Aeolus Configure Puppet Recipe
%{__cp} -R %{pbuild}/recipes/ntp/ %{buildroot}/%{aeolushome}/modules/ntp
%{__cp} -R %{pbuild}/recipes/openssl/ %{buildroot}/%{aeolushome}/modules/openssl
%{__cp} -R %{pbuild}/recipes/postgres/ %{buildroot}/%{aeolushome}/modules/postgres
+%{__cp} -R %{pbuild}/bin/aeolus-configure-image %{buildroot}/%{_sbindir}/
%{__cp} -R %{pbuild}/bin/aeolus-configure %{buildroot}/%{_sbindir}/
%{__cp} -R %{pbuild}/bin/aeolus-cleanup %{buildroot}/%{_sbindir}/
%{__cp} -R %{pbuild}/bin/aeolus-node %{buildroot}/%{_sbindir}/\
--
1.7.4.4
12 years, 9 months
[PATCH conductor] First pass at disabling Bundler for RPM installs.
by Jason Guiditta
The intent of this patch is to allow the Gemfile.lock to be
checked in without impacting installed versions for those running
from RPM. This is done via an env variable to toggle bundler usage.
If this works well, next step is to do the same thing for test deps,
and eventually have some kind of wrapper (perhaps just parse a yml file)
to generate either the requires or the Gemfile.
---
conf/aeolus-conductor | 1 +
src/config/application.rb | 27 ++++++++++++++++++++++++++-
2 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/conf/aeolus-conductor b/conf/aeolus-conductor
index 677355c..a3e2ac9 100755
--- a/conf/aeolus-conductor
+++ b/conf/aeolus-conductor
@@ -23,6 +23,7 @@ PREFIX="${PREFIX:-/conductor}"
ADDR="${ADDR:-127.0.0.1}"
export RAILS_RELATIVE_URL_ROOT=$PREFIX
+export USE_BUNDLER=false
RETVAL=0
STARTTIMEOUT=20
diff --git a/src/config/application.rb b/src/config/application.rb
index 1dedc23..c41d4aa 100644
--- a/src/config/application.rb
+++ b/src/config/application.rb
@@ -4,7 +4,32 @@ require 'rails/all'
# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
-Bundler.require(:default, Rails.env) if defined?(Bundler)
+ENV['USE_BUNDLER'] = true unless ENV['USE_BUNDLER']
+
+if ENV['USE_BUNDLER'] == true
+ puts 'attempting to use bundler'
+ Bundler.require(:default, Rails.env) if defined?(Bundler)
+else
+ puts 'Using gem require instead of bundler'
+ require 'rails'
+ require 'authlogic'
+ require 'deltacloud'
+ require 'sass'
+ require 'haml'
+ require 'will_paginate'
+ require 'nokogiri'
+ require 'compass'
+ require 'ninesixty'
+ require 'simple-navigation'
+ require 'typhoeus'
+ require 'rest-client'
+ require 'rack-restful_submit'
+ require 'uuidtools'
+ require 'pg'
+ require 'thin'
+ require 'json'
+# require 'railties'
+end
$: << File.join(File.dirname(__FILE__), "../app")
--
1.7.6
12 years, 9 months
Proxy Aeolus Conductor 0.3.0
by michel.gauthier@bull.net
Hello,
We have installed Aeolus 0.3.0 on a fedora14 x86_64 platform.
We want to create a provider account for ec2 using Conductor web interface
(our ec2 account already exists on ec2 portal).
Unfortunately, we receive the following error message :
NameError - uninitialized constant Deltacloud::BackendError:
././lib/deltacloud/drivers/ec2/ec2_driver.rb:654:in `valid_credentials?'
././server.rb:71:in `GET /api/?'
We need a proxy to go to the internet network from our platform and we
think that this error is due to the fact that the Conductor component has
no knowledge of the proxy.
How can we configure the Conductor component to take the proxy value into
account?
Thanks for your answer.
12 years, 9 months