Commit Graph

372 Commits

Author SHA1 Message Date
kn a698c0438b update to puppet-resource_api 2.0.0; maintainer timeout
works fine with puppet and openvox (after relaxing version specs).
2025-09-22 12:35:15 +00:00
kn d4f358297c conflict with openvox, its successor
both ports ship identical files.
2025-09-18 18:14:08 +00:00
kn 47648dd263 Remove Puppet 7, it is EOL and we have 8 in the tree; OK sebastia 2025-09-02 14:32:03 +00:00
kn 07c7a590a5 Use usermod(8) -p to fix changing a user's password
We don't have chpasswd, so nothing is executed to change the password.
Current code expects a new value on stdin, so they create a tempfile, etc.

Our usermod(8) -p takes it as argument and, as confimed by ktrace, Puppet
executes the command directly without shell, so use that instead.

master.passwd(5) now gets updated correctly.

Puppet 7 has the same issue, but is EOL since februrary 2025.

OK sebastia
2025-08-29 09:29:52 +00:00
jeremy 3d87e3f458 Bump ports after switching the default ruby version in ports to Ruby 3.4
OK phessler@ sthen@ rsadowski@
2025-06-28 00:36:32 +00:00
sebastia 49838762bd remove forgotten to removed patch with last update
breakage pointed out by naddy@
2025-01-23 19:33:19 +00:00
sebastia a5998eaf9f update 8.6.0 -> 8.10.0
fix portroach marker
2025-01-21 10:40:03 +00:00
jeremy e7f7a27c04 Bump ports after switching the default ruby version in ports to Ruby 3.3
OK tb@
2024-06-20 22:41:25 +00:00
sebastia 2985c45da9 update 7.29.1 -> 7.30.0 2024-04-21 18:33:23 +00:00
sebastia 7244a2234d Update Puppet 8 8.5.0 -> 8.6.1
While there, overhaul package handling, drop versionable, latest but
handle package branches properly.
2024-04-20 20:41:33 +00:00
sebastia 97507915de update 8.4.0 -> 8.5.1 2024-03-20 21:21:14 +00:00
sebastia c9628b4173 update 7.28.0 -> 7.29.1 2024-03-06 16:51:33 +00:00
sebastia 5cb6d37ce2 Hook up Puppet 8 2024-02-16 20:06:56 +00:00
sebastia a2af66c697 import sysutils/ruby-puppet/8
alongside puppet 7.

feedback and OK kn@
2024-02-16 20:05:55 +00:00
sebastia cbfd3c5e20 update 7.27.0 -> 7.28.0 2024-01-21 10:57:58 +00:00
sebastia dab2defbd4 bye bye Puppet 6, EOL since quite some time, we have Puppet 7
and it makes room for Puppet 8

long time ago no objections for removal from kn@
2024-01-11 19:55:36 +00:00
kn 7de8ebe844 update puppet to 7.27.0 2023-12-09 11:39:35 +00:00
sebastia 1a8efb5911 packaging issues due to pkgpath in PLIST as noted by jca@ 2023-11-21 21:44:12 +00:00
sebastia dc141d3099 update 7.25.0 -> 7.26.0 2023-10-26 09:48:50 +00:00
kn d3c3857352 update to puppet 7.25.0
maintainer OK sebastia on 7.24.0 (timeout on 7.25.0)
2023-07-26 15:54:33 +00:00
jeremy 4f8ba62f45 Bump ports after switching the default ruby version in ports to Ruby 3.2
OK sthen@
2023-05-31 15:21:51 +00:00
sebastia 351d927c4a update 6.28.0 -> 6.29.0
tested against 7.x puppetsever
2023-03-05 15:13:39 +00:00
sebastia 4b659540aa properly handle packages with multiple versions and flavors 2023-02-24 21:51:01 +00:00
sebastia 5f888dd789 update 7.20.0 -> 7.23.0 2023-02-17 16:41:11 +00:00
sebastia efd6c17b56 Add missing dependency to multi_json
pointed out by sthen@
2023-01-25 19:12:55 +00:00
sebastia e3e05260b5 bye bye puppet 5
OK jeremy@
2023-01-20 20:59:35 +00:00
sebastia 7c6cb3024e unhook Puppet 5, hook up Puppet 7, move to Ruby 3.1,
Also switch to install gems instead of hand-rolled install
2023-01-20 20:58:32 +00:00
sebastia 5325b82985 remove two accidently imported files 2023-01-20 20:55:36 +00:00
sebastia 934eb9ef99 import Puppet 7
Puppet lets you centrally manage every important aspect of your system using
a cross-platform specification language that manages all the separate
elements normally aggregated in different files, like users, cron jobs,
and hosts, along with obviously discrete elements like packages, services,
and files.
Puppet's simple declarative specification language provides powerful classing
abilities for drawing out the similarities between hosts while allowing them
to be as specific as necessary, and it handles dependency and prerequisite
relationships between objects clearly and explicitly.
Puppet is written entirely in Ruby.
2023-01-20 20:53:43 +00:00
ajacoutot c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00
kn 8a09417735 Drop myself as maintainer 2022-09-11 17:40:53 +00:00
kn 75bad60434 Update to puppet 6.28.0 2022-08-08 16:56:59 +00:00
kn bd424cb429 Update to puppet 6.27.0 2022-04-21 01:10:48 +00:00
naddy 2b3700e37e drop RCS Ids 2022-03-11 19:57:10 +00:00
kn e7411f37c1 Remove RCSIDs from ports I maintain 2022-03-10 12:03:30 +00:00
kn 4e304e2732 Update to Puppet 6.26.0 2022-01-21 12:10:39 +00:00
kn a651e442ce Update to puppet 6.25.1
Excerpt from https://puppet.com/docs/puppet/6/release_notes_puppet.html :

Puppet can leak credentials when following HTTP redirects

Previously, Puppet followed HTTP redirects, the Authentication and Cookie
headers were passed to different hosts, which could leak sensitive
information.  Now the Authentication and Cookie headers are only sent when
redirecting to the same hosts. PUP-11188
2021-11-10 12:20:03 +00:00
kn 0d09b06922 Update to Puppet 6.25.0 2021-10-13 05:50:56 +00:00
jeremy d44947f608 Set Puppet-related ports to use Ruby 2.7
Puppet 5 and 6 currently use Ruby 2.7, as that is the default Ruby
version.  Puppet 6 can probably run on Ruby 3.0 after a distpatch,
but Puppet 5 would require additional backporting (how much is
unknown).  Both Puppet 5 and 6 depend on facter and mcollective,
and all must use the same Ruby version. So setting all four ports
to use Ruby 2.7 seems like the simplest way to continue to keep things
working when the default Ruby version is switched to Ruby 3.0.

While here, add install patches for Puppet 5, 6, and mcollective
to build with Ruby 3.0, and add backport a distpatch from Puppet 7
to Puppet 6 to allow Puppet 6 to run on Ruby 3.0.  This will make a
future switch to Ruby 3.0 easier.

These changes should not have a runtime effect on Puppet 5 or 6.
The Puppet 6 port is bumped, due to the backported patch, but that
patch should not change runtime behavior on Ruby 2.7.

review from sebastia@ (Puppet 5 maintainer)
OK kn@ (Puppet 6 maintainer)
2021-08-30 19:23:38 +00:00
kn 2fc6935f84 Update to puppet 6.24.0
https://puppet.com/docs/puppet/6/release_notes_puppet.html
2021-07-23 20:21:49 +00:00
kn 30d85c0d2a Update to puppet 6.23.0
https://puppet.com/docs/puppet/6/release_notes_puppet.html
2021-07-11 21:36:18 +00:00
kn a6107bc96a Update to Puppet 6.22.1
https://puppet.com/docs/puppet/6.22/release_notes_puppet.html
2021-05-04 22:03:06 +00:00
giovanni 8b5491e3df sync puppetmaster rcscript with latest changes to puppet rc script
fixes "rcctl puppetmaster check"
ok kn@
2021-05-04 20:56:20 +00:00
kn fbe4b4bd37 Account for "-W0" in pexp
sebastia added "-W0" to Puppet 5 in
> revision 1.33
> date: 2021/01/18 22:26:11;  author: sebastia;  state: Exp;  lines: +4 -2
> suppress the huge number of deprecation/obsolete warnings since Ruby 2.7

Adapt Puppet 6 equally and adjust their common rc script accordingly to
complete this commit to unbreak "rcctl check puppet".

Reported and tested by giovanni
OK giovanni
2021-03-16 18:43:40 +00:00
sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
kn 5fd2152a8a Update to puppet 6.21.1
https://puppet.com/docs/puppet/6.21/release_notes_puppet.html
2021-02-17 18:45:58 +00:00
kn 51ef9f1db0 Update to Puppet 6.21.0
https://puppet.com/docs/puppet/6.21/release_notes_puppet.html
2021-02-10 12:32:37 +00:00
sebastia a0b6cc8725 get rid of these annoying warnings since ruby 2.7:
file_impl.rb:80: warning: Using the last argument as keyword parameters is deprecated
2021-02-02 20:10:09 +00:00
kn d1ecbfe121 Fix PLIST after README removal
Noticed by naddy
2021-01-24 20:25:11 +00:00
kn ac9db2eacf Remove obsolete README
Mcollective support has been deprecated with Puppet 5.5.4,
official documentation links in the README are dead.

OK sebastia
2021-01-23 12:46:15 +00:00