HomePhorge

(#8272) Use symbols instead of booleans for enabled property on Windows
44e2d494f499Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8272) Use symbols instead of booleans for enabled property on Windows

Because the enable property of the service type uses :true and :false as its
valid values, rather than true and false, we need to return :true and :false
from our enabled? method. Otherwise, the property was being synced every time
it was enabled or disabled, regardless of whether it was actually in sync or
not.

Reviewed-By: Jacob Helwig <jacob@puppetlabs.com>

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU38c181d00e87: (#8272) Fixup logging in Windows service provider
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU44e2d494f499: (#8272) Use symbols instead of booleans for enabled property on Windows (authored by Nick Lewis <nick@puppetlabs.com>).Jul 27 2011, 1:41 AM