+ validate_string($architecture, $comment, $location, $repos)
+ validate_bool($allow_unsigned)
+ validate_hash($include)
+
+ unless $release {
+ fail('lsbdistcodename fact not available: release parameter required')
+ }
+
+ if $ensure == 'present' and ! $location {
+ fail('cannot create a source entry without specifying a location')
+ }
+
+ $_before = Apt::Setting["list-${title}"]
+ $_include = merge($::apt::include_defaults, $include)