summaryrefslogtreecommitdiff
path: root/ext/debian
AgeCommit message (Collapse)AuthorFilesLines
2014-10-24Imported Upstream version 3.7.2upstream/3.7.2Stig Sandbeck Mathisen2-3/+5
2014-09-16Imported Upstream version 3.7.1upstream/3.7.1Stig Sandbeck Mathisen1-3/+3
2014-09-10(PUP-3227) Address man page ownship conflictsMelissa Stone1-0/+2
Prior to this commit, upgrading from puppet=2.7.23-1~deb7u3 and puppetmaster=2.7.23-1~deb7u3 to puppet=3.7.0.29-1puppetlabs1 and puppetmaster=3.7.0.29-1puppetlabs1 fails. I believe this problem is due to how Debian chose to package puppet-common, which owns `/usr/share/man/man8/puppet-master.8.gz`. This commit adds in a `Conflicts:` to the puppetmaster and puppetmaster-common packages to make sure that we can successfully upgrade from these older package versions. However, if a user has puppetmaster and puppet older than 3.3.0 installed on a machine, and only upgrades puppetmaster, this will uninstall the puppet package from the system.
2014-09-07Imported Upstream version 3.7.0upstream/3.7.0Stig Sandbeck Mathisen6-55/+108
2014-08-29(PUP-3163) Create and manage the mode of $reportsdirMelissa Stone2-1/+4
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-28Merge pull request #3001 from ↵shrug2-8/+7
haus/ticket/master/pup-3035-add-var-run-puppet-to-debian-packaging (PUP-3035) Add /var/run/puppet to debian packaging
2014-08-22(PUP-2914) Remove remaining rgen dependenciesMoses Mendoza1-1/+1
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-08-21(PUP-3035) Refactor dpkg-statoverride calls in puppet-common.postinstMatthaus Owens1-12/+6
This commit does some simple refactoring int he puppet-common.postinst to avoid some unneeded repetition.
2014-08-21(PUP-3035) Add /var/run/puppet to debian packagingMatthaus Owens2-0/+5
Previously /var/run/puppet was created only during service start on debian for both puppet and puppetmaster services. However, as it is used in both of those services, it makes sense to have it owned and created by one of the puppet packages. puppet-common is a dependency of both the puppet and puppetmaster packages, so this commit adds /var/run/puppet to the puppet-common.dirs file so it will be created in that package. This also brings parity between redhat and debian packages in this respect, as redhat puppet packages create the /var/run/puppet directory already. This also adds a dpkg-statoverride call to manage permissions for the /var/run/puppet directory.
2014-07-02(PUP-2878) file conflict upgrading from 2.7.26 to 3.6.2Melissa Stone1-1/+2
Currently, upgrades from 2.7.26 to 3.6.2 break because of a file conflict. It seems that as of Puppet 3.3.0, the manpages changed from being owned by the puppet package, to being owned by the puppet-common package. This change was initially done to allow upgrades from Debian packages to ours. However, changing which package owns a given file makes upgrades difficult. This commit adds in conflicts to allow smooth upgrades from puppet packages prior to the manpage change to the current version.
2014-05-27(PUP-2533) Insert SSLCARevocationCheck on upgradeAdrien Thebo1-0/+28
2014-05-27(maint) extract initial Passenger configurationAdrien Thebo1-41/+45
2014-05-27(PUP-2533) Apache 2.4 requires explicit CRL configurationAdrien Thebo1-1/+19
In Apache 2.2, if either the SSLCARevocationFile or SSLCARevocationPath directives were specified then the specified file(s) would be checked when establishing an SSL connection. Apache 2.4+ the SSLCARevocationCheck directive was added to control how CRLs were checked when verifying a connection and had a default value of none. This means that Apache defaults to ignoring CRLs even if paths are specified to CRL files. This commit updates the debian postinst script for the puppetmaster-passenger package to set SSLCARevocationCheck directive to 'chain' when Apache 2.4 is installed. This ensures that the the puppetmaster-passenger vhost respects CRL files in the same way that Apache 2.2 does by default. Apache 2.2
2014-05-25Imported Upstream version 3.6.1upstream/3.6.1Stig Sandbeck Mathisen1-3/+3
2014-05-15Imported Upstream version 3.6.0upstream/3.6.0Stig Sandbeck Mathisen6-59/+141
2014-05-07(PUP-2395) Update puppetmaster-passenger postinst for passenger 4Matthaus Owens1-0/+16
Passenger 4 deprecated and removed several vhost directives, which would break installations of the package on platforms with passenger 4. This commit adds a condional sed call to delete those directives if the passenger version is 4 or greater.
2014-05-07(PUP-2395) Refactor puppetmaster-postinst sed callsMatthaus Owens1-11/+11
This commit brings over a change from the debian puppet packaging to move all of the sed calls in to one sed invocation and to use a tempfile instead of operating directly on the live apache vhost file.
2014-05-07(PUP-2395) Update puppetmaster-passenger for httpd 2.4Matthaus Owens2-35/+93
In httpd 2.4 some of the conventions around a2ensite changed which broke the postinst and postrm scripts. This commit brings in several changes from the debian puppet packaging that have addressed this problem. An apache2_puppetmaster_sitename function is used to determine the correct sitename to use in sites-available. Thanks to Stig Sandbeck Mathisen for the work in the debian puppet packaging.
2014-05-07(PUP-2395) Add apache2 dependency to puppetmaster-passengerMatthaus Owens1-1/+1
The postinst of the puppetmaster-passenger depends on the a2* binaries to configure the package. This dependency moved from the apache2-common package into the main apache2 package, so this commit adds apache2 as a dependency of the puppetmaster-passenger package.
2014-05-07(maint) Whitespace fixup in ext/debian/puppetmaster-passenger.postinstMatthaus Owens1-8/+8
2014-04-17Imported Upstream version 3.5.1upstream/3.5.1Stig Sandbeck Mathisen2-9/+9
2014-03-26(PUP-1433) List all created directories in debAndrew Parker1-0/+1
The previous commits relied on automatic creation of parent directories. This explicitly calls out each directory, which brings the debs in line with how the rpms are expressed.
2014-03-26(PUP-1433) Create example environment for redhatAndrew Parker3-6/+4
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-25(PUP-1433) Add example environment to deb packagesAndrew Parker3-0/+9
This adds an /etc/puppet/environments/example_env directory, subdirectories, and a README about the environment. We can't remove the existing /etc/puppet/manifests directory because it would destroy a large number of deployments (anyone with automation depending on that directory being created). We also can't create a production environment because it would then shadow the /etc/puppet/manifests directory and also end up breaking automation as well as any existing regular installations. The example environment with a README seems to be the best way to move forward and try to present the new system to users.
2014-03-25Merge remote-tracking branch 'sathieu/patch-2'Matthaus Owens1-2/+2
Conflicts: ext/debian/control
2014-03-25Recent Debian's libruby doesn't provide libxmlrpc-ruby and libopenssl-ruby ↵Mathieu Parent1-2/+2
anymore But as Ubuntu Lucid does, we still leave thoses as optionnals
2014-03-19(PUP-530) Add a build depends of hieraMoses Mendoza1-1/+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-13(maint) Update Debian dependencies for new debian-testing packagesRyan McKern1-2/+2
In the Debian 'testing' release, the libopenssl-ruby virtual package has been replaced with the libopenssl-ruby1.9.1 virtual package. The control file for Debian packages has been updated to reflect this.
2014-03-03(PUP-1821) Require Facter 1.7 or greaterAdrien Thebo1-6/+6
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-3/+3
2014-01-09(PUP-1151) Have puppet depend on jsonAndrew Parker1-1/+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-3/+3
2013-12-26Imported Upstream version 3.4.1upstream/3.4.1Stig Sandbeck Mathisen1-3/+3
2013-12-20Imported Upstream version 3.4.0upstream/3.4.0Stig Sandbeck Mathisen3-8/+6
2013-11-14Merge branch 'stable'Adrien Thebo1-5/+2
2013-11-14(maint) Rename expected apache vhost in debian/rulesMatthaus Owens1-1/+1
In a previous commit, files in ext/rack/files were moved up a directory to ext/rack and some files were renamed. Among the renamed files was apache2.conf, which was renamed to example-passenger-vhost.conf. This caused the rules evaluation to fail, which caused debian packaging to fail. This commit addresses that by renaming the vhost references in the debian/rules file.
2013-11-14(maint) Remove ext/rack/README reference from debian/rulesMatthaus Owens1-3/+0
In a previous commit, files in ext/rack/files were moved up a directory to ext/rack and some unneeded files were removed. Among the removed files was README, which was unfortunately still used in the debian/rules file as a supplemental doc for the puppetmaster-passenger package. The lack of ext/rack/README caused the rules evaluation to fail, which caused debian packaging to fail. This commit addresses that by removing the README references from the debian/rules file.
2013-11-01(maint) Update debian packaging to reference new rack support locationMatthaus Owens1-2/+2
As updated in commit 4c9b63f, the sample files for rack passenger deployment have been moved up a directory. The puppetmaster-passenger package for debian uses those files, so this commit updates the debian/rules file with their new location. It also updates the README_DEVELOPER.md, which references the same files.
2013-10-31init: Check if running if not configured to start.Daniele Sluijters1-0/+1
The reasoning for this is explained in: https://projects.puppetlabs.com/issues/23033 Currently the init-script does not actually check if we're running and return accordingly when status is called if the puppet master is not configured to start. This causes it to always return 0, meaning we're actually running regardless of if that is the case.
2013-10-08Imported Upstream version 3.3.1upstream/3.3.1Stig Sandbeck Mathisen1-3/+3
2013-09-15Imported Upstream version 3.3.0upstream/3.3.0Stig Sandbeck Mathisen3-36/+36
2013-08-16Imported Upstream version 3.2.4upstream/3.2.4Stig Sandbeck Mathisen1-3/+3
2013-07-15Imported Upstream version 3.2.3upstream/3.2.3Stig Sandbeck Mathisen2-4/+10
2013-07-09Merge remote-tracking branch 'upstream/stable'Josh Cooper2-1/+7
* 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 Owens2-1/+7
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-3/+3
2013-06-04(#19112) deploy manpages in -common packageDavid Schmitt2-33/+33
This mirrors Debian's packaging and allows upgrades from their packages to ours.
2013-05-26Imported Upstream version 3.2.1upstream/3.2.1Stig Sandbeck Mathisen2-9/+15
2013-04-15(packaging) Add dependency on ruby-rgen to gems, debs, and rpms.Matthaus Owens2-1/+7
2013-04-09(packaging) Reorder ruby dependenciesMatthaus Owens1-5/+5
This commit reorders the ruby dependencies of Puppet, listing the generic version agnostic package first, followed by a ruby 1.9.1 package, followed by a ruby1.8 package.