Hello all,
I am struggling with a strange problem in puppet. I copied the recipe
for autofs from the trac (here
http://reductivelabs.com/trac/puppet/wiki/Recipes/Autofs), the first
line of the recipe is :
define autofs_master($mounts)
{
As I am using LDAPnodes for description, I added the line :
$mounts= split(get_var(''mounts''), ",")
at the beginning of the manifest, which lead to reassigning $mounts
variable, which is bad and does not work ;-) So I changed the variable
name in my manifest to prevent this problem.
But when I now try to update the client it continues complaining on the
variable reassignment... refering to the old manifest and variable name,
can''t find out why...
A summary of the problem is available here : http://pastie.org/613352
I upgraded from 0.24.5 to 0.24.8 on the puppet master as advised on IRC
yesterday, but that does not work better.
Has anyone ever experienced this kind of problem ? Am I missing
something ? (actually, I completely changed the variable name to
"toto"
and it is still complaining, i don''t know why...)
Cheers,
Julien
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Hello all,
I am struggling with a strange problem in puppet. I copied the recipe
for autofs from the trac (here
http://reductivelabs.com/trac/puppet/wiki/Recipes/Autofs), the first
line of the recipe is :
define autofs_master($mounts)
{
As I am using LDAPnodes for description, I added the line : 
$mounts= split(get_var(''mounts''), ",") 
at the beginning of the manifest, which lead to reassigning $mounts
variable, which is bad and does not work ;-) So I changed the variable
name in my manifest to prevent this problem. 
But when I now try to update the client it continues complaining on the
variable reassignment... refering to the old manifest and variable name,
can''t find out why...
A summary of the problem is available here : http://pastie.org/613352
I upgraded from 0.24.5 to 0.24.8 on the puppet master as advised on IRC
yesterday, but that does not work better.
Has anyone ever experienced this kind of problem ? Am I missing
something ? (actually, I completely changed the variable name to
"toto"
and it is still complaining, i don''t know why...)
Cheers,
Julien
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---