what happens if you use source => undef ?

Ohad

On Tue, Apr 6, 2010 at 12:10 PM, Alan Sparks <aspa...@doublesparks.net>wrote:

>
> I'm trying to create an exported file resource and receiving a vague
> error message:
> Apr  5 18:01:04 ny4-dev-util01 puppetd[12860]: Could not run Puppet
> configuration client: You cannot specify more than one of content,
> source, target at line 102
>
> A puppet client (it's 0.24.8) is creating the following resource:
>        @@file { "mlwormbackup_$fqdn":
>                mode    => 644,
>                owner   => root,
>                group   => root,
>                ensure  => $worm_backup_enabled,
>                path    => "/root/ml_backup_hosts/$fqdn",
>                content =>
> "HOST=$fqdn\nCLEAR=$my_clear_shortname\nCLIENT=$my_bd_shortname\n",
>                tag     => "mlwormbackup",
>        }
>
> Another server (this is a 0.25.4 puppet) has the following in its node
> definition:
> File <<| tag == "mlwormbackup" |>>
>
>
> All are running against a 0.25.4 puppetmaster.  We're in process of
> testing migration of all to 0.25.
>
> The message makes no sense to me.  The resource only has a content
> parameter, no source or target.  Why is the 0.25 puppet (or the
> puppetmaster?) complaining about "more than one" of anything?  I've
> looked for duplicate instances of this resource, emptied the
> storeconfigs database completely, and still cannot locate the source of
> this message.
>
> Is there some incompatibility in stored configs between 0.24 and 0.25
> clients?
>
> Thanks in advance for any advice.
> -Alan
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@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-us...@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