[Puppet Users] Re: Help on Hiera automate

2014-01-15 Thread alessandro mazzoli
('servers') and use create_resources function Il giorno martedì 14 gennaio 2014 02:02:29 UTC+1, alessandro mazzoli ha scritto: Hi all, I'm trying to automate the set up of the machines staging,passing by an php application ServerName , ProjectType,DbCredentials etc..(all strings

[Puppet Users] Re: Help on Hiera automate

2014-01-14 Thread alessandro mazzoli
=hiera('users') notify { $users: } Regards, CD On Tuesday, January 14, 2014 11:02:29 AM UTC+10, alessandro mazzoli wrote: Hi all, I'm trying to automate the set up of the machines staging,passing by an php application ServerName , ProjectType,DbCredentials etc..(all strings) and convert

[Puppet Users] Help on Hiera automate

2014-01-13 Thread alessandro mazzoli
Hi all, I'm trying to automate the set up of the machines staging,passing by an php application ServerName , ProjectType,DbCredentials etc..(all strings) and convert to yaml Here's my common.yaml: --- users: -sn: server.example.com -project : Symfony -dbname : test -dbuser : test

[Puppet Users] Optimize PuppetDashboard fail

2013-11-14 Thread alessandro mazzoli
Hi all, i can't optimize Puppet Dashboard /opt/puppet/share/puppet-dashboard# sudo -u puppet-dashboard rake RAILS_ENV=production db:raw:optimize Warning: Rails rake tasks currently unavailable because we can't find the 'rails' gem Could not load rdoc/task. Some rake tasks may not be

[Puppet Users] Optimize PuppetDashboard fail

2013-11-14 Thread alessandro mazzoli
Hi All, sry for that empty post, my bad.. i'm trying to optimize Puppet Dashboard but i get this: /opt/puppet/share/puppet-dashboard# sudo -u puppet-dashboard rake RAILS_ENV=production db:raw:optimize Warning: Rails rake tasks currently unavailable because we can't find the 'rails' gem

[Puppet Users] Re: Optimize PuppetDashboard fail

2013-11-14 Thread alessandro mazzoli
/task rake aborted! Don't know how to build task 'default' Il giorno giovedì 14 novembre 2013 12:07:41 UTC+1, alessandro mazzoli ha scritto: Hi All, sry for that empty post, my bad.. i'm trying to optimize Puppet Dashboard but i get this: /opt/puppet/share/puppet-dashboard# sudo -u

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

2013-11-04 Thread alessandro mazzoli
FIXED : https://groups.google.com/forum/#!topic/mcollective-users/JBO2BcL8SGA 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

[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
, [2013-10-28T16:30:29.839742 #1332] INFO -- : activemq.rb:101:in `on_connected' Conncted to stomp+ssl://mcollective@sisop-virtualbox:61613 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

[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 LAMP

[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 https

[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

[Puppet Users] Re: Installing ActiveRecord fails

2013-10-10 Thread alessandro mazzoli
Try this, it helped me: http://help.rubygems.org/discussions/problems/637-rails-installation-fails Il giorno mercoledì 9 ottobre 2013 04:56:06 UTC+2, ytmp123 ha scritto: Hello guys, When I try to execute this: gem install activerecord Then I get the error message: Error installing

Re: [Puppet Users] Could not retrieve catalog from remote server: Error 400 on SERVER: cannot generate tempfile `/var/lib/puppet/yaml/facts/vagrant1.localdomain.yaml20131009-16545-8oie5i-9'

2013-10-10 Thread alessandro mazzoli
Thanks Jason and Jared, I think, like Jared said, that the user trying to create the tempfile cannot write to it (this user may well be puppet, not root. So i checked on puppetmaster: -permissions:/etc/init.d ls -la -rwsr-xr-x 1 root root 3727 Sep 12 22:57 puppetmaster

[Puppet Users] Re: Could not retrieve catalog from remote server: Error 400 on SERVER: cannot generate tempfile `/var/lib/puppet/yaml/facts/vagrant1.localdomain.yaml20131009-16545-8oie5i-9'

2013-10-10 Thread alessandro mazzoli
name, before has root permission(my bad) service puppetmaster restart I also checked that facts has been created with puppet permission Il giorno mercoledì 9 ottobre 2013 17:16:20 UTC+2, alessandro mazzoli ha scritto: Hi, i'm a newbie about Puppet( 1 month ~) i got error on generate

[Puppet Users] Could not retrieve catalog from remote server: Error 400 on SERVER: cannot generate tempfile `/var/lib/puppet/yaml/facts/vagrant1.localdomain.yaml20131009-16545-8oie5i-9'

2013-10-09 Thread alessandro mazzoli
Hi, i'm a newbie about Puppet( 1 month ~) i got error on generate temp file, i'll explain my situation: -i have a puppetmaster(version: 3.3.0),executed on root and a puppet agent(version 2.7) provisioning by vagrant,executed on root -my site.pp, where webserv is a parametrized class, and typews

[Puppet Users] Re: Could not retrieve catalog from remote server: Error 400 on SERVER: cannot generate tempfile `/var/lib/puppet/yaml/facts/vagrant1.localdomain.yaml20131009-16545-8oie5i-9'

2013-10-09 Thread alessandro mazzoli
Il giorno mercoledì 9 ottobre 2013 17:16:20 UTC+2, alessandro mazzoli ha scritto: Hi, i'm a newbie about Puppet( 1 month ~) i got error on generate temp file, i'll explain my situation: -i have a puppetmaster(version: 3.3.0),executed on root and a puppet agent(version 2.7) provisioning