Merge pull request 'Fix typos; add default priority; comments in generated files' (#328) from fancsali/cdist:bugfix/apt-pin-type into 6.9

Reviewed-on: #328
This commit is contained in:
nico14571 2022-03-09 15:15:52 +00:00
commit a441a89d97
4 changed files with 7 additions and 1 deletions

View File

@ -57,6 +57,11 @@ __file "/etc/apt/preferences.d/$name" \
--owner root --group root --mode 0644 \
--state "$state" \
--source - << EOF
# Created by cdist ${__type##*/}
# Do not change. Changes will be overwritten.
#
# $name
Package: $package
Pin: $pin
Pin-Priority: $priority

View File

@ -0,0 +1 @@
500

View File

@ -1,2 +1,3 @@
state
package
priority

View File

@ -1,2 +1 @@
distribution
priority