cookbook 'duply', '~> 0.2.3'
duply (6) Versions 0.2.3 Follow0
Installs/Configures duply
cookbook 'duply', '~> 0.2.3', :supermarket
knife supermarket install duply
knife supermarket download duply
duply cookbook
LWRP for Duplicity/Duply backup sets.
Supports
- Ubuntu 12.04
- Ubuntu 14.04
- Debian 7.4
Requirements
Duplicity installed.
Usage
Attributes
Recipes
default
Installs the LWRP. Does nothing else.
Resources
This cookbook provides a profile resource along with direct command execution.
duply_profile "profile_name" do destination "file:///var/backups/test" encrypt_for [ keys['server'][:key_id], keys['alice'][:key_id], keys['bob'][:key_id] ] signed_by keys['server'][:key_id] passphrase keys['server'][:passphrase] compression :bzip2 volume_size 50 keep_full 5 full_every '2M' includes [ '/etc/duply' ] excludes [ '**.asc' ] end
It is also possible to use Swift (OpenStack) as storage backend and to choose traditional symmetric GPG encryption only.
duply_profile 'swift' do destination 'swift://backup' passphrase 'testpass' swift_username 'swift_user123' swift_tenant 'swift_tenant123' swift_password 'swift_password123' swift_authurl 'https:/swift.example.com:5000/v2.0' includes [ '/etc/duply' ] excludes [ '**.asc' ] end
Execute duply commands from the cookbook
duply "test-incr" do profile "test" action :incremental end
License & Authors
- Author:: Li-Te Chen (datacoda@gmail.com)
- Author:: Gunter Miegel (gunter.miegel@rgsqd.de, gunter.miegel@cloudandheat.com)
Copyright 2014-2016 Nephila Graphic, Li-Te Chen Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.3 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.2.3 failed this metric
FC066: Ensure chef_version is set in metadata: duply/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: duply/resources/default.rb:1
FC074: LWRP should use DSL to define resource's default action: duply/resources/profile.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:28
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:34
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:40
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:46
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/profile.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/profile.rb:107
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Testing File Metric
0.2.3 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.2.3 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.2.3 failed this metric
0.2.3 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.2.3 failed this metric
FC066: Ensure chef_version is set in metadata: duply/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: duply/resources/default.rb:1
FC074: LWRP should use DSL to define resource's default action: duply/resources/profile.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:28
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:34
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:40
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:46
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/profile.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/profile.rb:107
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Testing File Metric
0.2.3 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.2.3 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.2.3 failed this metric
FC074: LWRP should use DSL to define resource's default action: duply/resources/default.rb:1
FC074: LWRP should use DSL to define resource's default action: duply/resources/profile.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:28
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:34
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:40
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/default.rb:46
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/profile.rb:26
FC085: Resource using new_resource.updated_by_last_action to converge resource: duply/providers/profile.rb:107
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.3 passed this metric
Testing File Metric
0.2.3 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.2.3 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.2.3 failed this metric
0.2.3 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