Re: [Puppet Users] Re: puppet resource processed just once a day

2019-10-03 Thread Angel L. Mateo
oogle.com/d/msgid/puppet-users/0bc36085-9736-49d9-9503-fa9e8e62b38e%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/0bc36085-9736-49d9-9503-fa9e8e62b38e%40googlegroups.com?utm_medium=email&utm_source=footer>. -- Angel L. Mateo Martínez Sección de Telemática Área de

Re: [Puppet Users] Puppet 6 removed native Nagios provider

2018-10-18 Thread Angel L. Mateo
://forge.puppet.com/puppetlabs/nagios_core -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Hiera and nested / reuse variables

2018-06-21 Thread Angel L. Mateo
iera('instance_path')}" or, if you want to reuse value in the same file: instance_path: &instance_path '/etc/postfix-in' other_path: *instance_path Can I somehow use $instance_path from common.pp in common.yaml? I don't think so. hiera is pro

[Puppet Users] Ubuntu 18.04 package

2018-05-17 Thread Angel L. Mateo
Hi, is there any plan to publish puppet-agent package for latest ubuntu 18.04? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this

Re: [Puppet Users] Generating monitoring from PuppetDB without exported resources

2018-03-15 Thread Angel L. Mateo
ppetdb and manually create monitoring configuration objects. But I don't see the point for this complexity. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86

[Puppet Users] Puppet agent on vmware ESXi

2017-11-09 Thread Angel L. Mateo
there any documentation about installing agent on this platform? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this message because you are subscribed to

Re: [Puppet Users] Location of config files in roles/profiles pattern

2017-06-18 Thread Angel L. Mateo
ike Garret too. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

[Puppet Users] Problem creating a type

2017-06-07 Thread Angel L. Mateo
mplementation, all variations I have tried to fix the problem are failing, because all resources are evaluated before any actual creation. Any advice to fix it? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) h

Re: [Puppet Users] How would you represent this in hiera?

2017-06-01 Thread Angel L. Mateo
r' And then: class profile::ssh::server ( $subsytem = {}, ) { $subsystem.each |$n, $o| { ssh::server::subsystem {$n: * => $o, } } } that invokes all the subsystems defined in hiera. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de

Re: [Puppet Users] Struggling with hiera 5 and puppet 4.10

2017-05-28 Thread Angel L. Mateo
r more options, visit https://groups.google.com/d/optout. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this message because you are subscribed to the

Re: [Puppet Users] r10K - Unable to understand the benefits of r10k dynamic environments..

2017-05-25 Thread Angel L. Mateo
ld use just one environment for all your nodes. And you could use dynamic environments when you need a dynamic one or when the difference between environments is more than just hiera. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones A

Re: [Puppet Users] separating puppetdb and postgresql

2017-04-24 Thread Angel L. Mateo
27; I don't pass any other parameter to puppetdb classes 2) am I able to get $connect_settings fed into postgresql::server::role somehow? I don't explicitly deal with postgresql::server::role at all, neither in puppetdb profile neither in postgresql server profile. -- Angel

Re: [Puppet Users] First Time Installing Puppet

2017-03-23 Thread Angel L. Mateo
3.8 is deprecated. You should not install this version. Instructions to install latest version can found at: https://docs.puppet.com/puppet/4.9/install_linux.html -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA

[Puppet Users] Could not create resource file resources.txt: incompatible character encodings

2016-11-18 Thread Angel L. Mateo
he error Error: Could not create resource file /opt/puppetlabs/puppet/cache/state/resources.txt: incompatible character encodings: ASCII-8BIT and UTF-8 in every agent run. What is the correct way to handle with different language encodings? -- Angel L. Mateo Martínez Secció

Re: [Puppet Users] Using a module that is not 100% hiera-compliant

2016-10-19 Thread Angel L. Mateo
s in hiera. And with puppet automatic parameter lookup I don't find any reason why a module couldn't be hiera compatible. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 8688891

Re: [Puppet Users] Puppet/hieradata

2016-09-14 Thread Angel L. Mateo
SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: j...@obspm.fr Heure local/Local time: mer 14 sep 2016 17:41:29 CEST -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Informació

Re: [Puppet Users] Re: Extending a defined type

2016-09-09 Thread Angel L. Mateo
is handle with puppet types, I think the define is not appropriate for this. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this message because you

[Puppet Users] Extending a defined type

2016-09-08 Thread Angel L. Mateo
inheriting an existing one. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 -- You received this message because you are subscribed to the Google Groups "Puppe

[Puppet Users] Problem upgrading to puppetserver 2.5.0 and exported resources

2016-09-07 Thread Angel L. Mateo
absent, should be present (noop) but those resources are defined with: create_resources('@@omd_nagios_service', $nagios_services,...) (where $nagios_services is a hash read from hiera) any help? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnología

Re: [Puppet Users] Problem with load balanced puppetdb

2016-07-06 Thread Angel L. Mateo
f the catalog entry, but now they are related with the latest_catalog table. Now all make sense. El 06/07/16 a las 08:18, Angel L. Mateo escribió: El 05/07/16 a las 20:00, Molly Waggett escribió: Hi Angel, Could you provide more information about your setup? Specifically, how are you replicating

Re: [Puppet Users] Problem with load balanced puppetdb

2016-07-05 Thread Angel L. Mateo
server by just one. Besides this, puppetdb configuration is done with puppetlabs/puppetdb module (v5.1.2) which its default options. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868

[Puppet Users] Problem with load balanced puppetdb

2016-07-05 Thread Angel L. Mateo
load balancing? Any help? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 -- You received this message because you are subscribed to the Google Groups &q

Re: [Puppet Users] Problem with puppetdb encoding

2016-05-05 Thread Angel L. Mateo
El 06/05/16 a las 02:12, Wyatt Alt escribió: Hey Angel, This sounds like a bug to me but I haven't had time to reproduce it. Would you mind filing a ticket at tickets.puppet.com <http://tickets.puppet.com>? Created. -- Angel L. Mateo Martínez Sección de Telemática Área de

[Puppet Users] Problem with snmpd service in new ubuntu 16.04

2016-05-04 Thread Angel L. Mateo
te=loaded UnitFileState=bad root@ubuntu-16-04:~# /bin/systemctl unmask snmpd root@ubuntu-16-04:~# /bin/systemctl enable snmpd snmpd.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install enable snmpd Any help? Thank you.

[Puppet Users] Problem with puppetdb encoding

2016-05-04 Thread Angel L. Mateo
List of databases Name | Owner | Encoding | Collate |Ctype| Access privileges --+--+--+-+-+--- ... puppetdb | postgres | UTF8 | es_ES.UTF-8 | es_ES.UTF-8 | =T/postgres + |

[Puppet Users] puppetserver metrics

2016-05-02 Thread Angel L. Mateo
Hello, I'm using puppetserver OS. Is there any metrics I can collect without using puppet enterprise? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 -

[Puppet Users] puppetdb database size

2016-04-28 Thread Angel L. Mateo
? Or maybe am I missing some maintenance task? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 -- You received this message because you are subscribed to the Goo

[Puppet Users] Multiple puppet masters and problem with crl.pem

2016-04-27 Thread Angel L. Mateo
issuer. Any idea about why is this file changed? Could it be that puppetserver was modifying it? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 -- You receive

Re: [Puppet Users] Unable to fetch my node definition, but the agent run will continue

2016-04-06 Thread Angel L. Mateo
The problem was with the integration of the ENC script (downloaded from theforeman) and puppetserver AIO package. Once fixed, it works fine. El 05/04/16 a las 14:49, Angel L. Mateo escribió: Hello, I have a running puppetmaster with version 3.8.6. Now I'm trying to deploy

[Puppet Users] Unable to fetch my node definition, but the agent run will continue

2016-04-05 Thread Angel L. Mateo
er: Error 400 on SERVER: Could not find node ''; cannot compile Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Any help? Is there any way I could debug this problem? Thanks. -- Angel L. Mateo Martínez Sección de Telemática Área

Re: [Puppet Users] Re: puppet agent heartbeat

2016-02-17 Thread Angel L. Mateo
I have something similar to this, but instead of running the agent in onetime mode, I start the daemon if it is not running. The command I run in the cron is: /etc/init.d/puppet status > /dev/null 2>&1 || /etc/init.d/puppet start -- Angel L. Mateo Martínez Sección de Telemática Área de Tecno

Re: [Puppet Users] hiera-eyaml not decrypting on puppet agent runs - but works from CL

2015-11-18 Thread Angel L. Mateo
rs/e000e6b8-2956-4680-8db2-8ab18b71f112%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/e000e6b8-2956-4680-8db2-8ab18b71f112%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- Angel L. Mateo Martínez Secci

Re: [Puppet Users] Puppet 'node' has no 'deactivate' action

2015-11-16 Thread Angel L. Mateo
It's "deactivate", not "deactivte". Have you checked this? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 -- You received this message

Re: [Puppet Users] Puppet method to subtract two arrays?

2015-09-20 Thread Angel L. Mateo
;mailto:puppet-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8c70cabb-71c2-40a4-9081-ac0e10eb4ced%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/8c70cabb-71c2-40a4-9081-ac0e10eb4ced%40googlegroups.co

Re: [Puppet Users] Using client-side hiera data in puppet agent while using a puppet master

2015-07-19 Thread Angel L. Mateo
this you can't use other hiera features such as reuse and the hierarchy, but it could a first step for you migration. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 8688

Re: [Puppet Users] Hiera auto binding

2015-07-08 Thread Angel L. Mateo
ppetlabs.com/hiera/1/puppet.html#priority-only). -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] How to ensure puppet agent run if cron is used and service disabled?

2015-07-02 Thread Angel L. Mateo
ow do you handle this situation? Periodically check report to see if which machine has not reported? We use check_puppet.rb nagios plugin at https://github.com/harisekhon/nagios-plugins -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicac

Re: [Puppet Users] Puppet, ENC, Foreman, Hiera. Best way for coexistence?

2015-07-01 Thread Angel L. Mateo
El 01/07/15 a las 11:20, Nicola V escribió: On Wednesday, July 1, 2015 at 8:20:00 AM UTC+2, Angel L. Mateo wrote: We are using what you called option 3. The main reason to use option 3 instead of 1 was that this way we can have our "truth" under version

Re: [Puppet Users] Puppet, ENC, Foreman, Hiera. Best way for coexistence?

2015-06-30 Thread Angel L. Mateo
ssion on the web visit https://groups.google.com/d/msgid/puppet-users/09e80665-22dd-43ba-87d5-3aaeec7041fe%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/09e80665-22dd-43ba-87d5-3aaeec7041fe%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, vi

Re: [Puppet Users] puppetlabs-apache module: anyway to define default parameters for every vhost

2015-06-28 Thread Angel L. Mateo
, allowing overrides only when necessary. Can anyone suggest a way to do this? Use hiera and define those values in a common yaml. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 8688

[Puppet Users] Managing users with ldap provider

2015-06-17 Thread Angel L. Mateo
{ 'amateo_adm2': ensure => 'present', uid=> 4002, gid => 'telematadm', comment => 'Angel L. Mateo', shell => '/bin/bash', password => , provider => 'ldap

Re: [Puppet Users] How extend a module

2015-06-10 Thread Angel L. Mateo
problem is resolved better with a role&profile design than directly extending the module. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 -- You received this mess

Re: [Puppet Users] Shared modules for all Puppet environments

2015-06-10 Thread Angel L. Mateo
nment. I cannot find that article anymore. Can anybody point me to a right direction? You can use the basemodulepath option. The modules that you put under the path configure with this option are share in all environments. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de l

Re: [Puppet Users] Re: Puppet as patch management

2015-03-12 Thread Angel L. Mateo
operations, we are using it to patch a few exceptional case where we need that some files (installed from a package which is installed from puppet). The advantage of this is that you can develop a new machine a ensure that it is in the correct state with no extra effort. -- Angel L. Mate

Re: [Puppet Users] using heredoc in an erb template with hiera

2015-02-19 Thread Angel L. Mateo
oes anyone have information on this and whether it is possible or not? Do you mean the | of the yaml? Like this? my_formated_option: | This is just a long formated text more text blah... and this is the final other_option: other_value --

[Puppet Users] Defining custom type with a mandatory property

2015-02-10 Thread Angel L. Mateo
property, I get the error message. But my problem is that with this code, I can't use "puppet resource" order, because I get the error too when it tries to get the list of resources already defined. Any help? -- Angel L. Mateo Martínez Sección de Telemática Área de