Re: [Puppet Users] puppetdb org.postgresql.util.PSQLException

2014-12-23 Thread Fabio Sangiovanni
before > If none of that sheds light you can send me your postgres and PDB logs > and we can troubleshoot from there. > > Wyatt > > Thank you very much! Fabio > > On 12/19/2014 02:15 AM, Fabio Sangiovanni wrote: > > Hi everybody, I'm incurring in an issue

[Puppet Users] Re: puppetdb org.postgresql.util.PSQLException

2014-12-22 Thread Fabio Sangiovanni
Hi, any advice on this issue, please? I'm really stuck here... thanks! On Friday, December 19, 2014 11:15:13 AM UTC+1, Fabio Sangiovanni wrote: > > Hi everybody, I'm incurring in an issue with puppetdb. > [...] > -- You received this message because you are subscribe

[Puppet Users] puppetdb org.postgresql.util.PSQLException

2014-12-19 Thread Fabio Sangiovanni
Hi everybody, I'm incurring in an issue with puppetdb. I keep on seeing this in /var/log/puppetdb/puppetdb.log: 2014-12-19 10:45:55,957 WARN [c.p.jdbc] Caught exception. Last attempt, throwing exception. 2014-12-19 10:45:55,961 ERROR [c.p.p.command] [f74061b8-1350-4b9e-9b77-b52f6d919ef9] [repla

Re: [Puppet Users] Status of Data in modules

2014-01-03 Thread Fabio Sangiovanni
wrote: > > > > On Jan 3, 2014, at 5:11 AM, Fabio Sangiovanni > > > wrote: > > > Ok, I get it. First rule of data in modules: you don't talk about data > in modules. > > > > Hah! No, I just don't like to reply until I have something substantial to

Re: [Puppet Users] Re: Status of Data in modules

2014-01-03 Thread Fabio Sangiovanni
Ok, I get it. First rule of data in modules: you don't talk about data in modules. -- 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...@goog

[Puppet Users] Re: Status of Data in modules

2013-12-31 Thread Fabio Sangiovanni
Hi everybody, is there any news about this topic? I think it would be great to know Puppetlabs' official position on the matter (if any), and the status of activities about it (issues on tickets.puppetlabs.com don't say much). Thanks! -- You received this message because you are subscribed to

[Puppet Users] Re: templates as static files

2013-12-04 Thread Fabio Sangiovanni
hi john, thank you very much for your exaustive answer. I'll meditate a little more on the matter, but I think the differences between the two parameters are more than clear to me now. thanks again! -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

[Puppet Users] templates as static files

2013-12-04 Thread Fabio Sangiovanni
hi everyone, are there any side effects in using only templates in a module, even when they have just static content? It would be helpful in having less direcories around to look into when dealing with file contents, especially when using hiera as storage for 'source' and 'content' values for

Re: [Puppet Users] Re: hiera data bindings and template()

2013-06-11 Thread Fabio Sangiovanni
Il giorno 11/giu/2013 18:14, "llowder" ha scritto: > Yes, anything that comes in from hiera is just a string - function calls in it won't get evaluated. > If you remove the template() part from the hiera data and change your code to: > > class ($my_content = undef, { 'software': my_content => tem

[Puppet Users] hiera data bindings and template()

2013-06-11 Thread Fabio Sangiovanni
Hi, I'm using Puppet 3.2.1 and heavily relying on hiera data bindings. I have the following situation: class software ( $my_content = undef, ) { file { '/path/to/file': content => $software::my_content, } } in hieradata/software.yaml (hiera.yaml seems ok): software::my_content: templat

[Puppet Users] Re: optional defined type and dependencies

2013-06-03 Thread Fabio Sangiovanni
Hi, thanks for your answer. On Thursday, May 30, 2013 3:13:45 PM UTC+2, jcbollinger wrote: > > > For this particular pattern of requirements, I strongly prefer method 1. > It keeps everything associated directly with the defined type together in > one place. I would suggest one tweak, however:

[Puppet Users] optional defined type and dependencies

2013-05-29 Thread Fabio Sangiovanni
Hi everybody, I'm a new puppet user, and I have a question about defined types and relationships. I want a defined type to be part of a module. It manages optional configuration files, so the user can decide to declare it one or more times or not to declare it at all. In the case the defined ty