[Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2013-10-28 Thread Klavs Klavsen
Den fredag den 25. oktober 2013 22.10.40 UTC+2 skrev Rob Reynolds: tl;dr: Windows manages permissions in a way that doesn't always translate well to mode. We're putting together a solution for this. Jump in the discussion. I wanted to get this conversation started. We've put a lot of

[Puppet Users] Managing conflicting forge dependencies

2013-10-28 Thread Andrei-Florian Staicu
Hi all, How do you manage different forge modules that require conflicting versions for the same module? The most common example is ripienaar/concat vs puppetlabs/concat: puppetlabs/puppetdb requires puppetlabs/postgreql 2.x, which requires ripienaar/concat puppetlabs/apache requires

[Puppet Users] Re: Puppet agent not running automatically

2013-10-28 Thread Rahul Khengare
Hi Michael, puppetd daemon run in background when we configure to run automatically. It does not send the output of catalog running to standard output terminal. runinterval =1800 This specify that on your puppet client manifests catalog is deploye after every 30 minutes(1800 Second).

[Puppet Users] Re: Puppet agent not running automatically

2013-10-28 Thread Rahul Khengare
Hi Michael, puppetd daemon run in background when we configure to run automatically. It does not send the output of catalog running to standard output terminal. runinterval =1800 This specify that on your puppet client manifests catalog is deploye after every 30 minutes(1800 Second).

[Puppet Users] Using puppetlabs_spec_helper on Windows 7

2013-10-28 Thread Matthieu Nantern
I'm trying to make puppetlabs_spec_helper runs on Windows 7 to test my Puppet modules. Is this supported ? Because I encountered some problems: 1. symlinks were not created on Windows 7 (even if the functionnality are availabe). To manage that I added to rake_tasks.rb an ugly function:

Re: [Puppet Users] Using puppetlabs_spec_helper on Windows 7

2013-10-28 Thread Johan De Wit
I do have the same error on linux. It has something tot do with the concat module. If you write a rspec file for a class not using the concat module, it should work. Unfortunately, i do not have a solution for our problem. Grts Jo On 10/28/2013 11:44 AM, Matthieu Nantern wrote: I'm trying

Re: [Puppet Users] ENC - how to get info about the node

2013-10-28 Thread Jason Antman
Steven, Can you be a little more specific about what you're trying to do? Normally, you'd set that department variable in the ENC itself. Puppet calls the ENC script (node_terminus) with the certificate name (or is it the FQDN? I never remember, since they're both the same for me) of the node

[Puppet Users] Re: Puppet 3.3.1: custom function change requires restart of puppetmaster

2013-10-28 Thread jcbollinger
On Saturday, October 26, 2013 5:47:07 AM UTC-5, Sergey Arlashin wrote: Hi! I've spent quite a while before I understood that for Puppet to see changes in custom functions' code Puppetmaster needs to be restarted. Is this a normal behaviour or may be it's a bug ? It is normal

[Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2013-10-28 Thread jcbollinger
On Monday, October 28, 2013 2:55:32 AM UTC-5, Klavs Klavsen wrote: Den fredag den 25. oktober 2013 22.10.40 UTC+2 skrev Rob Reynolds: [...] The format could look something like the following: acl { 'c:/windows/temp/tempfile.txt': ensure = present, permissions = {

[Puppet Users] Puppet master upgrade from 2.7 to 3.0 certificate issues

2013-10-28 Thread Edson Manners
I've gone through the upgrade check list for puppet at this URL: http://docs.puppetlabs.com/guides/upgrading.html I first tries 2.7 - 3.3.x but that had the same issue as below and I decided that maybe the jump was too big and I should go from 2.7 - 3.0.x - 3.2.x - 3.3.x But I'm getting some

[Puppet Users] Puppet dashboard blank stylesheet

2013-10-28 Thread Fine, Thomas
Hi, I'm trying to switch my working puppet-dashboard installation over from the test server that it comes with to an Apache/Passenger setup. Puppet seems to be humming along just fine under this setup, but dashboard is unhappy. The web interface comes up with no style. I've taken a look with

[Puppet Users] Debug: Service[pe-mcollective](provider=upstart): Could not find pe-mcollective.conf in /etc/init

2013-10-28 Thread alessandro mazzoli
Hi all, i'm stucked with an error on PE-Mcollective. I have a puppetmaster with PE-Console on it, i have an agent node connected which i want provide to it a module called LAMP, my newbie LAMP module https://github.com/alemazz/lamp.git When i run puppet agent -t on the puppetmaster i dont get

[Puppet Users] Re: Debug: Service[pe-mcollective](provider=upstart): Could not find pe-mcollective.conf in /etc/init

2013-10-28 Thread alessandro mazzoli
Here's the log: I, [2013-10-28T16:30:07.990102 #1332] INFO -- : activemq.rb:121:in `on_ssl_connecting' Estblishing SSL session with stomp+ssl://mcollective@sisop-virtualbox:61613 I, [2013-10-28T16:30:07.990465 #1332] INFO -- : activemq.rb:96:in `on_connecting' TCP Connection attempt 11

[Puppet Users] User and group issues

2013-10-28 Thread boxrick
I am currently in the process of cleaning up some of my puppet config files in particular some user and some virtual templates: I get the following error: *err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition: Group[testgroup] is already defined in file

[Puppet Users] Re: Debug: Service[pe-mcollective](provider=upstart): Could not find pe-mcollective.conf in /etc/init

2013-10-28 Thread alessandro mazzoli
fix 1: i syncronized the clocks Il giorno lunedì 28 ottobre 2013 17:11:27 UTC+1, alessandro mazzoli ha scritto: Hi all, i'm stucked with an error on PE-Mcollective. I have a puppetmaster with PE-Console on it, i have an agent node connected which i want provide to it a module called

Re: [Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2013-10-28 Thread Rob Reynolds
On Mon, Oct 28, 2013 at 2:55 AM, Klavs Klavsen kl...@enableit.dk wrote: Den fredag den 25. oktober 2013 22.10.40 UTC+2 skrev Rob Reynolds: tl;dr: Windows manages permissions in a way that doesn't always translate well to mode. We're putting together a solution for this. Jump in the

[Puppet Users] Re: Debug: Service[pe-mcollective](provider=upstart): Could not find pe-mcollective.conf in /etc/init

2013-10-28 Thread alessandro mazzoli
Il giorno lunedì 28 ottobre 2013 17:11:27 UTC+1, alessandro mazzoli ha scritto: Hi all, i'm stucked with an error on PE-Mcollective. I have a puppetmaster with PE-Console on it, i have an agent node connected which i want provide to it a module called LAMP, my newbie LAMP module

[Puppet Users] Re: Why there is a need for the architecture fact when it is only using hardwaremodel fact?

2013-10-28 Thread beyonddc . storage
Got it, thank you very much On Friday, October 25, 2013 2:45:31 PM UTC-4, Daniele Sluijters wrote: Hi, It doesn't only use hardwaremodel fact: https://github.com/puppetlabs/facter/blob/master/lib/facter/architecture.rb#L6:L10 # Resolution: # On non-AIX IBM, OpenBSD, Linux and Debian's

[Puppet Users] Re: Managing conflicting forge dependencies

2013-10-28 Thread Garrett Honeycutt
On Monday, October 28, 2013 9:21:09 AM UTC+1, SAF wrote: Hi all, How do you manage different forge modules that require conflicting versions for the same module? The most common example is ripienaar/concat vs puppetlabs/concat: puppetlabs/puppetdb requires puppetlabs/postgreql 2.x, which

[Puppet Users] inline_template private method `gets' called for false:FalseClass

2013-10-28 Thread beyonddc . storage
Hi, I am new to Ruby ERB and inline_template. Can anyone spot what's wrong with this inline_template? $moddedContent = inline_template(%= puts gets(nil).gsub(/one two three/,\\) /tmp/blah %) exec { /bin/echo '${moddedContent}' /tmp/blah : }

Re: [Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2013-10-28 Thread Rob Reynolds
On Mon, Oct 28, 2013 at 8:42 AM, jcbollinger john.bollin...@stjude.orgwrote: On Monday, October 28, 2013 2:55:32 AM UTC-5, Klavs Klavsen wrote: Den fredag den 25. oktober 2013 22.10.40 UTC+2 skrev Rob Reynolds: [...] The format could look something like the following: acl {

[Puppet Users] Re: Debug: Service[pe-mcollective](provider=upstart): Could not find pe-mcollective.conf in /etc/init

2013-10-28 Thread alessandro mazzoli
issue still exists Il giorno lunedì 28 ottobre 2013 17:31:40 UTC+1, alessandro mazzoli ha scritto: fix 1: i syncronized the clocks Il giorno lunedì 28 ottobre 2013 17:11:27 UTC+1, alessandro mazzoli ha scritto: Hi all, i'm stucked with an error on PE-Mcollective. I have a

[Puppet Users] Re: Changes to issue tracking for Puppet projects

2013-10-28 Thread Eric Sorenson
On Thursday, October 24, 2013 2:32:11 PM UTC-7, Daniele Sluijters wrote: Hey Eric, I was curious if you could elaborate a bit more on the choice of JIRA. I'm currently in the exact opposite spot, migrating away from JIRA to Redmine. Heh! No system's perfect, I guess. We're moving

Re: [Puppet Users] User and group issues

2013-10-28 Thread Puppet List
Hello You have both users with the gid 'testgroup'. I think you mean group 'testgroup'. I think its common/best practice for each user's gid to be uniq and named the same as the user Neil On 28 Oct 2013 16:18, boxr...@gmail.com wrote: I am currently in the process of cleaning up some of my

[Puppet Users] Re: Managing conflicting forge dependencies

2013-10-28 Thread Andrei-Florian Staicu
Yes, that dependency is solved with the puppetdb module upgrade to 3.0 Unfortunately, there are other interesting modules that still depend on ripienaar, such as example42/sudo. I guess I'll just have to wait for updates. Thanks for your time. On an unrelated issue (and since I'm still starting

[Puppet Users] Puppet master does not start

2013-10-28 Thread josec . raya
I've tried to start puppet master but I'm getting next error traces: # /usr/sbin/puppetmasterd start --trace /usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb:132:in `convert_xid' /usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb:89:in `change_group'

[Puppet Users] Re: Puppet master does not start

2013-10-28 Thread josec . raya
I realize that I had installed 2.6 version of puppet instead 3.3.1. It has been solved, I update previous version to 3.3.1. I;m still having same problem with new version. I paste here all details: puppet.conf [main] # The Puppet log directory. # The default value is '$vardir/log'.

Re: [Puppet Users] Re: Puppet master does not start

2013-10-28 Thread Sean Crosby
On 29 October 2013 09:31, josec.r...@gmail.com wrote: # id uid=0(root) gid=0(root) groups=0(root),503(puppet) Why have you added the root user to the group puppet? puppetmaster normally runs using the puppet user in the puppet group. What groups is your 'puppet' user part of? Here's mine:

Re: [Puppet Users] Help with scaling puppetdb/postgres

2013-10-28 Thread David Mesler
I reconfigured postgres based on the recommendations from pgtune and your document. I still had a lot of agent timeouts and eventually after running overnight the command queue on the puppetdb server was over 4000. Maybe I need a box with traditional RAID and a lot of spindles instead of the

[Puppet Users] Issues referencing a class from another module

2013-10-28 Thread Daniel Sage
Hi all, I'm currently experiencing an issue where a module cannot reference a class from another module. Currently, I've got two modules, workstation and nfs and I'm attempting to use a class from the nfs module inside the workstation module, like so: Workstation module: class