Sven Mueller
2009-Feb-03 10:42 UTC
[Puppet Users] problem with exported resources (and sqlite as well as mysql)
Hi.
I''m using sqlite to store configs. Now I have 5 identical nodes (the
node stanzas only differ in the content of some fqdn-dependent
variables), named db-ecl[1-5].our.local.domain
The odd thing is: db-ecl[2-4] successfully store their (exported)
resources in the sqlite DB, but db-ecl1 and db-ecl5 don''t.
To be more specific: db-ecl1 and db-ecl5 actually store their
config/resources, but they don''t get tagged as being exported
resources.
The instantiation of the resources on db-ecl[15] actually find their
respective exported resources, but for some reason, they are stored as
_non-exported_ resources in the database.
This is using puppet 0.24.7 on RHEL52, with mysql 5.0.45-7.el5 or sqlite
3.3.6-2
Any idea what could be the cause?
Here is how the export and the collection parts in the config look like.
Note: This is directly in the "node" definition:
@@ssh_authorized_key {
"oracle@$fqdn":
ensure => present,
key => "<removed_for_brevity>",
target =>
"/home/oracle/.ssh/authorized_keys",
type => "ssh-rsa",
user => "oracle",
tag => "DBcluster"
}
@@sshkey {
"oracle_cross_sshhost_rsa_$fqdn":
ensure => present,
alias => [ "$shortname",
"$shortname.$alldomain",
"$shortname-vip",
"$shortname-vip.$alldomain",
"$shortname-priv",
"$shortname-priv.$alldomain"
],
key => "<removed_for_brevity>",
type => "ssh-rsa",
target => "/etc/ssh/ssh_known_hosts",
tag => "DBcluster"
}
# collect all keys from the cluster
Ssh_authorized_key <<| tag=="DBcluster" |>>
Sshkey <<| tag=="DBcluster" |>>
I''m lost, any help would be appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---