[Puppet Users] Re: How to manage SugarCRM config.php with Puppet?

2014-01-24 Thread Erwin Bogaard
Thanks for your suggestions. Hiera seemed the best solution, but it seems then you still have to manage the whole file. Not just parts. When I have some more time, I'm going to dive in Hiera, as is seems to be a good solution to other 'challenges' I have (and have solved badly, right now). For

Re: [Puppet Users] Install MSI packages

2014-01-24 Thread pskovshurik
Hi Rob, I did not see that! I will try it this way. Puppet version is 3.4 Open Source. The other question I have is where can I get a list of install_option flags for MSI packages? There are some examples such as INSTALLDIR and ALLUSERS but this is not a complete list. Thanks again Alex On

[Puppet Users] Configure Replica Set Puppet

2014-01-24 Thread Luis León
What is the best option to configure a replica set in MongoDB with Puppet? I have to do this steps: mongo localhost:1/admin > rs.initiate({"_id" : "shard1", "members" : [ ... {"_id" : 0, "host" : ":1"}, ... {"_id" : 1, "host" : ":1"}, ... {"_id" : 2, "host" : ":11000", arbite

Re: [Puppet Users] Is it possible to include files in puppet.conf

2014-01-24 Thread Edd Grant
Hi Jose, Thanks for responding, I should have mentioned I have already looked at dynamic environments. Unfortunately though several of our environments require a unique module path and I couldn't find a way to accommodate that using dynamic environments. I suppose the ideal would be for us to rem

[Puppet Users] DashboardQuery

2014-01-24 Thread kaustubh chaudhari
Hi, Is there a way to track which admin did what task in dashboard. I have a admin team who will be using Dashboard, i am worried that i will not be able to track who did what? Is there a way to track it ? Can some one redirect me to the appropriate documentation ? -Kaustubh -- You received

Re: [Puppet Users] Re: Exporting a resource only once....

2014-01-24 Thread Lorenzo Salvadorini
>Basically my situation is the following: >- A database server >- Several web application servers. We have a similar environment and the solution we adopted is very simple: put the "if ! defined" inside the exported resource and of course make the name of the resource unique between the web applic

Re: [Puppet Users] DashboardQuery

2014-01-24 Thread Jason Antman
I haven't used a dashboard version newer than... 2 years old or so... but as of that version, and the version of Console that shipped with Puppet Enterprise 2.5, no, this isn't possible. It's been a feature request for years, and is one of the main factors that drove me to develop my own ENC.

[Puppet Users] file resource to provide serveral files

2014-01-24 Thread Andreas Dvorak
Dear all, with my class config.pp I would like to provide config file to /etc/logrotate.d. filename: config.pp class logrotate::config($conf_file){ case $::osfamily { redhat:{ file { "/etc/logrotate.d/${conf_file}": ensure => 'present', owner => 'root', group

Re: [Puppet Users] Is it possible to include files in puppet.conf

2014-01-24 Thread Jose Luis Ledesma
I don't understand the problem, just use a modulepath without the $environment, or set a couple of paths this way: modulepath = $confdir/environments/common:$confdir/environments/$environment/modules Regards, -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] file resource to provide serveral files

2014-01-24 Thread Jose Luis Ledesma
I think that what you need is a define here. Regards, -- 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 puppet-users+unsubscr...@googlegroups.com. To view this di

[Puppet Users] Re: Exporting a resource only once....

2014-01-24 Thread jcbollinger
On Thursday, January 23, 2014 10:26:08 AM UTC-6, Krist van Besien wrote: > > > > On Thursday, January 23, 2014 2:59:29 PM UTC+1, jcbollinger wrote: >> >> >> It only makes sense to export resources that are somehow specific to or >> characteristic of the node whose catalog is being compiled. If

[Puppet Users] Re: file resource to provide serveral files

2014-01-24 Thread Andreas Dvorak
Hi, I am trying this. config.pp of module logrotate define logrotate::config{ case $::osfamily { redhat:{ file { "/etc/logrotate.d/${conf_file}": ensure => 'present', owner => 'root', group => 'root', mode => '0644', source => "puppet://${pup

Re: [Puppet Users] Re: Exporting a resource only once....

2014-01-24 Thread jcbollinger
On Friday, January 24, 2014 12:36:39 AM UTC-6, Krist van Besien wrote: > > > > On Thursday, January 23, 2014 7:25:47 PM UTC+1, Xav Paice wrote: >> >> >> We have something quite similar - as we use hiera extensively we managed >> to have a common yaml file with a list of databases in a hash, an

Re: [Puppet Users] Re: file resource to provide serveral files

2014-01-24 Thread Henrique Rodrigues
On 24/01/14 14:39, Andreas Dvorak wrote: Hi, I am trying this. config.pp of module logrotate define logrotate::config{ case $::osfamily { redhat:{ file { "/etc/logrotate.d/${conf_file}": ensure => 'present', owner => 'root', group => 'root', mode =

[Puppet Users] Reporting to Puppet Dasboard via HTTPS

2014-01-24 Thread henriquerodrigues
Hi, I have my Puppet Dashboard listening on HTTPS with a certificate signed by another CA. Unfortunately, changing the reporturl on Puppet Master from HTTP to HTTPS broke the reporting, due to the fact that the CA chain is not available to Puppet Master. I have the CA chain, but I have no idea

Re: [Puppet Users] Re: file resource to provide serveral files

2014-01-24 Thread Jose Luis Ledesma
Instead of $conf_file you should use $title or $name inside the define Regards, -- 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 puppet-users+unsubscr...@google

[Puppet Users] Puppet client 3.2.X fails to install on Windows 7 x64

2014-01-24 Thread Josh D
Some of my users are having difficulty installing the Puppet client on their 64-bit Widows machines. The installation will get get to the point where everything is installed and it attempts to start the service. The service fails (see relevant information from install log from /l*v below) and

Re: [Puppet Users] Install MSI packages

2014-01-24 Thread Rob Reynolds
This should be helpful - http://docs.puppetlabs.com/windows/installing.html#automated-installation On Fri, Jan 24, 2014 at 2:35 AM, wrote: > Hi Rob, > > I did not see that! I will try it this way. Puppet version is 3.4 Open > Source. > > The other question I have is where can I get a list of i

Re: [Puppet Users] Puppet client 3.2.X fails to install on Windows 7 x64

2014-01-24 Thread Rob Reynolds
On Fri, Jan 24, 2014 at 11:11 AM, Josh D wrote: > Some of my users are having difficulty installing the Puppet client on > their 64-bit Widows machines. The installation will get get to the point > where everything is installed and it attempts to start the service. The > service fails (see rele