diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 11:11:35 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 11:13:54 -0700 |
commit | 77f8739a4741e2370e40ec39345a92a6ea393a1a (patch) | |
tree | bcf3c9a12556ce1fd18a83cd5f68cd24d36a1180 /lib/chef/resource/windows_dns_zone.rb | |
parent | 90a74a80196725c4198b6042e8485d68c70777ac (diff) | |
download | chef-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/windows_dns_zone.rb')
-rw-r--r-- | lib/chef/resource/windows_dns_zone.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/resource/windows_dns_zone.rb b/lib/chef/resource/windows_dns_zone.rb index b3ae4b9ff7..9ac208fddc 100644 --- a/lib/chef/resource/windows_dns_zone.rb +++ b/lib/chef/resource/windows_dns_zone.rb @@ -28,16 +28,16 @@ class Chef introduced "15.0" property :zone_name, String, - description: "An optional property to set the dns zone name if it differs from the resource block's name.", - name_property: true + description: "An optional property to set the dns zone name if it differs from the resource block's name.", + name_property: true property :replication_scope, String, - description: "The replication scope for the zone, required if server_type set to 'Domain'.", - default: "Domain" + description: "The replication scope for the zone, required if server_type set to 'Domain'.", + default: "Domain" property :server_type, String, - description: "The type of DNS server, Domain or Standalone.", - default: "Domain", equal_to: %w{Domain Standalone} + description: "The type of DNS server, Domain or Standalone.", + default: "Domain", equal_to: %w{Domain Standalone} action :create do description "Creates and updates a DNS Zone." |