summaryrefslogtreecommitdiff
path: root/ext/redhat
AgeCommit message (Collapse)AuthorFilesLines
2014-10-24Imported Upstream version 3.7.2upstream/3.7.2Stig Sandbeck Mathisen1-4/+4
2014-09-16Imported Upstream version 3.7.1upstream/3.7.1Stig Sandbeck Mathisen1-4/+4
2014-09-07Imported Upstream version 3.7.0upstream/3.7.0Stig Sandbeck Mathisen1-7/+10
2014-08-29(PUP-3163) Create and manage the mode of $reportsdirMelissa Stone1-0/+2
For redhat and debian, we create and manage a $statedir with ownership set to puppet:puppet. Unfortuntely, we also create a $reportsdir that is owned by root. This means that other applications, even those in the puppet group, could not write to this directory. This commits adds the $reportsdir to both debian and redhat packaging to ensure it is created with the correct permissions (just at the $statedir is), to ensure a more consistent experience for users of our packages.
2014-08-28(PUP-3154) Create and manage the mode of $statedir on redhatMatthaus Owens1-0/+2
In debian, we create and manage the $statedir in the postinst of the puppet-common package. In redhat, $statedir would be created on service start, and owned by root. This means that other applications, even those in the puppet group, could not write to this directory. This commit adds $statedir to the directories created in the redhat package and sets the user and group ownership to puppet:puppet. This will ensure a more consistent experience for users of our packages.
2014-08-22(PUP-2914) Remove remaining rgen dependenciesMoses Mendoza1-1/+0
In 6a94700, the rgen 0.7.0 library was added to the vendor directory in puppet, and as such is no longer an external dependency. This commit removes the rgen package as a dependency of the puppet rpm and deb packages, so that it is not installed in addition to the vendored rgen (or worse even installed at a conflicting version). Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
2014-05-25Imported Upstream version 3.6.1upstream/3.6.1Stig Sandbeck Mathisen1-4/+4
2014-05-15Imported Upstream version 3.6.0upstream/3.6.0Stig Sandbeck Mathisen2-7/+16
2014-05-07Merge pull request #2621 from jeffb-bt/feature/azn-linux-build-3.5.1Kylo Ginsberg1-2/+2
Build RPMS properly on Amazon Linux
2014-05-07Previously, RPMS built on Amazon Linux wouldJeff '2 bits' Bachtel1-2/+2
point to the improper ruby directory, or would have improper dependencies. Use %{amzn} as a rpm macro to determine if the rpm is being built on an Amazon Linux distro. If %{amzn} is set, use the Fedora/RHEL7 method of discovering ruby lib directory. Use the RHEL 6 init system (sysvinit). Use the RHEL 5 libselinux-ruby dependency.
2014-05-06Changes for azn-linuxEC2 Default User1-2/+2
No systemd, more recent ruby, libselinux-ruby
2014-04-17Imported Upstream version 3.5.1upstream/3.5.1Stig Sandbeck Mathisen1-6/+32
2014-03-26(PUP-1433) Create example environment for redhatAndrew Parker1-0/+8
This adds the example environment for the RPM packages. See the previous commit for an explanation about why environments are being added to packages in this manner. This also moves the README.environment into a shared location so that it can be kept the same between various packaging systems.
2014-03-19(PUP-530) Add a build depends of hieraMoses Mendoza1-0/+1
By requiring hiera in install.rb, we force this as a build dependency of puppet for any platform that depends on install.rb to build packages. This commit updates debian and redhat packaging to have a build dependency on hiera to satisfy this requirement. Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
2014-03-12Merge pull request #2112 from yo61/developAdrien Thebo1-3/+3
source function library *before* client sysconfig overrides
2014-03-03(PUP-1821) Require Facter 1.7 or greaterAdrien Thebo1-2/+2
We're starting to rely on facts that were released in Facter 1.7.0, which means that we always need to pull in 1.7 to make those facts available.
2014-02-20Imported Upstream version 3.4.3upstream/3.4.3Stig Sandbeck Mathisen1-12/+12
2014-01-29(PUP-1463) Enable puppet.service during upgrade if puppetagent.service was ↵Sam Kottler1-0/+25
previously enabled
2014-01-24Adds support for building puppet on RHEL7 via spec.Derek Yarnell1-8/+8
2014-01-09(PUP-1151) Have puppet depend on jsonAndrew Parker1-0/+1
In order to have the v2 api emit and consume JSON puppet will need to have access to a json library. This adds it to our dependencies for debian, redhat, and gem packages. This should be a safe thing to do since puppet already needs hiera and hiera depends on JSON, so this is just taking the same dependency that hiera already had and applying it directly to puppet.
2014-01-07Imported Upstream version 3.4.2upstream/3.4.2Stig Sandbeck Mathisen1-4/+8
2013-12-26Imported Upstream version 3.4.1upstream/3.4.1Stig Sandbeck Mathisen1-4/+4
2013-12-20Imported Upstream version 3.4.0upstream/3.4.0Stig Sandbeck Mathisen1-6/+24
2013-12-19Merge branch 'stable'Rob Braden1-0/+4
* stable: (PUP-1099) Fix incorrect permissions in RPMs
2013-12-18(PUP-1099) Fix incorrect permissions in RPMsRyan McKern1-0/+4
The RPM spec template uses extremely restrictive permissions for `log` and `lib` directories. These permissions were being incorrectly applied to `examples` during packaging. This corrects that problem by resetting default attributes after restricting `log` and `lib` directories.
2013-12-16Adds support for building puppet on RHEL7 via spec.Derek Yarnell1-8/+8
2013-11-26source function library *before* client sysconfig overridesRobin Bowes1-3/+3
My client's environment mandates strict umask settings: - 027 for init scripts - 077 for normal users This causes problems when using exec resources or any add-on functions that exec external scripts/programs. The fix is relatively simple - run umask in /etc/sysconfig/puppet and set a more lenient umask for puppet. However, the /etc/sysconfig/puppet is sourced before the init function library so any umask changes made in the former are overridden by any in the latter. Looking in other init scripts (including the puppetmaster init script), it is usual for the function library to be sourced at the start of the init script, ie. before the sysconfig override. This change simply moves the lines that source the init function library to the start of the init script.
2013-11-05(#23085) Ensure old puppet agents get properly stopped when upgrading from ↵Sam Kottler1-0/+9
2.6 or early to 2.7 or later
2013-10-08Imported Upstream version 3.3.1upstream/3.3.1Stig Sandbeck Mathisen1-4/+4
2013-10-03(#22660) Revert Fedora 17+ agent service name to "puppet" from "puppetagent".Jason Antman1-2/+11
Due to pull request 1166, in the fedora 17+ transition to systemd, the puppet agent service was inadvertantly renamed from "puppet" to "puppetagent". - in specfile, move systemd service and unit file names back to "puppet" from erroneous "puppetagent" - Add symlink to puppetagent unit file for compatibility with current bug - Alter package removal actions to deactivate and stop both service names - rename unit file in source tree to correspond with this
2013-09-15Imported Upstream version 3.3.0upstream/3.3.0Stig Sandbeck Mathisen2-33/+4
2013-08-16Imported Upstream version 3.2.4upstream/3.2.4Stig Sandbeck Mathisen1-6/+10
2013-08-14(packaging) Move systemd BuildRequires into conditionalMatthaus Owens1-6/+5
Previously either systemd or systemd-units were BuildRequires on all rpms. These packages are not available on el5 or el6, which would break rpm building on those platforms. This commit moves those BuildRequires into an already existing systemd conditional, so they are only required on systems that support systemd.
2013-08-14(Bug #21768) Update puppet for F19Melissa Stone1-1/+6
Prior to this commit, there was no support for Fedora 19. This commit modifies build_defaults to include F19 in the mocks, and removes the ruby(abi) requirement. This is because F19 no longer provides ruby abi.
2013-07-19Merge remote-tracking branch 'upstream/stable'Josh Partlow1-6/+5
* upstream/stable: (packaging) Move systemd BuildRequires into conditional
2013-07-19(packaging) Move systemd BuildRequires into conditionalMatthaus Owens1-6/+5
Previously either systemd or systemd-units were BuildRequires on all rpms. These packages are not available on el5 or el6, which would break rpm building on those platforms. This commit moves those BuildRequires into an already existing systemd conditional, so they are only required on systems that support systemd.
2013-07-17Merge branch 'stable'Matthaus Owens1-1/+6
2013-07-16(Bug #21768) Update puppet for F19Melissa Stone1-1/+6
Prior to this commit, there was no support for Fedora 19. This commit modifies build_defaults to include F19 in the mocks, and removes the ruby(abi) requirement. This is because F19 no longer provides ruby abi.
2013-07-15Imported Upstream version 3.2.3upstream/3.2.3Stig Sandbeck Mathisen1-5/+8
2013-07-09Merge remote-tracking branch 'upstream/stable'Josh Cooper1-1/+4
* upstream/stable: (Maint) Don't prefetch from /tmp/test (#19727) Collapse multiple leading slashes (packaging) Update PUPPETVERSION for 3.2.3-rc1 (packaging) Remove Ubuntu Oneiric from build targets (#21264) Update rgen dependency to 0.6.5 (packaging) Use the packaging loader for tasks
2013-06-27(#21264) Update rgen dependency to 0.6.5Matthaus Owens1-1/+4
Commit ec6b51a8ded9245df9606a57d53674c62bddc11e updated the rgen dependency in the Gemfile. This commit makes the same dependency explicit in the various packages (deb, rpm, gem). We pin the version hard at 0.6.5 to prevent potential breakages with future versions of rgen.
2013-06-19Imported Upstream version 3.2.2upstream/3.2.2Stig Sandbeck Mathisen1-4/+4
2013-06-13(maint) Removing unneeded patch from %install in RPM specJohn Julien2-29/+0
Removing patch rundir-perms.patch from RPM spec as it is no longer needed. The patch was to dynamically change the rundir mode from 01777 to 0755 for Redhat. The rundir mode was changed to 0755 in lib/puppet/defaults.rb in commit a05d613751335fd16a222bf2e2300e7ccf41dc8a
2013-05-26Imported Upstream version 3.2.1upstream/3.2.1Stig Sandbeck Mathisen1-4/+21
2013-04-15(packaging) Add dependency on ruby-rgen to gems, debs, and rpms.Matthaus Owens1-0/+4
2013-03-13Imported Upstream version 3.1.1upstream/3.1.1Stig Sandbeck Mathisen1-4/+4
2013-02-05Imported Upstream version 3.1.0upstream/3.1.0Stig Sandbeck Mathisen2-33/+68
2013-02-04Incorporate Red Hat's NetworkManager fix into upstreamMichael Stahnke1-0/+13
Red Hat/Fedora have been carrying a patch to restart puppet if resolv.conf or other networking configuration settings are updated via Network Manager. We should be doing this as well, as it's a good idea. The patch and problem are described in the following bugs: https://projects.puppetlabs.com/issues/2776 https://bugzilla.redhat.com/532085 Note this only applies to rpms, and only to builds for EL/Fedora. This patch/fix won't be applied/installed on any debian varient, sles, mac etc. Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
2013-01-25Add extlookup2hiera manpages to redhat and debian packagesMatthaus Owens1-0/+4
Now that a manpage exists for extlookup2hiera, it needs to be part of the redhat and debian packaging so it can be laid down correctly for those packages. This commit adds the manpage to the puppet package on redhat and the puppet-common package on debian.
2013-01-16Work-around for RH Bugzilla 681540 (defattr overrides in-line attr)Ryan Uber1-5/+12