Yeah, fire up MySQL and alter the column to be of type TEXT instead of 
VARCHAR(255).  I ran into the same problem.  I believe the column you are 
looking for is fact_values.value.

On Feb 18, 2011, at 12:26 PM, Mark Stanislav wrote:

> So I had been smashing my head against a wall, unsure why I was receiving an 
> error trying to utilize a Facter fact for Munin interface generation.
> 
> err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Duplicate definition: Munin::Interfaces[eth0] is already defined in file 
> /etc/puppet/modules/munin/manifests/init.pp at line 14; cannot redefine at 
> /etc/puppet/modules/munin/manifests/init.pp:14 on node foo.bar
> 
> This led me down many roads until I decided to use notify {} to check the 
> contents of the variable inside of my maniest...
> 
> notice: 
> eth0,eth0_0,eth0_1,eth0_2,eth0_3,eth0_4,eth0_5,eth0_6,eth0_7,eth0_8,eth0_9,eth0_10,eth0_11,eth0_12,eth0_13,eth0_14,eth0_15,eth0_16,eth0_17,eth0_18,eth0_19,eth0_20,eth0_21,eth0_22,eth0_23,eth0_24,eth0_25,eth0_26,eth0_27,eth0_28,eth0_29,eth0_30,eth0_31,eth0
> 
> Ah-ha! So it's truncating. Specifically after 256 characters.
> 
> # echo 
> "eth0,eth0_0,eth0_1,eth0_2,eth0_3,eth0_4,eth0_5,eth0_6,eth0_7,eth0_8,eth0_9,eth0_10,eth0_11,eth0_12,eth0_13,eth0_14,eth0_15,eth0_16,eth0_17,eth0_18,eth0_19,eth0_20,eth0_21,eth0_22,eth0_23,eth0_24,eth0_25,eth0_26,eth0_27,eth0_28,eth0_29,eth0_30,eth0_31,eth0"
>  | wc -c
> 256
> 
> Is this a known situation and if so, how can I augment Puppet, my manifest, 
> or otherwise to allow me to not have this limit?
> 
> Thanks!
> 
> -Mark
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to