diff --git a/REFERENCE.md b/REFERENCE.md
index aea3c3c..f610705 100644
--- a/REFERENCE.md
+++ b/REFERENCE.md
@@ -71,6 +71,8 @@ Default value: `auto`
##### `name`
+namevar
+
The default namevar
##### `provider`
diff --git a/lib/puppet/type/shellvar.rb b/lib/puppet/type/shellvar.rb
index 70c99c6..97378ae 100644
--- a/lib/puppet/type/shellvar.rb
+++ b/lib/puppet/type/shellvar.rb
@@ -55,6 +55,7 @@ def sync
newparam(:name) do
desc 'The default namevar'
+ isnamevar
end
newparam(:variable) do