Introduce an Apt::Proxy type to validate the hash
[puppet-modules/puppetlabs-apt.git] / types / proxy.pp
1 type Apt::Proxy = Struct[
2   {
3     ensure => Optional[Enum['file', 'present', 'absent']],
4     host   => Optional[String],
5     port   => Optional[Integer[0, 65535]],
6     https  => Optional[Boolean],
7     direct => Optional[Boolean],
8   }
9 ]