Misc: Primitive model: Use PerRequestCache for classes and providers

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Primitive editor: Fix default list of resource types

The type drop-down would show all possible OCF resource types by default,
regardless of the default value of the provider drop-down, i.e. it was
showing a combined list of all heartbeat + pacemaker + ocfs2 + ...
resources, when it should have only been showing the heartbeat ones by
default.

Signed-off-by: Tim Serong <tserong@suse.com>
Build: Add explicit -lqb to hawk_monitor

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Use String#ord in fcgi.rb for ruby 1.9 compatibility

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Ensure "fcgi" is required after paths are set up properly in dispatch.fcgi

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Add /usr/libexec/pacemaker to paths to check for pacemaker binaries

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Fix IP address detection in init script

This changes awk to print fifth field frpm `ip` output instead of
last field

Signed-off-by: Tim Serong <tserong@suse.com>
Build: hawk_monitor: Define cib_diff_notify for build against pcmk 1.1.8

Signed-off-by: Tim Serong <tserong@suse.com>
Build: Reformat spec file a bit

Signed-off-by: Tim Serong <tserong@suse.com>
Doc: Update ChangeLog

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Fix Gem::all_load_paths method broken in rubygems 1.8.15

This is a monkey patch for the issue described at
https://github.com/rubygems/rubygems/issues/171

Signed-off-by: Tim Serong <tserong@suse.com>
Doc: Update ChangeLog (again)

Signed-off-by: Tim Serong <tserong@suse.com>
Build: Only Bundle Gems on SLES 11

This gives minimal runtime dependencies on SLES 11, which happens
to be an environment where Bundler can actually be used to bundle
already-installed Gems into the RPM at build time.  This doesn't
work on other distros (e.g. Fedora) and has changing requirements
on different versions of openSUSE (e.g.: some versions will fail
to bundle rake as it's actually provided by ruby), so for all other
distros and versions we just have a runtime dependency on Rails
etc. rather than using Bundler.

Signed-off-by: Tim Serong <tserong@suse.com>
Misc: Don't require rails-i18n

AIUI rails-i18n shouldn't be necessary as we're not using ActiveRecord
anyway.

Signed-off-by: Tim Serong <tserong@suse.com>
GUI: Fix broken French translation of node status (bnc#825949)

Signed-off-by: Tim Serong <tserong@suse.com>
Build: Ensure BUILD_TAG is from current branch

Signed-off-by: Tim Serong <tserong@suse.com>
Build: Don't ship Gemfile when not using Bundler

Signed-off-by: Tim Serong <tserong@suse.com>
Doc: Update ChangeLog

Signed-off-by: Tim Serong <tserong@suse.com>
Build: Require rails 3.2+, but < 4.0

Signed-off-by: Tim Serong <tserong@suse.com>
Merge branch 'sle-11-sp3'

Conflicts:
	ChangeLog