diff options
Diffstat (limited to 'manifests/preferences_snippet.pp')
-rw-r--r-- | manifests/preferences_snippet.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/preferences_snippet.pp b/manifests/preferences_snippet.pp index fd2956d..4b8e575 100644 --- a/manifests/preferences_snippet.pp +++ b/manifests/preferences_snippet.pp @@ -2,8 +2,9 @@ define apt::preferences_snippet( $ensure = 'present', $source = '', $release, - $priority -){ + $priority ) +{ + if $custom_preferences == false { fail("Trying to define a preferences_snippet with \$custom_preferences set to false.") } |