Skip to content

Commit

Permalink
Fixes deprecation warning for chef 13 (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
spuder authored and webframp committed Jun 25, 2016
1 parent bde233d commit 976f64c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion resources/carbon_aggregator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
actions :create, :delete
default_action :create

attribute :name, kind_of: String, default: nil, name_attribute: true
attribute :name, kind_of: String, name_attribute: true
attribute :config, kind_of: Hash, default: nil
2 changes: 1 addition & 1 deletion resources/carbon_cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
actions :create, :delete
default_action :create

attribute :name, kind_of: String, default: nil, name_attribute: true
attribute :name, kind_of: String, name_attribute: true
attribute :backend, kind_of: [String, Hash], default: "whisper"
attribute :config, kind_of: Hash, default: nil

Expand Down
2 changes: 1 addition & 1 deletion resources/carbon_conf_accumulator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
actions :create
default_action :create

attribute :name, kind_of: String, default: nil, name_attribute: true
attribute :name, kind_of: String, name_attribute: true
attribute :file_resource, kind_of: String, default: "file[carbon.conf]"

def initialize(*args)
Expand Down
2 changes: 1 addition & 1 deletion resources/carbon_relay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
actions :create, :delete
default_action :create

attribute :name, kind_of: String, default: nil, name_attribute: true
attribute :name, kind_of: String, name_attribute: true
attribute :config, kind_of: Hash, default: nil
2 changes: 1 addition & 1 deletion resources/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
actions :enable, :disable, :restart, :reload
default_action :enable

attribute :name, kind_of: String, default: nil, name_attribute: true
attribute :name, kind_of: String, name_attribute: true

def initialize(*args)
super
Expand Down
2 changes: 1 addition & 1 deletion resources/storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
actions :create, :delete, :upgrade
default_action :create

attribute :prefix, kind_of: String, default: nil, name_attribute: true
attribute :prefix, kind_of: String, name_attribute: true
attribute :package_name, kind_of: String, default: "whisper"
attribute :version, kind_of: String, default: nil
attribute :type, kind_of: String, default: "whisper"
2 changes: 1 addition & 1 deletion resources/storage_conf_accumulator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
actions :create
default_action :create

attribute :name, kind_of: String, default: nil, name_attribute: true
attribute :name, kind_of: String, name_attribute: true
attribute :file_resource, kind_of: String, default: "file[storage-schemas.conf]"

def initialize(*args)
Expand Down
2 changes: 1 addition & 1 deletion resources/storage_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
actions :create, :delete
default_action :create

attribute :name, kind_of: String, default: nil, name_attribute: true
attribute :name, kind_of: String, name_attribute: true
attribute :config, kind_of: Hash, default: nil
2 changes: 1 addition & 1 deletion resources/web_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
actions :create, :delete
default_action :create

attribute :path, kind_of: String, default: nil, name_attribute: true
attribute :path, kind_of: String, name_attribute: true
attribute :config, kind_of: Hash, default: nil
attribute :dynamic_template, kind_of: String, default: "local_settings_dynamic.py"

0 comments on commit 976f64c

Please sign in to comment.