[Puppet Users] MCollective security

2018-09-07 Thread Sergey Arlashin
Hi! Not long ago we started using MCollective to trigger Puppet runs and execute maintenance shell commands on our servers. Everything looks good so far. But I'm concerned about MC security model. For the middleware we are using RabbitMQ. We authenticate MCollective servers against RabbitMQ

Re: [Puppet Users] puppet 4: webserver configuration

2015-06-16 Thread Sergey Arlashin
to do that. Thank you. -- Best regards, Sergey Arlashin - Thomas Am Montag, 15. Juni 2015 18:42:12 UTC+2 schrieb Sergey Arlastin: Hi! I'm trying to configure webserver via conf.d/webserver.conf . The purpose is to add an extra web resource called 'secure-store' that can

[Puppet Users] puppet 4: webserver configuration

2015-06-15 Thread Sergey Arlashin
=md5source_permissions=ignore HTTP/1.1 0 0 p4agent.site 172.16.15.12 8141 1 Could anyone please tell if I'm doing anything completely wrong or I misunderstood the idea of webserver thing regarding new puppet server ? Thanks in advance. -- Best regards, Sergey Arlashin -- You received this message

Re: [Puppet Users] puppetserver 2.0.0 and fileserver.conf counterpart?

2015-06-01 Thread Sergey Arlashin
Hi! I'm also wondering how I can configure fileserver parameters in puppet server . Is webserver.conf a substitute for fileserver.conf now ? Thank you. -- Best regards, Sergey Arlashin On Apr 30, 2015, at 12:40 PM, Stefan Wiederoder stefanwiedero...@googlemail.com wrote: I´m struggling

Re: [Puppet Users] puppetserver 2.0.0 and fileserver.conf counterpart?

2015-06-01 Thread Sergey Arlashin
Hi! I'm also wondering how I can configure fileserver parameters in puppetserver ? Is webserver.conf a substitute for fileserver.conf now ? Thank you. -- Best regards, Sergey Arlashin On Apr 30, 2015, at 12:40 PM, Stefan Wiederoder stefanwiedero...@googlemail.com wrote: I´m struggling

[Puppet Users] puppet 3.6.2: future parser + extlookup() + environment based selector

2014-09-18 Thread Sergey Arlashin
to execute extlookup() function even if the current environment is 'localdev'. So I'm wondering if it is a bug? Or may be it is a normal behaviour of future parser ? I hope I explained everything correctly :) Thanks in advance! -- Best regards, Sergey Arlashin -- You received this message because

Re: [Puppet Users] Puppet 3.6.2: force manifests reload

2014-07-27 Thread Sergey Arlashin
Thank you! -- Best regards, Sergey Arlashin On Jul 27, 2014, at 2:35 AM, Andreas Ntaflos d...@pseudoterminal.org wrote: On 2014-07-26 18:46, Sergey Arlashin wrote: Hi! I'm using webrick based puppetmaster. After upgrading to 3.6.x I noticed that when I alter some of my manifests

[Puppet Users] Puppet 3.6.2: force manifests reload

2014-07-26 Thread Sergey Arlashin
in manifests folder doesn't solve the problem. So the question is - is it possible to force the reload of my manifests without restarting puppet master? Or may be switching to passenger based puppet can solve the problem ? Thanks in advance. -- Best regards, Sergey Arlashin -- You received

[Puppet Users] Puppet 3.6.2 + Vagrant

2014-07-01 Thread Sergey Arlashin
Hi! Does anybody use puppet 3.6.x with Vagrant? Is there any way to specify manifests dir instead of site.pp file ? Thanks in advance. -- Best regards, Sergey Aralashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this

[Puppet Users] Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
/environments/production/manifests Thanks in advance! -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users

[Puppet Users] Re: Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
I forgot to mention that I'm using directory environments. Also when I remove site.pp I get Error: Could not run: Could not find file /etc/puppet/environments/production/manifests/site.pp -- Best regards, Sergey Arlashin On Jun 30, 2014, at 9:52 PM, Sergey Arlashin sergeyarl.maill

[Puppet Users] Re: Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
I half an hour it magically started to work. Seems to be some caching issue? Did I need to restart puppet master after removing 'imports' ? Or do something like this ? -- Best regards, Sergey Arlashin On Jun 30, 2014, at 10:07 PM, Sergey Arlashin sergeyarl.maill...@gmail.com wrote: I

[Puppet Users] Puppet: Dependency cycle

2014-06-18 Thread Sergey Arlashin
in OmniGraffle or GraphViz Could you please help me figure out why this is happening ? It seems there is nothing in test mod whih requires testmod::nginxtest . Thanks in advance. -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Puppet: Dependency cycle

2014-06-18 Thread Sergey Arlashin
this properly? Do I need to create something like exec { 'nginx restart': ... } ? On Jun 18, 2014, at 5:55 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, On 06/18/2014 03:51 PM, Sergey Arlashin wrote: Could you please help me figure out why this is happening ? It seems

Re: [Puppet Users] Puppet: Dependency cycle

2014-06-18 Thread Sergey Arlashin
Christopher, Felix, I got the idea. Thank you very much! -- Best regards, Sergey Arlashin On Jun 18, 2014, at 7:04 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Wow, Christopher gave an exhaustive answer :-) I'll try and Keep It Simple. On 06/18/2014 04:22 PM, Sergey

[Puppet Users] Hiera multiple datadirs

2014-05-29 Thread Sergey Arlashin
Hi! As far as I know Hiera at the moment doesn't support multiple datadirs. Does anybody know if it is going to support it in future releases? It would be really great if it did. -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] puppetdb 2 : Idle timeout expired: 30000/30000 ms

2014-05-22 Thread Sergey Arlashin
-oriented scripting language Ruby, version 1.9.3 ken. On Thu, May 22, 2014 at 5:06 AM, Sergey Arlashin sergeyarl.maill...@gmail.com wrote: Yesterday I downgraded both puppet to 3.5.1 and pupetdb to 1.6.3, and the problem disappeared. Unfortunately this is production infrastructure and I

Re: [Puppet Users] puppetdb 2 : Idle timeout expired: 30000/30000 ms

2014-05-21 Thread Sergey Arlashin
. On Tuesday, May 20, 2014 11:27:05 AM UTC-4, Sergey Arlashin wrote: Unfortunately setting max-threads to 200 did not help. # java -version java version 1.7.0_55 OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.04.2) OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode

Re: [Puppet Users] puppetdb 2 : Idle timeout expired: 30000/30000 ms

2014-05-20 Thread Sergey Arlashin
Here is described http://www.eclipse.org/jetty/documentation/current/configuring-connectors.html how idle timeout for jetty cat be configured . But I don't know how to apply this for puppetdb :( Does anybody have any ideas ? On May 20, 2014, at 9:43 AM, Sergey Arlashin sergeyarl.maill

Re: [Puppet Users] puppetdb 2 : Idle timeout expired: 30000/30000 ms

2014-05-20 Thread Sergey Arlashin
though, what happens when you increase max-threads in your jetty.ini to something like 200? ken. On Tue, May 20, 2014 at 12:41 PM, Sergey Arlashin sergeyarl.maill...@gmail.com wrote: Here is described http://www.eclipse.org/jetty/documentation/current/configuring-connectors.html how idle

[Puppet Users] puppetdb 2 : Idle timeout expired: 30000/30000 ms

2014-05-19 Thread Sergey Arlashin
/ismallPowered by Jetty:///small/i/body/html Does anybody know how I can get rid of this error? Thanks in advance! -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving

Re: [Puppet Users] puppetdb 2 : Idle timeout expired: 30000/30000 ms

2014-05-19 Thread Sergey Arlashin
] ... 1 common frames omitted On May 20, 2014, at 9:38 AM, Spencer Krum krum.spen...@gmail.com wrote: This looks like a puppetdb error. Can you check the PuppetDB logs and post any relevant errors? Thanks, Spencer On Mon, May 19, 2014 at 10:02 PM, Sergey Arlashin sergeyarl.maill

[Puppet Users] Puppet 3.4.1: Could not find relationship target

2014-02-01 Thread Sergey Arlashin
the situation either. Could anyone please tell how one can debug this sort of errors? Thanks in advance. -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from

[Puppet Users] Re: Puppet 3.4.1: Could not find relationship target

2014-02-01 Thread Sergey Arlashin
server: Could not intern from text/pson: Could not convert from pson: Could not find relationship target File[] in both puppet agent output and puppetmaster log. So the question is - is it a bug? Or may be it is a normal behaviour? -- Best regards, Sergey Arlashin On Feb 2, 2014

Re: [Puppet Users] puppet won't change user's password

2013-11-27 Thread Sergey Arlashin
seconds # cat /etc/shadow |grep ^testuser testuser:$6$.JNdUYPK$KUcfD3urk5290LvluOE.wnCKoEibMqd2.uiT/X0ezS29JaXfk4T9K57ea/6mSU7Z/8ppi8IiNNV7bkVYc5p0s0:16036:0:9:7::: -- Best regards, Sergey Arlashin On Nov 27, 2013, at 2:32 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi

Re: [Puppet Users] puppet won't change user's password

2013-11-27 Thread Sergey Arlashin
, Sergey Arlashin On Nov 27, 2013, at 3:00 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Ugh. So, does it work with other values (e.g., actual password hashes)? On 11/27/2013 11:57 AM, Sergey Arlashin wrote: # puppet apply -e 'user { testuser: password = * }' Notice: Compiled

Re: [Puppet Users] puppet won't change user's password

2013-11-27 Thread Sergey Arlashin
in 0.08 seconds Notice: /User[testuser]/password: changed password Notice: Finished catalog run in 0.13 seconds Thank you! -- Best regards, Sergey Arlashin On Nov 27, 2013, at 3:05 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: Hi, no good then. Please run again with an added -dv

[Puppet Users] puppet won't change user's password

2013-11-26 Thread Sergey Arlashin
behaviour of 'user' type? -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view

Re: [Puppet Users] Puppet: a way to secure certain files

2013-11-21 Thread Sergey Arlashin
Thank you! On Nov 20, 2013, at 9:02 PM, jcbollinger john.bollin...@stjude.org wrote: On Wednesday, November 20, 2013 12:06:35 AM UTC-6, Rich Burroughs wrote: You can use hiera gpg for ssh keys too. See this example:

Re: [Puppet Users] Want to restrict puppet module execute every 30mins

2013-11-20 Thread Sergey Arlashin
regards, Sergey Arlashin On Nov 20, 2013, at 6:18 PM, Aravind Valluru aravind.vall...@pearson.com wrote: Hi, I have created a puppet module that performs below steps: 1. stop application service 2. take backup of existing application 3. download application artifact 4. install

[Puppet Users] Puppet: a way to secure certain files

2013-11-19 Thread Sergey Arlashin
? -- Best reagards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet 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

[Puppet Users] Puppet: Custom functions

2013-11-18 Thread Sergey Arlashin
Hi! As far as I know custom functions are executed on puppet master server. But each run puppet master copies all the custom functions available to /var/lib/puppet/lib/puppet/parser/functions/ folder on puppet clients. Why is it so? -- Best regards, Sergey Arlashin -- You received

Re: [Puppet Users] Puppet: Custom functions

2013-11-18 Thread Sergey Arlashin
from parser functions. For most people, syncing parser functions to agents serves no purpose. I advise to regard it as just a side occurence, and to just ignore it. HTH, Felix On 11/18/2013 09:49 AM, Sergey Arlashin wrote: Hi! As far as I know custom functions are executed on puppet

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

2013-10-26 Thread Sergey Arlashin
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 ? -- Best regards, Sergey Arlashin -- You received this message because you are subscribed

[Puppet Users] Puppet 3.2: add element to array

2013-10-21 Thread Sergey Arlashin
Hi! Is it possible to add a new element to an array inside puppet manifest ? Something like ruby's array.push('new_element') ? -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group

[Puppet Users] Puppet 3.2.2: Could not find declared class

2013-09-26 Thread Sergey Arlashin
this ? -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send

[Puppet Users] Puppet 3.2 : warnings

2013-09-19 Thread Sergey Arlashin
HI! I see a couple of warnings in master.log on puppetmaster server each time puppet agent runs. But when I run puppet agent manually by executing puppet agent --server puppet.site --verbose --no-daemonize --onetime I don't see any warnings in its output. Is it possible to make puppet agent

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-17 Thread Sergey Arlashin
: } } Class[class3] - class { class4: } } On Thursday, August 15, 2013 10:17:46 AM UTC-7, Sergey Arlashin wrote: Hi! I'm using the following way to define the order and assign classes to nodes: node nodename1, nodename2, nodename3, nodename4 { class { class1

[Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Sergey Arlashin
Hi! I'm using the following way to define the order and assign classes to nodes: node nodename1, nodename2, nodename3, nodename4 { class { class1: } - class { class2: } - class { class3: } - class { class4: } } I'm fully delighted with it. But at the moment I need class2 to be

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Sergey Arlashin
{ class1: } - class { class3: } - class { class4: } } } -- Arthur Furlan On Thu, Aug 15, 2013 at 2:17 PM, Sergey Arlashin sergeyarl.maill...@gmail.com wrote: Hi! I'm using the following way to define the order and assign classes to nodes: node nodename1, nodename2

[Puppet Users] Mcollective: remote commands

2013-08-14 Thread Sergey Arlashin
Hi! Is it possible to use Mcollective to run different cli commands remotely on nodes? Cannot find anything related in the documentation. -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

Re: [Puppet Users] looping over an hashmap in an .pp file

2013-08-09 Thread Sergey Arlashin
Hi Simon, You can use create_resources http://docs.puppetlabs.com/references/latest/function.html#createresources -- Best regards, Sergey On Aug 9, 2013, at 7:47 PM, Simon Hönscheid simon.hoenscheid.pli...@gmail.com wrote: I have an interesting problem an I found no solution yet: I want

Re: [Puppet Users] looping over an hashmap in an .pp file

2013-08-09 Thread Sergey Arlashin
{${var1}_${var2}: } } -- Best regards, Sergey Arlashin On Aug 9, 2013, at 7:47 PM, Simon Hönscheid simon.hoenscheid.pli...@gmail.com wrote: I have an interesting problem an I found no solution yet: I want puppet to repeat an exec for every hast element I have: $database_users

Re: [Puppet Users] useradd Duplicate declaration: Group

2013-08-06 Thread Sergey Arlashin
Hello, try group { addgroup_$group: name = $group, git = $gid } -- Best regards, Sergey Arlashin On Aug 6, 2013, at 10:30 AM, Andreas Dvorak andreas.dvo...@googlemail.com wrote: Hello, I have written a module to add user and it does work with one user. But if I use two

[Puppet Users] Class execution order

2010-12-08 Thread sergey arlashin
Hi! I'm trying to make puppet execute classes in a certain order for a particular node. So this is my test config: class one { exec { echoone: command = /bin/echo $var1, } } class two { exec { echotwo: command = /bin/echo $var2, } } class three { exec {