Re: [Puppet Users] puppetdb can't delete reports in the future

2014-12-30 Thread Wyatt Alt
Hey Ryan, That makes sense, though I'd guess that new reports are being stored and are available through the API, they just aren't reflected as "latest" since that's determined by the end_time stamp. report-ttl will be ineffective without resetting to the future, and then you'd be deleting r

[Puppet Users] fileserver mount path permissions

2014-12-30 Thread Gin
Hi, I define mount as: [certs] path /dir1/dir2 When dir1 and dir2 are chmod 777 it can be mounted by the puppet master. Whereas when dir1 is chmod 000 and dir2 777 the mount is not accessible. Why it is required for the whole path to be accessible? Is it intentional? Cheers, Gin -- You rec

Re: [Puppet Users] Use ftp as source for file

2014-12-30 Thread 巨海录
I recommend this existing modules: https://github.com/nanliu/puppet-staging 在 2014年12月27日星期六UTC+8下午10时49分31秒,Martin Alfke写道: > > Hi, > > instead of using exec’s you might want to dig into existing modules and > their defines, types and providers: > > https://github.com/camptocamp/puppet-archiv

[Puppet Users] Re: Trouble with class with _ in name

2014-12-30 Thread Matthew Kennedy
Submitted issue https://tickets.puppetlabs.com/browse/PUP-3799 On Tuesday, December 30, 2014 10:35:01 AM UTC-7, Matthew Kennedy wrote: > > I have code that pulls in profiles. > > if (defined("profile::${separator}::${profile}")) { > include "profile::${separator}::${profile}" > } > >

[Puppet Users] Re: Trouble with class with _ in name

2014-12-30 Thread Matthew Kennedy
Well, I did a downgrade to 3.7.2 and this issue no longer appears. It appears there is a regression on 3.7.3. I'll submit a bug. On Tuesday, December 30, 2014 10:35:01 AM UTC-7, Matthew Kennedy wrote: > > I have code that pulls in profiles. > > if (defined("profile::${separator}::${profile}

Re: [Puppet Users] Transferring files from node to node

2014-12-30 Thread Gin
Unfortunately, certificates are generated with exec type (shell script). As far as I know, there is no way to cat file contents into a puppet variable, hence the only option is to do two runs. Thank you, Felix! Cheers, Gin On Monday, December 29, 2014 10:20:17 PM UTC, Felix.Frank wrote: > > On

[Puppet Users] puppetdb can't delete reports in the future

2014-12-30 Thread Ryan Anderson
I have some systems that were deliberately changed to a time in the future for testing, then changed back to normal when done. They work with puppet fine now, but their puppetdb reports have timestamps in the future and new reports will not be added. They show up in puppetboard with the inaccura

[Puppet Users] Trouble with class with _ in name

2014-12-30 Thread Matthew Kennedy
I have code that pulls in profiles. if (defined("profile::${separator}::${profile}")) { include "profile::${separator}::${profile}" } $separator will be something like 'app' or 'role' $profile will be something like 'blah' or 'blah_app' The profile classes looks like class profile