[Puppet Users] ensure file content with filename different on each host
Hi, I have several hosts. Each host have to contain a file like /a/path/com.apple.screensaver.BC2A8418-FC5B-5825-B3F1-0072B100A4B4.plist. The content have to be the same on all hosts. But the BC2A8418-FC5B-5825-B3F1-0072B100A4B4 part of the file name is different on each host. Is it possible to manage this situation with puppet ? If yes how ? Regards, -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33(0)4 6787 0704 / +33(0)6 2584 0337* Kezia -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] puppet dashboard and mysql server is not localhost
On 16/04/2012 14:03, Fabien COMBERNOUS wrote: [...] Then i used the migrate and got the following output : server1:puppet-dashboard root# rake RAILS_ENV=production db:migrate (in /usr/share/puppet-dashboard) rake aborted! uninitialized constant MysqlCompat::MysqlRes I missed something ? The answer is with MacOSX Lion : install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Library/Ruby/Gems/1.8/gems/mysql-2.8.1/lib/mysql_api.bundle -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33(0)4 6787 0704 / +33(0)6 2584 0337* Kezia -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] puppet dashboard and mysql server is not localhost
Thank you for your answer. I added the hosts parameter in the file : # config/database.yml production: database: dashboard hosts: server2 username: dashboard password: dashboard encoding: utf8 adapter: mysql Then i used the migrate and got the following output : server1:puppet-dashboard root# rake RAILS_ENV=production db:migrate (in /usr/share/puppet-dashboard) rake aborted! uninitialized constant MysqlCompat::MysqlRes I missed something ? On 16/04/2012 13:36, Mike Becker wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That is possible you just need to edit the hosts parameter. The Dashboard is a rails application don't forget to migrate your database afterwards, Regards, Mike Am 16.04.2012 12:19, schrieb Fabien COMBERNOUS: Hi, I'm installing puppet dashboard on a server1. I have an already existing mysql service, hosted on server2. Is it possible to configure database.yml in the puppet dashboard to use the host server2 instead of localhost ? Regards, -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPjARVAAoJEJbRlombcANxKhYH/ijuL/TU6fVuO6Fy4WB29jPJ wsXMe7KCV0FsAGtNE13L3j+6qHBKNZpbZ72FF/V5hAa5dk5tukLV5il3ZRyEEGxY 3KFyWMtIBA5w9ozmOEpE6XYZQwhVYUDY/q+e7EIYjvJBzdlwuPvQe2xgrulgTjhU kM1WY8P7SivYcGN1HAZxqjtGJJzpVdJqdCmHoObyIorEyo+fxz7/7nO2108lWrIA ImomaTI1L/vW+Mmba7y8jc1mYrefy/4GIVVxOHK1S86WtW3TCxVDZa4XzLQqQUjK ZPGEfHAcNir2YcVn8FiAbVzROKhKxyIYvMy19D29JYkPCoOtKnWOe/1ZYs/Kztk= =9ZLV -END PGP SIGNATURE- -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33(0)4 6787 0704 / +33(0)6 2584 0337* Kezia -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] puppet dashboard and mysql server is not localhost
Hi, I'm installing puppet dashboard on a server1. I have an already existing mysql service, hosted on server2. Is it possible to configure database.yml in the puppet dashboard to use the host server2 instead of localhost ? Regards, -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33(0)4 6787 0704 / +33(0)6 2584 0337* -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.