Re: [Puppet Users] Trying link to home directory

2012-06-28 Thread Juan Sierra Pons
e need to know it There are some parameters. eg: vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet That can be included in the [main] and /or [agent] section of your puppet.conf that can help in this case Best regards -

Re: [Puppet Users] Re: Trying link to home directory

2012-06-28 Thread Juan Sierra Pons
g git repositories to development colaboration. > > >  Thanks you, >  eduardo. > > > On 28 jun, 08:11, Juan Sierra Pons wrote: >> 2012/6/28 eduardo : >> >> >> >> >> >> >> >> >> >> > Dears all, >> >>

Re: [Puppet Users] Re: Trying link to home directory

2012-06-28 Thread Juan Sierra Pons
ies to development and > that's why I pretend a soft link /etc/puppet to target /home/era/ > speedy_repo/puppet-eduardo/puppet/ files owned by 'era' not by 'root', > so I can edit then and git operations like 'era'. > > > On 28 jun, 09:46, Juan S

Re: [Puppet Users] See puppet output in stdout when running --no-daemonize inside a bash script

2012-07-18 Thread Juan Sierra Pons
On Jul 18, 2012 5:30 PM, "Sam Simmons" wrote: > > I'm simply trying to run puppet inside a bash script but I'm not seeing any output. > > #!/bin/bash > puppet master --mkusers --autosign --verbose --no-daemonize > > Is there an I/O redirection incantation I'm missing? > > -- > You received this me

[Puppet Users] Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok

2012-08-06 Thread Juan Sierra Pons
} In this case the source file is not downloaded and the logs show the following output: (/Stage[main]/Ntp/File[/etc/ntpd.conf]) Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/ntp/files/etc/ntp.conf at /etc/puppet/modules/ntp/manifests/init.p

Re: [Puppet Users] Re: Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok

2012-08-07 Thread Juan Sierra Pons
o Best regards ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E

Re: [Puppet Users] Puppet Dashboard installation on Debian Wheezy

2012-08-08 Thread Juan Sierra Pons
Hi Yesterday I had the same problem. I solved it using this link: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-dependencies Install the RubyGems package system with the script provided. Hope it helps. Best regards On Aug 8, 2012 5:59 PM, "Deimos Fr" wrote: >

Re: [Puppet Users] Puppet Dashboard installation on Debian Wheezy

2012-08-13 Thread Juan Sierra Pons
rb:36:in `require' >> from >> /tmp/install_rubygems.wX4fqo5x78/rubygems-1.3.7/lib/rubygems/gem_runner.rb:8:in >> `' >> from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' >> from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:

Re: [Puppet Users] How to syntax debug in puppet 3?

2012-08-24 Thread Juan Sierra Pons
-n 1 -t puppet-lint Best regards ---------- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415

Re: [Puppet Users] How to syntax debug in puppet 3?

2012-08-24 Thread Juan Sierra Pons
tc Best regards ---------- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E93

Re: [Puppet Users] Can Puppet alert about dead nodes?

2012-10-31 Thread Juan Sierra Pons
Hi, If you have dashboard installed unresponsive nodes can be seen in the left panel. Hope it helps Best regards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered

Re: [Puppet Users] Unable to configure Puppet-dashboard using opensource package

2012-12-05 Thread Juan Sierra Pons
have the same problem stated in this thread: https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/pXWR--eezsk Have a look. Hope it helps Best regards -- Juan Sierra Pons j..

[Puppet Users] Unresponsive nodes with no pending task in the dashboard

2013-03-25 Thread Juan Sierra Pons
gards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE -- --

[Puppet Users] [solved] Re: Unresponsive nodes with no pending task in the dashboard

2013-03-28 Thread Juan Sierra Pons
Hi, Finally the problem was related with auth.conf, puppet.con & fileserver.conf files permissions. A restore fixed the problem. Best regards ------ Juan Sierra Pons j...@elsotanillo.net Linux User Regist

[Puppet Users] [OT] Puppet Users group in Alicante (Spain)

2013-08-23 Thread Juan Sierra Pons
-- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE

[Puppet Users] Re: [OT] Puppet Users group in Alicante (Spain)

2013-08-27 Thread Juan Sierra Pons
/ -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 http://www.elsotanillo.net GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE

Re: [Puppet Users] Run service failed

2013-09-20 Thread Juan Sierra Pons
El 21/09/2013 01:11, "Pan Luo" escribió: > > I'm trying to setup a service that doesn't support any service script. Using the following: > > service { 'Rserve': > ensure => 'running', > start => '/usr/bin/R CMD Rserve --gui-none', > provider => 'base', > } > > When I run puppet agen

Re: [Puppet Users] puppet dashboard with \n\n\n

2013-10-03 Thread Juan Sierra Pons
El 03/10/2013 14:00, "Matt Zagrabelny" escribió: > > Greetings, > > I've setup puppet dashboard 1.2.23 along with puppetmaster 2.7.18. > > I am seeing many \n strings all over the place when looking at > reports. Specifically the \n's are in the Metrics, Log, Events links. > > My nodes are showing

[Puppet Users] Re: Nagios & Puppet

2013-10-17 Thread Juan Sierra Pons
os_command <<||>> { > require => File[resource-d], > notify => Service[icinga], > } > > > After banging my head for 3 evenings on this I really need your help. > Thanks for any pointers. > > -Chris. > > Hello Chris, I am facing here the

Re: [Puppet Users] Re: Nagios & Puppet

2013-10-18 Thread Juan Sierra Pons
Hello, Right now I am using a workaround similar to Steve's approach and it works pretty well Just checking what other people is doing Thank for your replies and time Best regards -- Juan Sierra

Re: [Puppet Users] Automatic Agent installation from dashboard?

2013-12-06 Thread Juan Sierra Pons
/usr/bin/ruby1.8 puppet agent --test Launch this one for each server ssh root@remoteserver1 /bin/bash < RemoteCommands.txt For windows I suppose that similar can be done using powershell. Hope it helps. Best regards ----

[Puppet Users] puppet dashboard & ssl database connection

2013-12-13 Thread Juan Sierra Pons
gards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66

[Puppet Users] [SOLVED] Re: puppet dashboard & ssl database connection

2013-12-13 Thread Juan Sierra Pons
fixed, it was a ca file permissions issue. Regards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http

Re: [Puppet Users] Single certificate, multiple nodes... or image-based systems

2014-01-09 Thread Juan Sierra Pons
n copy it to the image using scp, libguestfs-tools, etc. You can have an idea looking the provisioningDO rakefile: https://github.com/juasiepo/provisioningDO/blob/master/rakefile Best regards -- Juan Sierra Pons j...@elsotanillo

[Puppet Users] managing jboss users from puppet

2014-04-14 Thread Juan Sierra Pons
109e4347bf9ed3d5 Anyone have faced this before? Any idea howto proceed? Thanks for your time Best regards ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web:

Re: [Puppet Users] Debian jessie, puppetlabs dist-upgrade problem

2014-04-21 Thread Juan Sierra Pons
El 20/04/2014 18:29, "Mike R." escribió: > > Using wheezy or unstable puppetlabs release, dist-upgrade wants to remove puppet and puppet-common to upgrade libruby. Anyone seen this? > > > root@enigma:~# apt-get dist-upgrade > Reading package lists... Done > Building dependency tree > Reading state

Re: [Puppet Users] puppet apply stops with message "Killed"

2014-04-28 Thread Juan Sierra Pons
uppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/e4ebdcdc-4bc2-46d0-8e79-24370336ba17%40goo

[Puppet Users] puppetlabs/java_ks modules and puppet:// uri paths

2014-05-20 Thread Juan Sierra Pons
ert.org.crt.org.crt -file /etc/puppet/files/certificates/mycert.org.crt -keystore /home/devops/ Any Idea what I am doing wrong? Best regards -- Juan Sierra Pons j...@elsotanillo.n

Re: [Puppet Users] puppetlabs/java_ks modules and puppet:// uri paths

2014-05-20 Thread Juan Sierra Pons
puppetmaster. BTW: there is an open bug about this: https://tickets.puppetlabs.com/browse/MODULES-559 Thanks for your time Best regards -- Juan Sierra Pons j...@elsotanillo.net Linux

Re: [Puppet Users] Execute a class if a file is not present.

2014-06-26 Thread Juan Sierra Pons
modifications it should fit your expectations Best regards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com

Re: [Puppet Users] Execute a class if a file is not present.

2014-06-27 Thread Juan Sierra Pons
't be difficult to change its behavior. Best regards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.

Re: [Puppet Users] duplicated resource with an exported resource

2014-07-14 Thread Juan Sierra Pons
gt; https://groups.google.com/d/msgid/puppet-users/bc657bc3-9659-46b4-b713-26d9ebea9f64%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. Hi, I think there is not better soluction as titles must be unique per resource type [1] Your solution seems ok for me [1]

Re: [Puppet Users] duplicated resource with an exported resource

2014-07-14 Thread Juan Sierra Pons
llecting duplicate resources in puppet [1] http://docs.puppetlabs.com/puppet/latest/reference/lang_exported.html#uniqueness [2] http://ttboj.wordpress.com/2013/06/04/collecting-duplicate-resources-in-puppet/ Hope it helps Best regards ------

Re: [Puppet Users] HA puppetmaster in AWS

2014-07-18 Thread Juan Sierra Pons
-- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE

Re: [Puppet Users] Re: Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok

2014-07-28 Thread Juan Sierra Pons
Hi I think you have missed a r in the $puppetserver variable name puppet://$puppetserve/modules/ntp/etc/ntp.conf ^ Best regards -- Juan Sierra Pons

Re: [Puppet Users] Change Hostname on Puppet Master

2014-08-05 Thread Juan Sierra Pons
uppet start It should do the dirty job for you :) [1] https://gist.github.com/lofidellity/1205953 Best regards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.el

Re: [Puppet Users] Change Hostname on Puppet Master

2014-08-06 Thread Juan Sierra Pons
abriel Filion > Hi, I didn't know it either. :) This drive me to ask a related question: Can the same approach be used when the certificate expires? I suppose the answer is yes but I haven't got the opportunity to try it Thank you Best regards -----

Re: [Puppet Users] Failed to connect to PuppetDB. Check settings (hostname does not match the server certificate) but what settings?

2014-08-15 Thread Juan Sierra Pons
Hi If you installed puppetdb using puppetlabs-puppetdb. Usually removing router.yaml and puppetdb.conf on /etc/puppet folder and running Puppet again fixes it Disclaimer: I am not in front of the computer so I am not sure if the files' names are misspelled. Also make a backup just in case. Hope

Re: [Puppet Users] Install puppetDB on already deployed environment

2014-08-18 Thread Juan Sierra Pons
Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406 A110 F4FE

Re: [Puppet Users] Install puppetDB on already deployed environment

2014-08-18 Thread Juan Sierra Pons
Hi, I am using puppetlabs-puppetdb module too. Can you install puppetdb manually using your os package tool (apt/yum)? Regards -- Juan Sierra Pons j...@elsotanillo.net Linux User

Re: [Puppet Users] Install puppetDB on already deployed environment

2014-08-18 Thread Juan Sierra Pons
Hi, Check again your config as puppetlabs-puppetdb should install the binary and then configure it. Best Regards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered

[Puppet Users] puppet dashboard not processing reports after https is enabled and shows this error message: Report processor failed: undefined method `+' for nil:NilClass

2014-08-19 Thread Juan Sierra Pons
board-> server3.example.org Any idea what am I missing? Thanks for your time Best regards ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.gith

[Puppet Users] Re: puppet dashboard not processing reports after https is enabled and shows this error message: Report processor failed: undefined method `+' for nil:NilClass

2014-08-19 Thread Juan Sierra Pons
2014-08-19 18:40 GMT+02:00 Juan Sierra Pons : > Hi > > I have been using puppet-dashboard for a long time over http without problem > Today I have configured the https creating the ssl certificate, etc. > > puppetmaster, dashboard and workers have been restarted > > Also I

[Puppet Users] Re: puppet dashboard not processing reports after https is enabled and shows this error message: Report processor failed: undefined method `+' for nil:NilClass

2014-08-19 Thread Juan Sierra Pons
Hi Finally I've found the bug... between the keyboard and the seat :) A missing ":" between https and // reporturl = https://dashboard.example.org:443/reports/upload Regards ------ J

Re: [Puppet Users] How can we satisfy goals of having all data in hiera and not modifying the module code?

2014-08-25 Thread Juan Sierra Pons
27;apache::my_vhosts')) This way you accomplishes the two requirements: do not touch the module and put all your data on hiera :) Best regards ------ Juan Sierra Pons j...@elsotanillo.

[Puppet Users] erb tempate issue

2014-09-01 Thread Juan Sierra Pons
%= %> <% end -%> I think this is an easy one but after several tries I have decided to ask here. Thank you for your time Best regards ------ Juan Sierra Pons j...@elsotani

Re: [Puppet Users] erb tempate issue

2014-09-01 Thread Juan Sierra Pons
or your time ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 34

Re: [Puppet Users] erb tempate issue

2014-09-01 Thread Juan Sierra Pons
Hi Finally I have changed to another kind on loop that works for my case uri<% @ldap_servers.each do |server| -%> ldap://<%= server -%> <% end %> Thank you for your time Best regards -----

[Puppet Users] [Error after after upgrading to 3.7] Evaluation Error: Illegal Resource Type expression, expected result to be a type name, or untitled Resource, got Type[Class]

2014-09-12 Thread Juan Sierra Pons
dern-puppet-master-from-scratch/ [2] http://terrarum.net/blog/puppet-infrastructure.html ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.el

Re: [Puppet Users] [Error after after upgrading to 3.7] Evaluation Error: Illegal Resource Type expression, expected result to be a type name, or untitled Resource, got Type[Class]

2014-09-16 Thread Juan Sierra Pons
[1] http://terrarum.net/blog/puppet-infrastructure.html ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fi

Re: [Puppet Users] Generate Puppet manifiest from server

2014-09-25 Thread Juan Sierra Pons
dmin has made to the system. " Hope it helps Best regards ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.gi

[Puppet Users] Puppet-dashboard not importing automatically the reports

2014-10-14 Thread Juan Sierra Pons
ok two but one day it stopped. Any Idea what am I missing? Best regards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net

[Puppet Users] Re: Puppet-dashboard not importing automatically the reports

2014-10-14 Thread Juan Sierra Pons
, http [...] What I am missing? Best regards ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GP

[Puppet Users] Dynamic environments with r10k using svn instead of git

2014-10-15 Thread Juan Sierra Pons
y idea what am I doing wrong? Thanks for your time Best regards [1] https://github.com/adrienthebo/r10k/blob/master/doc/puppetfile.mkd -- Juan Sierra Pons j...@elsotanillo.net Linux

[Puppet Users] [SOLVED]Re: Puppet-dashboard not importing automatically the reports

2014-10-15 Thread Juan Sierra Pons
gards -- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936

[Puppet Users] Re: puppetlabs mcollective module + clustering

2014-10-29 Thread Juan Sierra Pons
El viernes, 10 de enero de 2014 10:44:43 UTC+1, Andrey escribió: > > Is anyone using mcollective module from puppetlabs? > is there built-in way to configure activemq clustering between 2 DCs which > I am missing? > > > Andrey > Hi, I am facing the same issue now: configuring activemq clusterin

Re: [Puppet Users] Re: Exported resources from multiple sources?

2014-10-31 Thread Juan Sierra Pons
[1] http://blog.mague.com/?p=468 ---------- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint

Re: [Puppet Users] how to use snmp trap command to send to monitoring tool if the node goes to changed state

2014-11-18 Thread Juan Sierra Pons
this script in a cron job In less than 10-20 lines/30 minutes you should have a working solution. Quick and dirty :) Best regards -- Juan Sierra Pons j...@elsotanillo.net Linux User

Re: [Puppet Users] how to use snmp trap command to send to monitoring tool if the node goes to changed state

2014-11-18 Thread Juan Sierra Pons
-una-bbdd-mysql-desde-bash-2/ At least the DB connection step is solved. :) Hope it helps ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elso

Re: [Puppet Users] puppetlabs-firewall & rate limit

2014-12-15 Thread Juan Sierra Pons
lter', } firewall { '103 allow https': ensure => 'present', action => 'accept', chain => 'INPUT', isfragment => 'false', port => ['443'], proto => 'tcp', random

Re: [Puppet Users] puppetlabs-firewall & rate limit

2014-12-16 Thread Juan Sierra Pons
=> 'false', reap => 'false', rsource=> 'false', rttl => 'false', socket => 'false', table => 'filter', } ' 6.- Save the output of "iptables -L" 7.- Compare both outputs

Re: [Puppet Users] Re: what gets run when a client can't connect?

2014-12-18 Thread Juan Sierra Pons
-- Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key Fingerprint = DF53 7415 0936 244E 9B00 6E66 E934 3406

[Puppet Users] Hiera variable interpolation on extra backend

2015-04-07 Thread Juan Sierra Pons
les.html#in-other-settings Thank you for your time Best regards ------ Juan Sierra Pons j...@elsotanillo.net Linux User Registered: #257202 Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo GPG key = 0xA110F4FE Key

[Puppet Users] PuppetDB remote connection not working with CURL but working with openssl

2015-08-13 Thread Juan Sierra Pons
: ca_crt.pem CApath: none * STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x600057080; line 1239 (connection #0) * Expire cleared * Curl_done * Closing connection 0 * The cache now contains 0 members Any idea what am I doing wrong? Best regards -

[Puppet Users] Re: PuppetDB remote connection not working with CURL but working with openssl

2015-08-13 Thread Juan Sierra Pons
The problem was between the seat and the keyboard :P I was using different ca names (ca_crt.pem != ca.pem) Now it works perfectly Best regard -- Juan Sierra Pons j