diff options
| author | Michael V. O'Brien <michael@reductivelabs.com> | 2007-09-11 14:45:41 -0500 |
|---|---|---|
| committer | Michael V. O'Brien <michael@reductivelabs.com> | 2007-09-11 14:45:41 -0500 |
| commit | 16380893452bfc0187aab85f9698349f7a42a0b8 (patch) | |
| tree | 06715fd9b9ba2fc98f39b34b67950c13422ae3f7 /lib | |
| parent | 36e24e28b2433c2306b5f3edd6f61197f4ea7bb2 (diff) | |
Fixed #797. Removed the warning message about specifying 'enable' or 'ensure' when initializing a service.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/type/service.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/puppet/type/service.rb b/lib/puppet/type/service.rb index 8da65b28d..9d94cc8a0 100644 --- a/lib/puppet/type/service.rb +++ b/lib/puppet/type/service.rb @@ -296,10 +296,6 @@ module Puppet if self.respond_to?(:configchk) self.configchk end - - unless @parameters.include?(:ensure) or @parameters.include?(:enable) - warning "No properties specified; 'enable' or 'ensure' should be specified" - end end # Basically just a synonym for restarting. Used to respond |
