@@ -19,21 +19,22 @@ syntax_full_code_block: |-
1919 key String, Array, false # default value: []
2020 key_proxy String, false
2121 keyserver String, false # default value: "keyserver.ubuntu.com"
22+ options String, Array # default value: []
2223 repo_name String # default value: 'name' unless specified
24+ signed_by String, true, false # default value: true
2325 trusted true, false # default value: false
2426 uri String
25- options String, Array # default value: []
2627 action Symbol # defaults to :add if not specified
2728 end
28- syntax_properties_list :
29+ syntax_properties_list :
2930syntax_full_properties_list :
3031- " `apt_repository` is the resource."
3132- " `name` is the name given to the resource block."
3233- " `action` identifies which steps Chef Infra Client will take to bring the node into
3334 the desired state."
3435- " `arch`, `cache_rebuild`, `components`, `cookbook`, `deb_src`, `distribution`, `key`,
35- `key_proxy`, `keyserver`, `repo_name`, `trusted`, and `uri` are the properties available
36- to this resource."
36+ `key_proxy`, `keyserver`, `options`, ` repo_name`, `signed_by`, ` trusted`, and `uri`
37+ are the properties available to this resource."
3738actions_list :
3839 :nothing :
3940 shortcode : resources_common_actions_nothing.md
@@ -99,6 +100,12 @@ properties_list:
99100 default_value : keyserver.ubuntu.com
100101 description_list :
101102 - markdown : The GPG keyserver where the key for the repo should be retrieved.
103+ - property : options
104+ ruby_type : String, Array
105+ required : false
106+ default_value : " []"
107+ description_list :
108+ - markdown : Additional options to set for the repository
102109- property : repo_name
103110 ruby_type : String
104111 required : false
@@ -107,24 +114,28 @@ properties_list:
107114 description_list :
108115 - markdown : An optional property to set the repository name if it differs from the
109116 resource block's name. The value of this setting must not contain spaces.
117+ - property : signed_by
118+ ruby_type : String, true, false
119+ required : false
120+ default_value : ' true'
121+ description_list :
122+ - markdown : If set to true, Signed-By authenticates with the value of the key property.
123+ If set to a string that's a file path or fingerprint, Signed-By authenticates
124+ with that file or fingerprint.
110125- property : trusted
111126 ruby_type : true, false
112127 required : false
113128 default_value : ' false'
114129 description_list :
115130 - markdown : Determines whether you should treat all packages from this repository
116131 as authenticated regardless of signature.
117- - property : options
118- ruby_type : String, Array
119- required : false
120- default_value : " []"
121- description_list :
122- - markdown : Additional options to set for the repository.
123132- property : uri
124133 ruby_type : String
125134 required : false
126135 description_list :
127136 - markdown : The base of the Debian distribution.
137+ target_mode :
138+ support : full
128139examples : |
129140 **Add repository with basic settings**:
130141
0 commit comments