Re: [Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-29 Thread Grant Street
I think my problem was I was trying to set the role variable under a "parameters:" clause in my group yaml file... e I'm also trying your method, Pete, but I'm hitting a snag. I have certname.yaml file that contains --- role: modeler and a file modeler.yaml that contains --- classes: - my_

Re: [Puppet Users] can't restart auditd

2014-07-29 Thread Matthias Saou
On Sat, 26 Jul 2014 18:09:05 +0300 Cristian Falcas wrote: > Hello list, > > Because of this https://bugzilla.redhat.com/show_bug.cgi?id=973697, > puppet can't do a restart for auditd: > > Error: /Stage[main]/Auditd::Service/Service[auditd]: Failed to call > refresh: Could not restart Service[au

[Puppet Users] http://yum.puppetlabs.com/el/7Server ?

2014-07-29 Thread Louis Coilliot
Hello, could you please add a link or copy from el/7 to el/7Server ? Like you have for el5 and el6 : http://yum.puppetlabs.com/el/6/ http://yum.puppetlabs.com/el/6Server/ http://yum.puppetlabs.com/el/5/ http://yum.puppetlabs.com/el/5Server/ This would ease deployment on official RHEL7 : $repo_

Re: [Puppet Users] can't restart auditd

2014-07-29 Thread Cristian Falcas
Thank you, it works now :). On Tue, Jul 29, 2014 at 11:36 AM, Matthias Saou wrote: > On Sat, 26 Jul 2014 18:09:05 +0300 > Cristian Falcas wrote: > > > Hello list, > > > > Because of this https://bugzilla.redhat.com/show_bug.cgi?id=973697, > > puppet can't do a restart for auditd: > > > > Erro

Re: [Puppet Users] issue understanding site modules

2014-07-29 Thread Denmat
Okay, could be a couple of things here: Environments still require normal module layout. You have 'profile' set in manifests. Check modules section here: http://docs.puppetlabs.com/pe/latest/puppet_modules_manifests.html Also when using environments you have to set --environment test when doing

[Puppet Users] how to use conditional statements

2014-07-29 Thread Satish Katuru
Hi Here is my flow: Stop service-->copy required files from Master server-->Start service Once this is done,I am taking a copy of files on Master Server and removing the files from original location. I wanted to add this condition (if files are not there at that location no need stop and re

Re: [Puppet Users] issue understanding site modules

2014-07-29 Thread Wijnand Wiersma
Hi, thank you for your response! - Oorspronkelijk bericht - > Okay, could be a couple of things here: > > Environments still require normal module layout. You have 'profile' set in > manifests. > Check modules section here: > http://docs.puppetlabs.com/pe/latest/puppet_modules_manifests.

[Puppet Users] Puppet-dashboard issues

2014-07-29 Thread Bouny
Hi ! (sorry for my poor english) My puppetmaster 3.4.3 run on Ubuntu 14.04 LTS I've just manage to replace WEBrick, Puppet use Apache/Passenger to work now. I'm a newbie on this, so i've setup Puppet with different docs found on internet. I've started with "apt-get" for the basic install.

[Puppet Users] Re: scheduling refresh event BEFORE dependent object

2014-07-29 Thread jcbollinger
On Monday, July 28, 2014 8:56:08 AM UTC-5, Dimitris Stafylarakis wrote: > > Hi people, > > thanks for your replies. My actual case is *run apt-get update before > upgrading a package*. So I have packages in my own repository and I'm > managing them through puppet on the production server. I wan

Re: [Puppet Users] increasing frequency of puppet agent runs during initial deployment?

2014-07-29 Thread jcbollinger
On Monday, July 28, 2014 2:20:33 PM UTC-5, Christopher Wood wrote: > > Before figuring out how to shorten the initial agent runs, I'd inquire why > a full configuration takes several agent runs. +1 I have never seen or heard about an environment that *required* multiple Puppet runs to conver

Re: [Puppet Users] undefined method `include?' for nil:NilClass

2014-07-29 Thread Gabriel Filion
Hey there, On 29/07/14 01:11 AM, Peter Romfeld wrote: > Hi, I don't know if it was exactly the same error but I was having something similar when using a puppet 2.7 client with a 2.6 master. make sure your client is not using a more recent version than your master. > I get the following error:

[Puppet Users] unable to detect source attribute.

2014-07-29 Thread Supriya Uppalapati
Hi, My code is unable to find source attribute. even though i specified it correctly. Here is my error *Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter source at /etc/puppetlabs/puppet/environments/development/modules/powercenter/manifests/init.pp:

Re: [Puppet Users] unable to detect source attribute.

2014-07-29 Thread Christopher Wood
On Tue, Jul 29, 2014 at 10:35:30AM -0700, Supriya Uppalapati wrote: >Hi, >My code is unable to find source attribute. even though i specified it >correctly. >Here is my error >Error: Could not retrieve catalog from remote server: Error 400 on SERVER: >Invalid parameter sourc

[Puppet Users] Re: Puppet Dashboard 1.2.23 disable link in Main html page

2014-07-29 Thread GregC
Stephan thank you for the info, that worked much appreciated, On Tuesday, July 29, 2014 2:44:06 AM UTC-4, Stefan Heijmans wrote: > config/initializers/app_version_init.rb > Sets the URL based on VERSION file > > app/views/shared/_global_nav.html.haml > Think that this is the html page > > >

[Puppet Users] Manifest does work

2014-07-29 Thread Juliano Resende
Hi, I'm beginner in puppet and i have a problem in implementation using puppet version 3.4.2, i setup the master and the agent, but the manifests does not apply on agent. DEBUG Debug: Using settings: adding file resource 'statefile': 'File[/var/lib/puppet/state/state.yaml]{:ensure=>:file, :lo

Re: [Puppet Users] undefined method `include?' for nil:NilClass

2014-07-29 Thread Peter Romfeld
master and client using the same version On Wednesday, July 30, 2014 12:02:22 AM UTC+8, Gabriel Filion wrote: > > Hey there, > > On 29/07/14 01:11 AM, Peter Romfeld wrote: > > Hi, > > I don't know if it was exactly the same error but I was having something > similar when using a puppet 2.7 cli