Hi,

To use exported ressources, I choice to install mysql and I modify puppet.conf, 
adding :
    storeconfigs = true
    dbadapter = mysql
    dbuser = puppet
   dbpassword = <<a password>>
    dbserver = localhost
    dbsocket = /var/run/mysqld/mysqld.sock

Then I run : /etc/init.d/puppetmaster restart

And on client I have the following error :
Warning: Error 400 on SERVER: Could not retrieve facts for <<agent fqdn>>: 
Could not autoload puppet/indirector/facts/active_record: uninitialized 
constant ActiveRecord

Does some one knows what's happened ?

Cordialement,

Bernard Granier
CE Plateforme Système
[email protected]<mailto:[email protected]>
01 58 11 32 51

From: [email protected] [mailto:[email protected]] On 
Behalf Of Peter Brown
Sent: Friday, February 22, 2013 2:49 AM
To: puppet-users
Subject: Re: [Puppet Users] dependencies between nodes

On 22 February 2013 06:24, Kyle Sexton 
<[email protected]<mailto:[email protected]>> wrote:
"GRANIER Bernard (MORPHO)" 
<[email protected]<mailto:[email protected]>> writes:

> Hi,
>
> I need to describe dependencies between nodes, for example,
> to be sure that database is deployed on one node before
> deploying web application on another node.
>
I haven't messed with inter-dependent nodes yet, but exported resources
might fit the bill.  Something like:


I agree with Kyle.

This seems like the best way to achieve this sort of node interdependence.


,----
| node a {
|     # Do this when the DB is installed
|     @@file { "/tmp/dbdone.txt": content => "Woo, DB installed!\n", tag => 
"dbdone", }
| }
|
| node b {
|     File <<| tag == 'foofile' |>>
| }
`----


Then if /tmp/dbdone.txt is on nodeb it's safe to install?  Again,
haven't tried this but potentially worth looking at.  No matter what I'm
curious what the solution is.


--
Kyle Sexton

--
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:puppet-users%[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


#
" This e-mail and any attached documents may contain confidential or 
proprietary information. If you are not the intended recipient, you are 
notified that any dissemination, copying of this e-mail and any attachments 
thereto or use of their contents by any means whatsoever is strictly 
prohibited. If you have received this e-mail in error, please advise the sender 
immediately and delete this e-mail and all attached documents from your 
computer system."
#

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to