The code is like below:
@@concat::fragment{ "${name}" :
target => "/etc/bind/named.conf.keys",
content => template("dns/named.conf.keys.erb"),
order => 10,
tag => 'dnskey'
}
Concat::Fragment <<| tag == 'dnskey' |>>
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find type Concat::Fragment on node
Is anybody facing the same kind of issue ?
--
Bruno
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@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.
what version did you upgrade from? could you also recreate with --trace.
thanks,
Dan
On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon <nonol...@gmail.com> wrote:
I don't if anybody is using the concat modules from ripienaar,
but since an upgrade to 2.7.5 I keep getting an error on fragment collection.
The code is like below:
@@concat::fragment{ "${name}" :
target => "/etc/bind/named.conf.keys",
content => template("dns/named.conf.keys.erb"),
order => 10,
tag => 'dnskey'
}
Concat::Fragment <<| tag == 'dnskey' |>>
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find type Concat::Fragment on node
Is anybody facing the same kind of issue ?
--
Bruno
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@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...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@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.
Daniel
On Tue, Oct 4, 2011 at 15:32, Nigel Kersten <ni...@puppetlabs.com> wrote:
> Are you exporting resources with a postgresql backend Bruno?
>
> On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon <nonol...@gmail.com> wrote:
>>
>> I don't if anybody is using the concat modules from ripienaar,
>> but since an upgrade to 2.7.5 I keep getting an error on fragment
>> collection.
>>
>> The code is like below:
>>
>> @@concat::fragment{ "${name}" :
>> target => "/etc/bind/named.conf.keys",
>> content => template("dns/named.conf.keys.erb"),
>> order => 10,
>> tag => 'dnskey'
>> }
>>
>> Concat::Fragment <<| tag == 'dnskey' |>>
>>
>> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
>> Could not find type Concat::Fragment on node
>>
>> Is anybody facing the same kind of issue ?
>>
>> --
>> Bruno
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To post to this group, send email to puppet...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
>
>
> --
> Nigel Kersten
> Product Manager, Puppet Labs
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
--
⎋ Puppet Labs Developer – http://puppetlabs.com
♲ Made with 100 percent post-consumer electrons
The declaration of concat::fragment works fine,
only the collection breaks, which means the define is available to puppet.
To be more generic it seems to me that the collection of an exported
define does not work properly in 2.7.5 ( did not test other case though).
--
Bruno
Hrm. I have a suspicion about this; is Nigel right? Do you have
PostgreSQL for StoreConfigs?
If so, can you turn on query logging (in the database, most easily),
and check if we are searching for a resource with type
`Concat::fragment`, but storing with type `Concat::Fragment`?
Daniel
Bruno
sorry for the delay, I did a few tests and found out that the puppet
master does not even go as far a querying the database.
Starting from a clean query log (mysql), there is no sign of
Concat::Fragment (tried small case as well).
I guess this info also applies to the post "Problems with exported
resources after upgrade to 2.7.5".
--
Bruno
sorry for the delay, I did a few tests and found out that the puppet
master does not even go as far a querying the database.
Starting from a clean query log (mysql), there is no sign of
Concat::Fragment (tried small case as well).
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/OAiJdI2v2eoJ.