Commit b81b6e88 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Add unified_mode for all resources

parent e35e034f
......@@ -18,6 +18,8 @@
#
resource_name 'foswiki_configure'
unified_mode true if respond_to? :unified_mode
property :parameter, String, name_property: true
property :config, Hash, coerce: proc { |value|
......
......@@ -18,6 +18,8 @@
#
resource_name 'foswiki_extensions_repository'
unified_mode true if respond_to? :unified_mode
property :repo_name, String, name_property: true
property :web_url, String, required: true
......
......@@ -18,6 +18,8 @@
#
resource_name 'foswiki_extensions_web'
unified_mode true if respond_to? :unified_mode
property :web_name, String, name_property: true
property :color, String, default: '#efefef'
......
......@@ -18,6 +18,7 @@
#
resource_name 'foswiki_install'
unified_mode true if respond_to? :unified_mode
property :checksum, String, desired_state: false
property :force, [true, false], default: false, desired_state: false
......
......@@ -18,6 +18,7 @@
#
resource_name 'foswiki_patches'
unified_mode true if respond_to? :unified_mode
property :group, String, default: 'www-data'
property :holidaylistplugin, [true, false], default: false
......
......@@ -18,6 +18,8 @@
#
resource_name 'foswiki_plugin'
unified_mode true if respond_to? :unified_mode
property :plugin_name, String, name_property: true
property :enable, [true, false], default: true
......
......@@ -18,6 +18,8 @@
#
resource_name 'foswiki_web'
unified_mode true if respond_to? :unified_mode
property :web_name, String, name_property: true
property :base, String, default: '_default'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment