[Puppet Users] Possible to prevent submission to PuppetDB on certain runs

2015-07-10 Thread Matthew Kennedy
I have the need to run puppet in a 'stripped down' state, essentially turning off a large portion of an orchestration module. The problem occurs when puppetdb receives a catalog that does not have any of the exported resources that the orchestration module would generate. This obviously wreak

[Puppet Users] puppet 3.8.1 reinstalling downgraded package on ubuntu precise

2015-07-10 Thread Randall Smith
Greetings, I'm using puppet 3.8.1 on ubuntu precise. My manifest includes a very simple package to install docker. package { $docker::params::docker_package_name: ensure => present, require => Class["docker::params"], } I recently manually updated the docker package using apt-get on

Re: [Puppet Users] How to create hadoop directory vi puppet script.

2015-07-10 Thread Tom Limoncelli
"fully qualitied" means the path to the command is included. That is, "/usr/bin/cat" is qualified. "cat" is note. exec {} commands have to be qualified ("/usr/bin/cat") or you have to add the parameter "path" and specify the path to the command. I generally use the path parameter if the code wi

[Puppet Users] Re: basic question about hiera

2015-07-10 Thread Toky
This is exactly what I meant, just use explicit hiera calls that will pull from the yaml file that contains all the values. In hiera data: /somewhere/inyour/hierarchy/ devies.yaml --- ipcam::location1::ipaddress: 10.0.0.1 ipcam::location2::ipaddress: 10.1.0.1 ... ---EOF--- Then on multiple profi

Re: [Puppet Users] Re: basic question about hiera

2015-07-10 Thread Toky
This is exactly what I meant, just use explicit hiera calls that will pull from the yaml file that contains all the values. In hiera data: /somewhere/inyour/hierarchy/devies.yaml --- ipcam::location1::ipaddress: 10.0.0.1 ipcam::location2::ipaddress: 10.1.0.1 ... ---EOF--- Then on multiple profil

[Puppet Users] Re: Announce: PuppetDB 3.0 has been released!

2015-07-10 Thread Byron Miller
Awesome news! Especially love the full data available in DB and native failover support, my hacky standby mode can finally DIAF :) On Thursday, July 9, 2015 at 6:16:30 PM UTC-5, Wyatt Alt wrote: > > PuppetDB 3.0.0 - July 9, 2015 > > PuppetDB 3.0.0 Downloads > > > > Avail

[Puppet Users] Certificates when upgrading from Community to Enterprise

2015-07-10 Thread John Kennedy
We are about to move from the community edition of Puppet to enterprise. Can I just copy the ssl directory to /etc/puppetlabs or will I need to recertify all the nodes? Thanks, John John Kennedy (_8(|) I have a yellow dog: http://www.theyellowdogproject.com/The_Yellow_Dog_Project/About.html Some

Re: [Puppet Users] Re: basic question about hiera

2015-07-10 Thread jcbollinger
On Friday, July 10, 2015 at 7:25:16 AM UTC-5, Albert Shih wrote: > > Le 09/07/2015 à 07:05:16-0700, jcbollinger a écrit > > > > > > > > No, at least not with HIera's built-in YAML back-end. YAML has no > facility > > such as you describe, so to get it you would need to engage a YAML > par

Re: [Puppet Users] Re: How to make service start depend on a file existing

2015-07-10 Thread jcbollinger
On Thursday, July 9, 2015 at 7:49:22 PM UTC-5, Mark Kirkwood wrote: [...] > > That worked perfectly! However - and, sorry - I failed to mention that > one of the reasons for doing this was to get rid to errors from puppet > runs, so that scripted builds for testing etc behave well. This soluti

[Puppet Users] Manage hiera file through puppet

2015-07-10 Thread Albert Shih
Hi again. Is it some very bad thing to manage some hiera file through puppet ? I've a class to create a vm (virtual machin), so when I want a new vm I do something like hyperviser.pp --> add_vm { 'newvm': param => } but when the vm is up and running I use puppet to manage this

Re: [Puppet Users] Re: basic question about hiera

2015-07-10 Thread Albert Shih
Le 09/07/2015 à 07:05:16-0700, jcbollinger a écrit > > > > No, at least not with HIera's built-in YAML back-end.  YAML has no facility > such as you describe, so to get it you would need to engage a YAML parser that > supported such a thing as an extension. Ok thanks. > > The hierarchy is the ma

[Puppet Users] Re: basic question about hiera

2015-07-10 Thread bert hajee
Maybe this can help : https://forge.puppetlabs.com/hajee/connect It is a replacement voor yaml in hiera. The connect language allows you to do an include statement. (See https://github.com/hajee/connect/blob/master/doc/nutshell.md#include-statement). You can also import data from external reso

Re: [Puppet Users] Re: Need help with python msi install on windows

2015-07-10 Thread Gene Fontanilla
The install box pops up and still requires me to choose the options I tried your script too. still same results. On Thursday, July 9, 2015 at 2:30:52 AM UTC+8, Rob Reynolds wrote: > > > > On Tue, Jul 7, 2015 at 12:40 AM, Gene Fontanilla > wrote: > >> To verify, the file you have located at c:/P