cookbook 'ayte-yandex-disk', '~> 0.1.1'
ayte-yandex-disk (2) Versions 0.1.1 Follow0
Installs/Configures ayte-yandex-disk daemon
cookbook 'ayte-yandex-disk', '~> 0.1.1', :supermarket
knife supermarket install ayte-yandex-disk
knife supermarket download ayte-yandex-disk
ayte-yandex-disk
Cookbook for managing Yandex.Disk Linux daemon.
Currently supports Ubuntu 16.04+ only.
Recipes
install
ayte-yandex-disk::install
recipe will install the CLI tool itself
using official Yandex repo.
Resources
yandex_disk_auth
Creates authentication (passwd) file at specified location:
yandex_disk_auth '/etc/yandex/disk/auth' do username 'cat' password 'box' # sensitive, implied that it will be seeded from data bag force false # whether to force run if file already exists, optional owner 'user' # optional group 'user' # optional end
yandex_disk_configuration
yandex_disk_configuration '/etc/yandex/disk/configuration' do storage_path '/var/yandex/disk' # required, no auto-detection magic auth_file_path '/etc/yandex/disk/auth' # required proxy 'no' # optional exclusions %w[Music] # optional extra( startonstartofindicator: 'yes', stoponexitfromindicator: 'no' ) # optional owner 'user' # optional group 'user' # optional end
yandex_disk_service
Adds systemd service for automatic startup.
yandex_disk_service 'yandex-disk' do configuration_path '/etc/yandex/disk/configuration' end
This cookbook is likely to receive no further updates due to yandex
public image.
Licensing
[MIT](LICENSE-MIT) / [UPL-1.0](LICENSE-UPL-1.0)
Dependent cookbooks
apt >= 7.1.1 |
systemd >= 3.2.4 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
ayte-yandex-disk CHANGELOG
This file is used to list changes made in each version of the ayte-yandex-disk cookbook.
0.1.1 - 2020-09-13
Added "provides" specifications for resources
0.1.0
Initial release.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 failed this metric
FC067: Ensure at least one platform supported in metadata: ayte-yandex-disk/metadata.rb:1
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:4
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:5
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:6
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:7
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:8
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:9
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:10
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:6
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:7
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:8
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:9
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:10
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:11
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:12
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:13
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:4
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:5
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:6
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 failed this metric
FC067: Ensure at least one platform supported in metadata: ayte-yandex-disk/metadata.rb:1
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:4
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:5
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:6
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:7
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:8
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:9
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:10
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:6
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:7
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:8
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:9
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:10
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:11
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:12
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:13
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:4
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:5
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:6
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:4
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:5
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:6
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:7
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:8
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:9
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/auth.rb:10
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:6
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:7
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:8
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:9
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:10
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:11
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:12
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/configuration.rb:13
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:4
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:5
FC091: Use property not attribute in custom resources: ayte-yandex-disk/resources/service.rb:6
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number