summaryrefslogtreecommitdiff
path: root/spec/unit/provider/service/openbsd_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19(PUP-2578) Adjust spec tests to recent changes:Jasper Lievisse Adriaanse1-2/+26
- Ensure strict ordering of the result of #pkg_scripts_append - Add test for #in_base? - Ensure package scripts don't end up with empty flags
2014-04-18(PUP-2143) Implement :enableable for OpenBSD service providerZach Leslie1-22/+129
Before now, Puppet has been unable to enable services on OpenBSD. This work implements a flags property that is manages the content of the rc.conf.local file, used by OpenBSD to define service runtime options and enable services. The flags property may also be used by other platforms, such as FreeBSD.
2014-01-27(PUP-1318) Fixing expected parameters in service provider specs now that ↵Peter Huene1-16/+16
service output is no longer squelched by default. Redmine 565, a seven year old issue referenced in a comment in lib/puppet/provider/service/service.rb, is no longer applicable to `Puppet::Util::Execution#execute`. It was squelching service output because of a bug in ruby where `#read` on a pipe never returned when the spawned process is SIGTERM'd by one of its children. The current implementation of `Puppet::Util::Execution#execute` redirects to a temporary file instead of reading from a pipe. We should no longer be squelching service output so that users can easily diagnose service failures.
2013-09-17(#22579) Add service provider for OpenBSD's rc.dJasper Lievisse Adriaanse1-0/+125