[Puppet Users] foreman 1.2 + puppet 3.0 + puppet module install erwbgy/system

2013-09-30 Thread shyam sundar Keshari
Hi Friends, Kindly guide me in configuring the correct syntax of this module with foreman 1.2 When executing puppet agent --test getting below error : Error: Could not retrieve catalog from remote server: Error 400 on SERVER: config is not a hash or array when accessing it with servers at /etc

[Puppet Users] Re: remove node parameters with dashboard rake api?

2013-09-30 Thread Jérémy JR
Le mercredi 20 février 2013 22:55:11 UTC+1, Schofield a écrit : > > Is there a rake task for removing node parameters from the dashboard? The > online dashboard manual is silent on the parameters related to rake tasks > altogether. > Hi, I'm looking for the same thing. Since your post, did yo

[Puppet Users] Re: hiera oddities

2013-09-30 Thread Tom Hanstra
Spot on! Thanks for pointing this out. Tom On Friday, September 27, 2013 1:35:42 PM UTC-4, Ellison Marks wrote: > > Prefix doesn't return a string, it returns an array. I think this gets > stringified in the error message, but it screws up the lookup. Try > hiera($role_value[0]). > > On Friday

[Puppet Users] Re: How to deploy & excecute script remotely

2013-09-30 Thread Raju Patil
I didnt see "file" resource to deploy the file and then "exec" option on Puppet master. Is there any plugin I have to installed on Master & then these two options will be visible on Puppet master dashboard. Or I have to do the changes in commandline. Seriousely, not aware which file to edit &

Re: [Puppet Users] Re: How to deploy & excecute script remotely

2013-09-30 Thread Rob Reynolds
Raju, Being new to puppet, allow me to suggest the Learning Workshop - https://puppetlabs.com/learn. In conjunection with that, we have a set of free tutorials with a learning VM ( http://docs.puppetlabs.com/learning/ ) that I feel may help alleviate some of these questions. Give that a shot. Th

[Puppet Users] Error with Puppetlabs Dashboard module

2013-09-30 Thread Chris McDermott
I'm trying to use the Puppetlabs-dashboard module to install the dashboard on a new host but I'm getting an error. I am using the latest versions of the following Puppetlabs modules (as of 09/26/2013): dashboard mysql passenger apache stdlib concat The other modules are not causing problems - I c

[Puppet Users] hiera config oddness

2013-09-30 Thread Bret Wortman
I'm trying to set up hiera for the first time, and something really odd is happening. I set up my hiera.yaml file in /etc/puppet/, and it was pretty simple: --- :backends: - yaml :hierarchy: - "%{hostname}" - common :yaml: :datadir: /etc/puppet/data So I added a "flag" class, which just

[Puppet Users] Re: Problem retreiving catalog

2013-09-30 Thread Binoy Daniel
Hi Nikolay, I too facing same issue, but i could not find external_node.rb, where as we have /etc/puppet/nodes.rb but that file does not have any database related info... How to proceed..please help (I think create mysql replica with different name and update the file which you specified ?)

[Puppet Users] quiet exec script output

2013-09-30 Thread Geoff Galitz
Hi. One of the scripts we run for systems management causes puppet to say: notice: /Stage[main]//Exec[script]/returns: executed successfully How can I suppress or quiet this output? -G -- --- Geoff Galit

[Puppet Users] facter behaves different for different users

2013-09-30 Thread Bernd Weber
Hey all, I've been trying to get EC2 facts working with the open source edition. I changed the code for ec2.rb and util/ec2.rb according to the master branch on Github(https://github.com/puppetlabs/facter). And testing the code with a 'facter' call seems to work fine. I can see all the EC2 info

[Puppet Users] Re: quiet exec script output

2013-09-30 Thread Peter Bukowinski
Puppet is doing what it is supposed to do: report changed resources. Puppet isn't aware of the content of your script, so it treats each run (that has an exit code of 0) as if something has changed. I'm guessing that your script is currently executing each time puppet runs? Can you describe wha

Re: [Puppet Users] Installing LibreOffice 4 via wheezy-backports

2013-09-30 Thread Gonéri Le Bouder
On Wednesday, July 31, 2013 12:19:23 AM UTC+2, Jaap Winius wrote: > > Hi folks, > > When my initial attempt to install libreoffice via wheezy-backports > didn't work, I decided to take a less elegant approach: > Hi Jaap, Did you try with: provider => 'aptitude', package { 'libreoffice':

[Puppet Users] New release of fatmcgav-netapp module.

2013-09-30 Thread fatmcgav
Evening all, Thought I'd drop a quick line through to say that I have just released v0.4.0 of my Netapp network device module. A full changelog can be found on the Forge [1] or Git [2], however the highlights are: * Removed the need for a special config file to define username/password. Now pull

[Puppet Users] Re: Puppet vs Oracle Enterprise Manager (cm pack)?

2013-09-30 Thread Byron Miller
We use both as they solve different problems. I don't use any of the OS provisioning or metering in 12c as i use puppet for that but being that we run a lot of oracle stuff, i use the oracle management tool packs quite extensively. We run puppet agents offline and use mcollective to orchestra

Re: [Puppet Users] hiera oddities

2013-09-30 Thread Tom Hanstra
Pete: Thanks for pointing this out as well. It explains some things that were confusing me about how I was using hiera. I appreciate the information. Tom On Saturday, September 28, 2013 7:16:00 AM UTC-4, Peter Meier wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > My current

[Puppet Users] best practice for managing multiple stanzas within a config file?

2013-09-30 Thread Thomas
What is the best way to manage multiple stanza within a config file? For a splunk configuration file (inputs.conf) I need to manage some thing like [monitor://var/log] blacklist = someRegularExpression whitelist = someOtherRegularExpression [monitor://var/lib/ourApp] There can be multiple mon

Re: [Puppet Users] hiera config oddness

2013-09-30 Thread Denmat
Hi, It isn't finding the file name declared as your hostname. Two things here I would suggest. 1. Use certname instead of hostname. Hostname can easily be changed but certname a little harder. 2. Use puppet master --no-daemonize --debug (on the master) and look for the hiera log output. In an

Re: [Puppet Users] Installing LibreOffice 4 via wheezy-backports

2013-09-30 Thread Jaap
On Mon, 30 Sep 2013 12:53:15 -0700, Gonéri Le Bouder wrote: > Did you try with: > provider => 'aptitude', > > package { 'libreoffice': > ensure => installed, > provider => 'aptitude', > install_options => { '-t' => 'wheezy-backports' }, > } That works -- excellent

Re: [Puppet Users] Installing LibreOffice 4 via wheezy-backports

2013-09-30 Thread Jaap
On Mon, 30 Sep 2013 12:53:15 -0700, Gonéri Le Bouder wrote: > provider => 'aptitude', > > package { 'libreoffice': > ensure => installed, > provider => 'aptitude', > install_options => { '-t' => 'wheezy-backports' }, > } One small note. On subsequent runs of "pupp

[Puppet Users] Re: Puppet vs Oracle Enterprise Manager (cm pack)?

2013-09-30 Thread dkoleary
Hey; >>We use both as they solve different problems. Thank you very much for responding! All of the searching I've been doing has slowly lead me to that same conclusion, but I don't have any solid facts or sites to back it up. My client also has a lot of oracle stuff. I'm sure they could s

[Puppet Users] Announce: PuppetDB 1.5.0 Available

2013-09-30 Thread Chris Price
PuppetDB 1.5.0 is now available for download! This is a new feature release that contains a few bug-fixes as well. = ## Downloads ## = Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.puppetlabs.co

[Puppet Users] Re: [Puppet-dev] Announce: PuppetDB 1.5.0 Available

2013-09-30 Thread William Van Hevelingen
No packages for precise/raring? Its missing debs for 1.5.0. Lucid seems fine Thanks, William On Mon, Sep 30, 2013 at 4:56 PM, Chris Price wrote: > PuppetDB 1.5.0 is now available for download! This is a new feature > release that contains a few bug-fixes as well. > > = > ## Downlo

[Puppet Users] Re: best practice for managing multiple stanzas within a config file?

2013-09-30 Thread Rahul Khengare
Hi Thomas, You can make use of *augeas* resource type of puppet yo manage the config files. Refer following links for augeas resource type and project, http://docs.puppetlabs.com/references/latest/type.html#augeas http://projects.puppetlabs.com/projects/1/wiki/puppet_augeas Thanks and Regards