194 Commits

Author SHA1 Message Date
jasper
553a2e2aae sync with what's been merged upstream 2014-12-29 18:56:55 +00:00
jasper
58d0061e38 sync with what's been merged upstream 2014-12-12 07:52:54 +00:00
jasper
9e7bdbc09f sync comments with what has been merged and submitted upstream 2014-12-07 13:31:08 +00:00
jasper
96388b2b06 use @extraunexec instead of just removing /etc/puppet on removal
discussed with aja@
2014-12-04 14:17:39 +00:00
jasper
673a2ba9cd turn :manages_loginclass into a proper feature 2014-12-02 19:26:17 +00:00
jasper
044cd60f0a install config.ru, as needed for a rack webserver
prompted by sebastia@
2014-11-25 13:19:28 +00:00
jasper
3a9d2d3526 ensure we restart a service after the flags have been changed
NB: this does not yet fix the situation where a service is started before
it's flags have been written out to rc.conf.local

tested by sebastia@
2014-11-17 12:44:20 +00:00
jasper
da0a4c4125 - add a new provider for user/group management on openbsd, so we don't have
to add exceptions for openbsd all over the generic provider.
- unbreak account expiration while here

additional testing by sebastia@
2014-11-12 07:42:47 +00:00
jasper
e23aa3367f sync with what's been merged upstream 2014-11-06 20:28:16 +00:00
jasper
995bd9b024 update to puppet-3.7.3 2014-11-05 08:46:40 +00:00
jasper
afd0215b93 refactor the code that builds up a package name to install into it's
own method
2014-11-04 19:49:12 +00:00
jasper
7611f74f33 - usermod -G doesn't mean what puppet thinks it means, so use -S so actually
set groups. this allows puppet to revoke group membership for a user.
- make 'chage' and 'password' optional commands

reminded and tested by sebastia@
2014-11-04 09:03:58 +00:00
jasper
f122666ec3 link to upstream PR 2014-11-02 20:06:18 +00:00
jasper
6e50880fed add comment to patch (no pkg change) 2014-11-02 19:57:12 +00:00
jasper
23a8d2deaa - add 'loginclass' property to the 'user' type to get and set the login class for a user
- bump ruby-shadow dependency

requested, tested and ok sebastia@
2014-10-30 12:21:37 +00:00
jasper
348d2ac650 Allow for installing a specific version if multiple are found.
This Unbreaks installing specific versions of openldap-server, php, python, etc.

initial report and patch by sebastia@
2014-10-29 19:35:31 +00:00
jasper
699eb654fe - update to puppet-3.7.2
* includes fixes to disable SSLv3 and plug a memory leak in the master

https://docs.puppetlabs.com/puppet/latest/reference/release_notes.html#puppet-372
2014-10-23 08:15:27 +00:00
sebastia
a054abca6a make the gem package provider default to the same version puppet is based on.
This makes the gem provider usable to install gems used by puppet modules.

OK jasper@
2014-10-15 10:37:24 +00:00
jeremy
11d34692f8 Use default version of ruby instead of ruby 2.0.
OK jasper@
2014-09-27 17:08:47 +00:00
espie
8f36f87a35 same issue as ruby-facter, looks into $HOME 2014-09-24 10:07:02 +00:00
sthen
b1334f9fb3 Remove FAKE_AS_ROOT from these two ports, the failures seem to have vanished.
These are the last ports which needed to run the fake-install stage as root,
so now with the exception of pkg_add'ing dependencies (i.e. pkg_add code plus
a few programs run from @exec hooks in PLISTs) all packages can be built as
non-root.

ok espie@ jasper@
2014-09-23 09:21:51 +00:00
espie
963975501d explicitly mark the few ports that don't build with FAKE_AS_ROOT=No 2014-09-16 09:07:03 +00:00
jasper
5c3162afe4 - update to puppet-3.7.1
* https://docs.puppetlabs.com/puppet/3.7/reference/release_notes.html#puppet-371
2014-09-16 06:46:37 +00:00
jasper
c0755cb513 - update to puppet-3.7.0
* https://docs.puppetlabs.com/puppet/3.7/reference/release_notes.html

testing/ok sebastia@
2014-09-07 18:16:42 +00:00
jasper
3907f0252a submitted upstream 2014-08-26 11:42:27 +00:00
jasper
10861fabee only do a restart if the service supports it; resort to stop/start otherwise 2014-08-26 09:29:51 +00:00
jasper
f9c41a2b0f tyop 2014-08-25 08:09:57 +00:00
jasper
06020477b7 rewrite the service provider to use rcctl, shrinking the code by about 75% percent..
..while retaining some of the puppet-intrinsic quirks where a service won't
be restarted if the flags change. that's still under investigation.

this does however now allow for valid resources that would previously fail:
service { 'multicast_host': enable => true}
or
service { 'ipsec': enable => true}
2014-08-25 08:00:37 +00:00
jasper
e551bccc7f Ensure flags are written out before starting the service as it may
need to read it's flags from the filesystem.
2014-08-15 13:29:10 +00:00
jasper
e101185b9f sync with rc.conf.local format changes 2014-07-17 07:03:51 +00:00
jasper
f2da848f38 Teach 'ensure => latest' how to deal with flavored packages. It would install
them fine, but fail on updating them.
2014-07-10 22:13:09 +00:00
jasper
85b26fbc69 Fix an overaggresive check which is supposed to remove fuzzy matches, but
instead lost the version information and therefore puppet wouldn't realize a
package was already the latest available.
2014-07-10 14:22:49 +00:00
jasper
155e265d00 sync with upstream pull request 2014-06-19 12:28:34 +00:00
jasper
bc6db190e0 regen, no pkg change 2014-06-19 12:27:39 +00:00
jasper
e2dddfd5ce support for "ensure => latest" merged upstream 2014-06-11 18:24:05 +00:00
jasper
7dddc3fbae update to puppet-3.6.2 2014-06-10 19:51:42 +00:00
jasper
68d1fbeda9 unbreak setups using webrick; from upstream 2014-06-04 07:53:09 +00:00
jasper
3c8a63b91c sync patch with what has been committed upstream 2014-06-04 07:48:23 +00:00
jasper
277fb018be update to puppet-3.6.1 2014-05-23 06:24:46 +00:00
jasper
c9e0cc1199 use @unexec-delete instead of @extraunexec when instructing users to remove /{etc,var}/puppet/ 2014-05-20 20:00:55 +00:00
jasper
029ea4a718 stop mucking around with setting ownership on @sample'd dirs in /var/puppet/;
they were wrong and puppet was correcting it, so just drop it alltogether.
2014-05-20 19:57:04 +00:00
jasper
d23f1dfb49 * update to puppet 3.6.0
- release notes at http://docs.puppetlabs.com/puppet/3.6/reference/release_notes.html
- please note that this release deprecates the use of "config file
  environments". if you haven't already done so, please switch to "directory
  environments" as explained here: http://docs.puppetlabs.com/puppet/latest/reference/environments.html
2014-05-15 20:17:16 +00:00
jasper
e8e665aa06 patch for PUP-2311 was committed upstream 2014-05-15 10:47:54 +00:00
jasper
2ee81d5acd Better detection of new packages 2014-05-05 12:17:17 +00:00
jasper
0e179a4b73 Fix typo in #get_version to unbreak matching versions 2014-05-04 12:32:26 +00:00
jasper
18d486383d update comment with upstream PR and bug ids 2014-04-21 22:47:26 +00:00
jasper
5425a0e2b4 unbreak removing a package when multiple uninstall_options are passed 2014-04-21 22:39:26 +00:00
jasper
86f4073839 remove patch that was applied upstream long time ago, no pkg change 2014-04-21 19:34:14 +00:00
jasper
81c4cd9347 don't throw exceptions when a package cannot be queried for 2014-04-21 19:12:13 +00:00
jasper
0af773c861 update PR url 2014-04-21 18:17:00 +00:00