[Puppet Users] Designing modules with long running tasks

2015-12-02 Thread Gerhardus Geldenhuis
Hi I am writing a module that needs to - download a number of files, - run an index on them - and restart the service to load the index. I first thought I could make the download and index actions a cron job that I surface via class properties but because I want to notify the

Re: [Puppet Users] Beaker does not install puppet in Ubuntu boxes

2015-12-02 Thread Khoury Brazil
I think this is the problem: >platform: ubuntu-server-14.04-amd64 platform gets split into 3: @variant, version, @arch = self.split('-', 3) >From that you get: ["ubuntu", "server", "14.04-amd64"] When it tries to evaluate the hash it has of platform version codes using version ('server') it

[Puppet Users] Puppet opensource releases et releases notes

2015-12-02 Thread Arnaud M
Hello all, I was looking for a way to be warn about new puppet version and I can't find any RSS link or whatever that would help a lot. So far I've found this 3 pages : http://docs.puppetlabs.com/puppet/latest/reference/release_notes.html

[Puppet Users] puppet open-source and Mac client

2015-12-02 Thread John Oliver
I have puppet-server 3.8.3 and am working on making that go with a Mac running 10.10.5 "Mavericks". I installed puppet-agent-1.2.6-1.osx10.10.dmg When I run 'puppet agent --test' on the Mac, I get: Error: Could not request certificate: Error 400 on SERVER: The environment must be purely

[Puppet Users] Re: Puppet opensource releases et releases notes

2015-12-02 Thread Stefan Heijmans
Hi, What about the Google Group; Puppet Announce Stefan -- 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

Re: [Puppet Users] Re: Puppet 4: default value of a parameter in a module and dependency

2015-12-02 Thread jcbollinger
On Tuesday, December 1, 2015 at 11:26:15 PM UTC-6, François Lafont wrote: > No, no. You can see > http://puppet-on-the-edge.blogspot.fr/2015/01/puppet-40-data-in-modules-and.html > > With puppet 4, the "data philosophy" has changed. > > I think "the data philosophy has changed" is a bit

Re: [Puppet Users] Puppet 101: How to make it go?

2015-12-02 Thread John Oliver
Thanks, Morgan! No, I had not thought to look under puppet 4.3 to find puppet 3.8 docs :-P I have been working through the learning VM, and it has a GUI and has you install graphite. Do those things exist with open-source puppet? Once I get going, it's very possible that we'll want to go

[Puppet Users] Puppet Agent on montavista Linux

2015-12-02 Thread Chetan Kumar
Hi, I was planning to run Puppet Agent on a Montavista Linux. Anyone tried this ? Thanks C -- 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] Is there a way to read multiple hiera file from a datadir location?

2015-12-02 Thread Sans
Hi all, Is there way to use multiple Hiera data-source yaml from a fixed location like: /etc/puppet/sites/clients/ ? I see having something like this: :hierarchy: - "clients/*" - default doesn't really work for Hiera. The issues for me There gonna be 100s of .yaml in there and I

[Puppet Users] Designing modules with long running tasks

2015-12-02 Thread Thomas Müller
I don't think puppet is a good fit for what you trie to do. Puppet is more about configuration and less for long running tasks. I would recommend to write the list of files to be downloaded as a configfile for a cronjob which reads it and starts/restarts your service itself. -Thomas -- You

Re: [Puppet Users] puppet open-source and Mac client

2015-12-02 Thread Martin Alfke
Hi, On 02 Dec 2015, at 17:12, John Oliver wrote: > I have puppet-server 3.8.3 and am working on making that go with a Mac > running 10.10.5 "Mavericks". I installed puppet-agent-1.2.6-1.osx10.10.dmg > When I run 'puppet agent --test' on the Mac, I get: Puppet-agent is

Re: [Puppet Users] Beaker does not install puppet in Ubuntu boxes

2015-12-02 Thread 'Danny Roberts' via Puppet Users
Removing 'server' fixed it, thanks! On 2 December 2015 at 16:33, Khoury Brazil wrote: > I think this is the problem: > >platform: ubuntu-server-14.04-amd64 > > platform gets split into 3: > @variant, version, @arch = self.split('-', 3) > From that you get: >

Re: [Puppet Users] Is there a way to read multiple hiera file from a datadir location?

2015-12-02 Thread Henrik Lindberg
On 2015-02-12 19:09, Sans wrote: Hi all, Is there way to use multiple Hiera **data-source yaml from a fixed location like:/etc/puppet/sites/clients/ ? No. I see having something like this: :hierarchy: - "clients/*" - default doesn't really work for Hiera. The issues for me

Re: [Puppet Users] Re: Puppet 4: default value of a parameter in a module and dependency

2015-12-02 Thread Henrik Lindberg
On 2015-02-12 6:21, Francois Lafont wrote: Hi Henrik, On 30/11/2015 19:12, Henrik Lindberg wrote: In addition to writing the function, a module can opt in to using this data functions by adding a configuration in its module metadata. Err... can you explain a little? I don't see what it is.

[Puppet Users] Announce: PuppetDB 3.2.2 is available!

2015-12-02 Thread Rob Browning
PuppetDB 3.2.2 - December 2, 2015 PuppetDB 3.2.2 Downloads Available in native package format as part of Puppet Collection 1 (PC1). More information on the PC1 repositories is available here:

[Puppet Users] Re: Unit testing reference modules and best practices

2015-12-02 Thread Haani Niyaz
Hi Ben, I am also looking for some reference material to better illustrate how to use rsepc puppet, a best practices of sorts to my team. Were you successful in finding some examples? On Friday, 11 July 2014 10:29:32 UTC+10, Ben Sullivan wrote: > > Hi > > I'm looking for some reference modules

Re: [Puppet Users] Re: puppet calling systemctl instead of /etc/init.d/xxx even when told to use debian provider

2015-12-02 Thread Ghislain
hi, thanks for those great insigth it is great to hear what leaded to this, yes testing systemctl is a good option, also if i can build a logic to change the "status" for each services based on the debian version it would be possible but this report the logic inside the pp for all services

Re: [Puppet Users] Re: Puppet 4: default value of a parameter in a module and dependency

2015-12-02 Thread jcbollinger
On Tuesday, December 1, 2015 at 8:50:12 AM UTC-6, Henrik Lindberg wrote: > > On 2015-30-11 16:09, jcbollinger wrote: > > > > > > On Sunday, November 29, 2015 at 10:09:20 PM UTC-6, François Lafont > wrote: > > > > Hi, > > > > I'm using Puppet 4 and I'm wondering if this (see

Re: [Puppet Users] puppet open-source and Mac client

2015-12-02 Thread John Oliver
Thanks. So, the *latest* latest? Or is there another page saying not to use version X of Y with version Q of Z? I had seen that page, but it doesn't make clear that it's an *agent*... I took "install puppet" to mean just that. On Wednesday, December 2, 2015 at 12:41:06 PM UTC-8, Martin