Actions
Feature #3955
closedDefine param_defined? and param_true? methods for Host
Description
We often do this in our templates:
@host.params['enable-puppetlabs-repo'] && @host.params['enable-puppetlabs-repo'] == 'true'
this could be written as
@host.param_true?('enable-puppetlabs-repo')
I am going to do this small patch and after this is merged, let's raise a ticked for community templates to use this after 1.4 release.
Updated by Lukas Zapletal over 11 years ago
- Status changed from Assigned to Ready For Testing
- Target version set to 1.9.2
- Translation missing: en.field_release set to 2
Updated by Lukas Zapletal over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Actions