Skip to content

Commit

Permalink
lint resources
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Jun 1, 2024
1 parent 110884b commit 67482f6
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions resources/resources/config.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
# Cookbook Name:: webui
#
# Cookbook:: webui
# Resource:: config
#

actions :add, :remove, :register, :deregister, :configure_db, :configure_modules, :configure_rsa, :configure_certs, :add_webui_conf_nginx
default_action :add

attribute :user, :kind_of => String, :default => "webui"
attribute :group, :kind_of => String, :default => "webui"
attribute :port, :kind_of => Integer, :default => 8001
attribute :hostname, :kind_of => String
attribute :cdomain, :kind_of => String, :default => "redborder.cluster"
attribute :web_dir, :kind_of => String, :default => "/var/www/rb-rails"
attribute :memory_kb, :kind_of => Integer
attribute :elasticache_hosts, :kind_of => Object
attribute :zk_hosts, :kind_of => String
attribute :s3_local_storage, :kind_of => String, :default => "minio"
attribute :user, kind_of: String, default: 'webui'
attribute :group, kind_of: String, default: 'webui'
attribute :port, kind_of: Integer, default: 8001
attribute :hostname, kind_of: String
attribute :cdomain, kind_of: String, default: 'redborder.cluster'
attribute :web_dir, kind_of: String, default: '/var/www/rb-rails'
attribute :memory_kb, kind_of: Integer
attribute :elasticache_hosts, kind_of: Object
attribute :zk_hosts, kind_of: String
attribute :s3_local_storage, kind_of: String, default: 'minio'

0 comments on commit 67482f6

Please sign in to comment.