-
- if $proxy['ensure'] {
- assert_type(Enum['file', 'present', 'absent'], $proxy['ensure'])
- }
- if $proxy['host'] {
- assert_type(String, $proxy['host'])
- }
- if $proxy['port'] {
- assert_type(Integer, $proxy['port'])
- }
- if $proxy['https']{
- assert_type(Boolean, $proxy['https'])
- }
- if $proxy['direct']{
- assert_type(Boolean, $proxy['direct'])
- }
-