[openshift-origin-msg-node-mcollective] Initial import (#844439).
tdawson
tdawson at fedoraproject.org
Thu Aug 23 12:48:53 UTC 2012
commit 043f80cd4beb6bed857a4b67230693a83d9a5712
Author: Troy Dawson <tdawson at redhat.com>
Date: Thu Aug 23 07:48:45 2012 -0500
Initial import (#844439).
.gitignore | 1 +
openshift-origin-msg-node-mcollective.spec | 128 ++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 130 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5798002 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/openshift-origin-msg-node-mcollective-0.1.1.tar.gz
diff --git a/openshift-origin-msg-node-mcollective.spec b/openshift-origin-msg-node-mcollective.spec
new file mode 100644
index 0000000..ea03bed
--- /dev/null
+++ b/openshift-origin-msg-node-mcollective.spec
@@ -0,0 +1,128 @@
+%global gem_name gearchanger-mcollective-plugin
+%if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
+ %{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"] ')}
+%endif
+
+Summary: M-Collective agent file for openshift-origin
+Name: openshift-origin-msg-node-mcollective
+Version: 0.1.1
+Release: 3%{?dist}
+Group: Development/Languages
+License: ASL 2.0
+URL: http://openshift.redhat.com
+Source0: http://mirror.openshift.com/pub/openshift-origin/source/%{name}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
+Requires: ruby(abi) = 1.8
+%endif
+%if 0%{?fedora} >= 17
+Requires: ruby(abi) = 1.9.1
+%endif
+
+Requires: rubygems
+Requires: rubygem(open4)
+Requires: rubygem(json)
+Requires: rubygem(openshift-origin-node)
+Requires: mcollective
+# For facter section
+Requires: facter
+Requires: openssh
+
+BuildRequires: ruby-devel
+BuildRequires: ruby
+BuildArch: noarch
+
+%description
+M-Collective agent file for openshift-origin
+
+%prep
+%setup -q
+
+%clean
+rm -rf %{buildroot}
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_libexecdir}/mcollective/mcollective/agent
+mkdir -p %{buildroot}%{_sysconfdir}/cron.minutely
+
+%if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
+mkdir -p %{buildroot}%{ruby_sitelib}/facter
+install -Dp -m0644 facts/stickshift_facts.rb %{buildroot}%{ruby_sitelib}/facter/
+%endif
+
+%if 0%{?fedora} >= 17
+mkdir -p %{buildroot}%{ruby_vendorlibdir}/facter
+install -Dp -m0644 facts/stickshift_facts.rb %{buildroot}%{ruby_vendorlibdir}/facter/
+%endif
+
+
+install -Dp -m0644 src/stickshift.rb %{buildroot}%{_libexecdir}/mcollective/mcollective/agent/
+install -Dp -m0644 src/stickshift.ddl %{buildroot}%{_libexecdir}/mcollective/mcollective/agent/
+install -Dp -m0755 facts/stickshift-facts %{buildroot}%{_sysconfdir}/cron.minutely/
+install -Dp -m0755 facts/update_yaml.rb %{buildroot}%{_libexecdir}/mcollective/
+
+%files
+%doc COPYRIGHT LICENSE
+%{_libexecdir}/mcollective/mcollective/agent/stickshift.rb
+%{_libexecdir}/mcollective/mcollective/agent/stickshift.ddl
+
+%if 0%{?rhel} <= 6 && 0%{?fedora} <= 16
+ %{ruby_sitelib}/facter/stickshift_facts.rb
+%endif
+
+%if 0%{?fedora} >= 17
+ %{ruby_vendorlibdir}/facter/stickshift_facts.rb
+%endif
+
+%{_libexecdir}/mcollective/update_yaml.rb
+%{_sysconfdir}/cron.minutely/stickshift-facts
+
+%changelog
+* Tue Jul 31 2012 Troy Dawson <tdawson at redhat.com> 0.1.1-3
+- Fixed various spec file problems
+- Added openssh as a dependancy
+
+* Mon Jul 30 2012 Troy Dawson <tdawson at redhat.com> 0.1.1-2
+- Changed to openshift-origin-msg-node-mcollective
+- Added the doc files and lines.
+- Change ruby_sitelibdir to ruby_vendorlibdir
+- Changed permissions of update_yaml.rb and stickshift-facts
+
+* Wed Jul 11 2012 Adam Miller <admiller at redhat.com> 0.1.1-1
+- bump_minor_versions for sprint 15 (admiller at redhat.com)
+
+* Wed Jul 11 2012 Adam Miller <admiller at redhat.com> 0.0.5-1
+- Fix validation. (mpatel at redhat.com)
+- Add missing method to DDL. (mpatel at redhat.com)
+
+* Tue Jul 10 2012 Adam Miller <admiller at redhat.com> 0.0.4-1
+- Merge pull request #211 from kraman/dev/kraman/bugs/835489
+ (dmcphers at redhat.com)
+- Fix to work around a bug in mcollective that doesn't convert string true into
+ a boolean anymore. (mpatel at redhat.com)
+- Fix stickshift DDL. (mpatel at redhat.com)
+- Bugz 835489. Fixing location for district config file and adding in missing
+ node_profile_enabled blocks (kraman at gmail.com)
+
+* Wed Jul 10 2012 Adam Miller <admiller at redhat.com> 0.0.3-2
+- Updated to install from cp, getting ready for Fedora 18 pkg review
+
+* Mon Jul 09 2012 Dan McPherson <dmcphers at redhat.com> 0.0.3-1
+- don't send stickshift logs to debug, instead use info (mmcgrath at redhat.com)
+
+* Tue Jul 03 2012 Adam Miller <admiller at redhat.com> 0.0.2-1
+- Automatic commit of package [stickshift-mcollective-agent] release [0.0.1-1].
+ (kraman at gmail.com)
+- Fix typo and remove dependency. (mpatel at redhat.com)
+- MCollective updates - Added mcollective-qpid plugin - Added mcollective-
+ gearchanger plugin - Added mcollective agent and facter plugins - Added
+ option to support ignoring node profile - Added systemu dependency for
+ mcollective-client (kraman at gmail.com)
+
+* Fri Jun 29 2012 Krishna Raman <kraman at gmail.com> 0.0.1-1
+- new package built with tito
+
diff --git a/sources b/sources
index e69de29..aa86fff 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7f4292a7ac09b957a44499a26ab3df21 openshift-origin-msg-node-mcollective-0.1.1.tar.gz
More information about the scm-commits
mailing list