Hi,
I'm developing my modules for managing the env with puppet and I have this 
problem.

I use exported resources.
Much like the following example:

node a {
    @@file { "/tmp/foo": content => "fjskfjs\n", tag => "foofile", }
}
node b {
    File <<| tag == 'foofile' |>>
}

(I use the database resource, but for sake of ease even the file will do)

It happens that the exported resource has wrong value inside (in the case of 
the DB maybe the hosname of the user) I have difficulty in fixing the problem 
since it seems (but may be me that does not understand the things completely) 
that it keeps the old values or in the following runs it generates a new 
exported resource that lives with the other, it does not substitute it.

This make a mess in the mysql since I find many user accounts on the DB.

Any idea on how to correctly use the exported resources in a developing 
environment and on how to correctly clean up stuff?

I'm on puppet 3 and using stored config.
Thanks
Luca

-- 
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/-/b7pxAleNUsMJ.
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