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

2015-02-19 Thread Angel L. Mateo
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 -- Angel L. Mateo

[Puppet Users] Defining custom type with a mandatory property

2015-02-10 Thread Angel L. Mateo
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 Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA

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

2015-03-12 Thread Angel L. Mateo
, 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. Mateo Martínez

[Puppet Users] Managing users with ldap provider

2015-06-17 Thread Angel L. Mateo
this, I have created a simple manifiest to create an test user: # ldap_user.pp user { 'amateo_adm2': ensure = 'present', uid= 4002, gid = 'telematadm', comment = 'Angel L. Mateo', shell = '/bin/bash', password = password, provider = 'ldap

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

2015-06-10 Thread Angel L. Mateo
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 la Información y

Re: [Puppet Users] How extend a module

2015-06-10 Thread Angel L. Mateo
with a roleprofile 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 message because you are subscribed

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 control. Thanks

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

2015-07-03 Thread Angel L. Mateo
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 Comunicaciones

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

2015-07-01 Thread Angel L. Mateo
%40googlegroups.com https://groups.google.com/d/msgid/puppet-users/09e80665-22dd-43ba-87d5-3aaeec7041fe%40googlegroups.com?utm_medium=emailutm_source=footer. For 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

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

2015-06-29 Thread Angel L. Mateo
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: 868887590 Fax: 86337

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

2015-07-20 Thread Angel L. Mateo
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: 86337 -- You

Re: [Puppet Users] Hiera auto binding

2015-07-09 Thread Angel L. Mateo
/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 Groups Puppet Users group

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

2015-11-16 Thread Angel L. Mateo
ivate", 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 because you are subscribed to the G

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

2015-09-21 Thread Angel L. Mateo
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.com?utm_medium=email_source=footer>. For more options, visit https:/

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

2015-11-18 Thread Angel L. Mateo
t-users/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_source=footer>. For more options, visit https://groups.google.com/d/optout. -- Angel L. Mateo Martínez Sección de Tele

Re: [Puppet Users] Re: puppet agent heartbeat

2016-02-17 Thread Angel L. Mateo
lar 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 Tecnologías de la Información

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

2016-04-07 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 a new

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

2016-04-05 Thread Angel L. Mateo
d 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 de Tecnologías de la Informa

[Puppet Users] puppetdb database size

2016-04-29 Thread Angel L. Mateo
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 Google Groups

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

2016-04-27 Thread Angel L. Mateo
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 received this message because you

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

2016-05-05 Thread Angel L. Mateo
t a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install enable snmpd Any help? Thank you. -- 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/at

Re: [Puppet Users] Problem with puppetdb encoding

2016-05-06 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 Tecno

[Puppet Users] Problem with puppetdb encoding

2016-05-04 Thread Angel L. Mateo
vileges --+--+--+-+-+--- ... puppetdb | postgres | UTF8 | es_ES.UTF-8 | es_ES.UTF-8 | =T/postgres + | | | | | postgres=CTc/postgres+ The only different I have found is that p

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

[Puppet Users] Problem with load balanced puppetdb

2016-07-05 Thread Angel L. Mateo
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 "P

Re: [Puppet Users] Problem with load balanced puppetdb

2016-07-06 Thread Angel L. Mateo
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: 868887590 Fax

Re: [Puppet Users] Problem with load balanced puppetdb

2016-07-06 Thread Angel L. Mateo
of 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 data

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

2016-09-07 Thread Angel L. Mateo
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ías de la Información y las

[Puppet Users] Extending a defined type

2016-09-08 Thread Angel L. Mateo
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 "Puppet Users&q

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

2016-09-09 Thread Angel L. Mateo
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 are subscribed

Re: [Puppet Users] Puppet/hieradata

2016-09-15 Thread Angel L. Mateo
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ón y las Comunicaciones Aplicadas (A

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

2016-10-19 Thread Angel L. Mateo
. 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: 868889150 Fax: 86337 -- You

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

2016-11-18 Thread Angel L. Mateo
/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ón de Telemática Área de Tecnologías de la Información y las Comun

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

Re: [Puppet Users] separating puppetdb and postgresql

2017-04-24 Thread Angel L. Mateo
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 L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA

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

2017-05-25 Thread Angel L. Mateo
e 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 Aplica

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

2017-05-29 Thread Angel L. Mateo
ps.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 Google Groups "Puppet Users&

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

2017-06-01 Thread Angel L. Mateo
( $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 la Información y las Comunicaciones Aplicadas (ATICA) http://ww

[Puppet Users] Problem creating a type

2017-06-07 Thread Angel L. Mateo
ion, 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) http://www.

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

2017-06-19 Thread Angel L. Mateo
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" group. To u

[Puppet Users] Puppet agent on vmware ESXi

2017-11-09 Thread Angel L. Mateo
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 the Google

[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

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

2018-06-22 Thread Angel L. Mateo
; or, if you want to reuse value in the same file: instance_path: _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 processed before catalog compilation. -- Angel L. Mateo Martínez Sección de

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

2018-03-16 Thread Angel L. Mateo
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: 86337 -- You

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] Re: puppet resource processed just once a day

2019-10-03 Thread Angel L. Mateo
fa9e8e62b38e%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/0bc36085-9736-49d9-9503-fa9e8e62b38e%40googlegroups.com?utm_medium=email_source=footer>. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicad