diff --git a/.gitignore b/.gitignore index 88290ca..b490e46 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *~ *.rpm *.tar.gz -*.tar.gz.ac +*.tar.gz.asc +/puppet-*/ /.build*.log diff --git a/puppet-3.0.2.tar.gz.asc b/puppet-3.0.2.tar.gz.asc deleted file mode 100644 index 656d979..0000000 --- a/puppet-3.0.2.tar.gz.asc +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG/MacGPG2 v2.0.18 (Darwin) -Comment: GPGTools - http://gpgtools.org - -iQIcBAABAgAGBQJQ24gaAAoJEBBUt6JL1uwwFBQP/Rnl+wuQW9cq7MC3JCGpNwNn -8RkUvEnFCCzvomfRd7LXhzJ4b/X0EPQNr5Kr3VNEDpHJgekLdddb+NJRec22FXnV -TV11sf6meeDBYMyYm0tz1+OXjW+eBLklRVtM9eHzP6B8OTcfmreGBGtMMexQkgch -QYVZYL8g4v9464K5KJ8kU+5Wa9vXfulfMNz0sPAcjCWaqu6whE+LoCd29pWkBhGf -q14fqmKJK2A8V8FyGrcUn/v6Pg2vLizS5gmna+1w7tHGfyDViKA9U4lj0nA/Y7/n -NISQk0l0VXlsrFoUtk3+TaOvAzvO0fQ3opwELvLsyBf+76JUZZqgbfUaNtk1l7sY -PR4plQRJ2hDIzKOvEkonnqHe8OnSTw0S3mdCxq8oVF5VUvgynpw3YNIfLrWVArNW -Zzskz/nfyD/oaJDimwi+JdgLcEInUJWws98ElgaLOBb43reirNXAgYCXl53jwf/e -dzOIyspL9OmrISoff0hvH2lP6RmJ5mX30KaIkNN0St9fhg/9dmI1NGB3vwiEJwyq -GdHd+j3ViZsgMW2nC2Wi258Wk6zMvNWKn+7rYWmaeZwwTLSYECI7oRtshuFKYirz -TpcIRBFuBbgoSX1rrt0DFhB6sQRzbDPaLl4DMeUdRw5OK+EkKVurfbenhkLqMO// -IQJbtEkNKqARBCpvuyKY -=ljH5 ------END PGP SIGNATURE----- diff --git a/puppet.spec b/puppet.spec index fed9e16..2bf80c0 100644 --- a/puppet.spec +++ b/puppet.spec @@ -2,6 +2,9 @@ # --without augeas and/or --without selinux to rpmbuild or mock # F-17 and above have ruby-1.9.x, and place libs in a different location + +# Specifically not using systemd on F18 as it's technically a break between +# using SystemV on 2.7.x and Systemd on 3.1.0. %if 0%{?fedora} >= 17 %global puppet_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]') %else @@ -9,7 +12,7 @@ %endif # F-17 also ships with systemd; package/use systemd files in this case -%if 0%{?fedora} >= 17 +%if 0%{?fedora} > 18 %global _with_systemd 1 %else %global _with_systemd 0 @@ -19,8 +22,8 @@ %global ruby_version %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["ruby_version"]') Name: puppet -Version: 3.0.2 -Release: 2%{?dist} +Version: 3.1.0 +Release: 3%{?dist} Summary: A network tool for managing many disparate systems License: ASL 2.0 URL: http://puppetlabs.com @@ -109,8 +112,9 @@ The server can also function as a certificate authority and file server. patch -s -p1 < %{confdir}/rundir-perms.patch # Fix some rpmlint complaints -for f in mac_dscl.pp mac_dscl_revert.pp \ - mac_pkgdmg.pp ; do +for f in mac_automount.pp mcx_dock_absent.pp mcx_dock_default.pp \ + mcx_dock_full.pp mcx_dock_invalid.pp mcx_nogroup.pp \ + mcx_notexists_absent.pp; do sed -i -e'1d' examples/$f chmod a-x examples/$f done @@ -119,12 +123,6 @@ for f in external/nagios.rb relationship.rb; do done chmod +x ext/puppet-load.rb ext/regexp_nodes/regexp_nodes.rb -find examples/ -type f -empty | xargs rm -find examples/ -type f | xargs chmod a-x - -# puppet-queue.conf is more of an example, used for stompserver -mv conf/puppet-queue.conf examples/etc/puppet/ - %build # Nothing to build @@ -255,6 +253,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules %{_mandir}/man8/puppet-resource_type.8.gz %{_mandir}/man8/puppet-secret_agent.8.gz %{_mandir}/man8/puppet-status.8.gz +%{_mandir}/man8/extlookup2hiera.8.gz %files server %defattr(-, root, root, 0755) @@ -352,9 +351,15 @@ fi rm -rf %{buildroot} %changelog -* Thu Mar 7 2013 Daniel Drake - 3.0.2-2 +* Thu Mar 07 2013 Michael Stahnke - 3.1.0-3 +- Disable systemd in F18 as per bz#873853 + +* Thu Mar 7 2013 Daniel Drake - 3.1.0-2 - Improve server compatibility with old puppet clients (#831303) +* Mon Feb 11 2013 Sam Kottler - 3.1.0-1 +- Update to 3.1.0 + * Tue Oct 30 2012 Moses Mendoza - 3.0.2-1 - Update to 3.0.2 - Update new dependencies (ruby >= 1.8.7, facter >= 1.6.6, hiera >= 1.0.0) diff --git a/puppetmaster-old-client-compat.patch b/puppetmaster-old-client-compat.patch index 95323a8..4b88900 100644 --- a/puppetmaster-old-client-compat.patch +++ b/puppetmaster-old-client-compat.patch @@ -19,12 +19,21 @@ setups. lib/puppet/util/monkey_patches.rb | 9 +++++++++ 1 file changed, 9 insertions(+) +<<<<<<< HEAD Index: puppet-3.0.2/lib/puppet/util/monkey_patches.rb =================================================================== --- puppet-3.0.2.orig/lib/puppet/util/monkey_patches.rb +++ puppet-3.0.2/lib/puppet/util/monkey_patches.rb @@ -310,3 +310,13 @@ if RUBY_VERSION == '1.8.5' module_function :move +======= +Index: puppet-3.1.0/lib/puppet/util/monkey_patches.rb +=================================================================== +--- puppet-3.1.0.orig/lib/puppet/util/monkey_patches.rb ++++ puppet-3.1.0/lib/puppet/util/monkey_patches.rb +@@ -356,3 +356,13 @@ unless Dir.respond_to?(:mktmpdir) + end +>>>>>>> master end end + diff --git a/sources b/sources index d8473a5..1290ba0 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -c4507a83679df9f6c8409d97cc6ef757 puppet-3.0.2.tar.gz -ca2521e8af245f25cb54f5a167b0a183 puppet-3.0.2.tar.gz.asc +4cbdcc9dfcda677c820175375a500651 puppet-3.1.0.tar.gz +d2e905ef5ae97b8b196f508082fb4680 puppet-3.1.0.tar.gz.asc