jasper
df891fa1aa
update to puppet-3.8.4
2015-11-06 13:28:10 +00:00
jasper
14195dd7bc
update to puppet-3.8.3
2015-09-29 08:03:07 +00:00
jasper
ca2a01a149
pkg_add doesn't set a non-zero return value upon failure, so check it's output
...
to determine if a package cannot be installed and fail hard if that's the case
instead of stating the package was succesfully installed.
ok sebastia@
2015-08-24 11:24:26 +00:00
jasper
f405ff1da1
in the service provider, stop using 'rcctl getall' in favor of 'ls all' in
...
combination with 'get $svc flags'. this shaves several seconds off a regular
puppet run, and over 50% on 'puppet resource service'.
as discussed with aja@
also tested by sebastia@
2015-08-13 10:46:31 +00:00
jasper
9bd9e97e58
- update to puppet-3.8.2
...
also tested by sebastia@
2015-08-11 20:19:45 +00:00
jasper
a21104a74f
merged upstream
2015-07-24 19:19:52 +00:00
jasper
752b039ce5
fix ruby 2.2 warning; spotted by sebastia@
2015-07-24 18:19:36 +00:00
jeremy
e07f7c31e7
Remove MODRUBY_ICONV_DEPENDS. ruby 1.8 specific ports can hard code
...
the dependency, more modern ports don't need it.
OK ajacoutot@
2015-07-18 21:07:40 +00:00
jeremy
aa3fa6c794
Remove unnecessary dependency on ruby-json.
...
The json library is shipped with ruby 1.9+, and these ports support the
json library that comes with ruby. While here, remove some
MODRUBY_ICONV_DEPENDS as those only are necessary on ruby 1.8.
OK jasper@
2015-07-18 15:46:11 +00:00
jasper
47e9fa3d27
print a warning when rcctl failed; instead of having the user guess at ruby
...
error messages
2015-07-17 18:09:55 +00:00
jasper
d7bf193d7c
unbreak runtime with ruby 2.2
2015-07-17 17:53:21 +00:00
ajacoutot
373edc3260
Missed bump after the ruby default version update.
2015-07-17 05:54:45 +00:00
ajacoutot
d0a88d87ec
No need for a trailing '$' after the recent rc.subr change.
2015-07-15 14:49:02 +00:00
jasper
28a8ae1cb4
- update to puppet 3.8.1
...
* https://docs.puppetlabs.com/puppet/3.8/reference/release_notes.html#puppet-381
tested by/ok sebastia@
2015-06-01 06:41:00 +00:00
jasper
fea2ec742e
add PORTROACH to limit this to puppet 3
2015-04-16 07:19:12 +00:00
sebastia
d6e9cb901f
Better handling of package flavors, treat flavors as properties instead
...
of a parameter to the resources. Fixes detection of installed package flavors,
and adds the flavor of a package to "puppet resource package" output.
Better handling of service_flags on service configuration, now allow to configure/set
flags before starting a service the first time. That makes services work that require
parameters to start up, and prevents services from running with wrong parameters.
OK jasper@
2015-04-07 17:05:57 +00:00
jasper
7d9bae92ac
rename rc scripts to drop the trailing 'd', so puppetd becomes just puppet.
...
this matches the upstream service names, as discussed with aja@
2015-04-04 09:28:45 +00:00
jasper
8e0b832521
sync rcctl patch with what's been committed upstream
2015-03-15 10:12:47 +00:00
jasper
cc0619f2cc
missed in previous
2015-01-30 10:20:15 +00:00
jasper
7bca334805
update to puppet-3.7.4
...
https://docs.puppetlabs.com/puppet/3.7/reference/release_notes.html#puppet-374
2015-01-30 10:19:27 +00:00
jasper
9002d17cd4
use the more standard way to execute something that may fail with execute()
...
and :failonfail => false
confirmed by sebastia@ not to cause any regressions
this doesn't fix "puppet resource service" however
2015-01-28 08:43:50 +00:00
ajacoutot
87c883aaa4
Adapt to new rcctl(8) syntax. The provider still has a few bugs but
...
Jasper knows about it.
tested by sebastia@
ok jasper@
2015-01-18 10:28:12 +00:00
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