summaryrefslogtreecommitdiffstats
path: root/examples/code/snippets/classheirarchy.pp
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-07-26 15:58:31 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-19 13:52:57 -0700
commit881c3858e88b6cc3d2c0e7bea6785fcbf091e4c0 (patch)
treed7ce1350905aa2904ee001666834a5fd8f7134d2 /examples/code/snippets/classheirarchy.pp
parent9c575bd9106b3ffed92c357ead8ff06c01c484d5 (diff)
downloadpuppet-881c3858e88b6cc3d2c0e7bea6785fcbf091e4c0.tar.gz
puppet-881c3858e88b6cc3d2c0e7bea6785fcbf091e4c0.tar.xz
puppet-881c3858e88b6cc3d2c0e7bea6785fcbf091e4c0.zip
(#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> (cherry picked from commit 44e2d494f499e2005c1b31b92b97834189d4224d)
Diffstat (limited to 'examples/code/snippets/classheirarchy.pp')
0 files changed, 0 insertions, 0 deletions