summaryrefslogtreecommitdiff
path: root/lib/chef/resource/dsc_script.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/dsc_script.rb')
-rw-r--r--lib/chef/resource/dsc_script.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/resource/dsc_script.rb b/lib/chef/resource/dsc_script.rb
index 7d1e11b659..86be3ddd70 100644
--- a/lib/chef/resource/dsc_script.rb
+++ b/lib/chef/resource/dsc_script.rb
@@ -46,10 +46,10 @@ class Chef
def code(arg = nil)
if arg && command
- raise ArgumentError, "Only one of 'code' and 'command' attributes may be specified"
+ raise ArgumentError, "Only one of 'code' and 'command' properties may be specified"
end
if arg && configuration_name
- raise ArgumentError, "The 'code' and 'command' attributes may not be used together"
+ raise ArgumentError, "The 'code' and 'command' properties may not be used together"
end
set_or_return(
:code,
@@ -60,7 +60,7 @@ class Chef
def configuration_name(arg = nil)
if arg && code
- raise ArgumentError, "Attribute `configuration_name` may not be set if `code` is set"
+ raise ArgumentError, "Property `configuration_name` may not be set if `code` is set"
end
set_or_return(
:configuration_name,
@@ -71,7 +71,7 @@ class Chef
def command(arg = nil)
if arg && code
- raise ArgumentError, "The 'code' and 'command' attributes may not be used together"
+ raise ArgumentError, "The 'code' and 'command' properties may not be used together"
end
set_or_return(
:command,
@@ -82,7 +82,7 @@ class Chef
def configuration_data(arg = nil)
if arg && configuration_data_script
- raise ArgumentError, "The 'configuration_data' and 'configuration_data_script' attributes may not be used together"
+ raise ArgumentError, "The 'configuration_data' and 'configuration_data_script' properties may not be used together"
end
set_or_return(
:configuration_data,
@@ -93,7 +93,7 @@ class Chef
def configuration_data_script(arg = nil)
if arg && configuration_data
- raise ArgumentError, "The 'configuration_data' and 'configuration_data_script' attributes may not be used together"
+ raise ArgumentError, "The 'configuration_data' and 'configuration_data_script' properties may not be used together"
end
set_or_return(
:configuration_data_script,