summaryrefslogtreecommitdiff
path: root/lib/chef/resource/openssl_rsa_public_key.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-02 11:11:35 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-02 11:13:54 -0700
commit77f8739a4741e2370e40ec39345a92a6ea393a1a (patch)
treebcf3c9a12556ce1fd18a83cd5f68cd24d36a1180 /lib/chef/resource/openssl_rsa_public_key.rb
parent90a74a80196725c4198b6042e8485d68c70777ac (diff)
downloadchef-77f8739a4741e2370e40ec39345a92a6ea393a1a.tar.gz
fix Layout/AlignArgumentslcg/new-chefstyle
this is using: Layout/AlignArguments: Enabled: true EnforcedStyle: with_fixed_indentation the default style can use really excessive whitespace. on starting lines which are already long, it fully indents across to where the arguments start and then begins the line there. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/openssl_rsa_public_key.rb')
-rw-r--r--lib/chef/resource/openssl_rsa_public_key.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/chef/resource/openssl_rsa_public_key.rb b/lib/chef/resource/openssl_rsa_public_key.rb
index c445b49b75..c7c125fb9e 100644
--- a/lib/chef/resource/openssl_rsa_public_key.rb
+++ b/lib/chef/resource/openssl_rsa_public_key.rb
@@ -30,27 +30,27 @@ class Chef
introduced "14.0"
property :path, String,
- description: "An optional property for specifying the path to the public key if it differs from the resource block's name.",
- name_property: true
+ description: "An optional property for specifying the path to the public key if it differs from the resource block's name.",
+ name_property: true
property :private_key_path, String,
- description: "The path to the private key file."
+ description: "The path to the private key file."
property :private_key_content, String,
- description: "The content of the private key, including new lines. This property is used in place of private_key_path in instances where you want to avoid having to first write the private key to disk."
+ description: "The content of the private key, including new lines. This property is used in place of private_key_path in instances where you want to avoid having to first write the private key to disk."
property :private_key_pass, String,
- description: "The passphrase of the provided private key."
+ description: "The passphrase of the provided private key."
property :owner, [String, Integer],
- description: "The owner applied to all files created by the resource."
+ description: "The owner applied to all files created by the resource."
property :group, [String, Integer],
- description: "The group ownership applied to all files created by the resource."
+ description: "The group ownership applied to all files created by the resource."
property :mode, [Integer, String],
- description: "The permission mode applied to all files created by the resource.",
- default: "0640"
+ description: "The permission mode applied to all files created by the resource.",
+ default: "0640"
action :create do
description "Create the RSA public key."