Bug #797
No properties specified warning unnecessary
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 0.24.0 | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
warning: /Service[apache]: No properties specified; 'enable' or 'ensure' should be specified
… appears when running Puppet in verbose mode (which we do in 50% of our use cases) if you declare a service but don’t specify an enable or ensure. But there is a valid reason we do this: we don’t have a default setting for the service and rather, we want to declare it one area, and then override it in subclasses depending on if you need it running or not running.
History
Updated by Anonymous over 4 years ago
- Status changed from 1 to 2
Updated by Anonymous over 4 years ago
- Status changed from 2 to Closed
- 7 set to fixed
Fixed in commit:16380893452bfc0187aab85f9698349f7a42a0b8. Removed the warning message about not specifying ‘enable’ or ‘ensure’ when initializing a service.