[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
s/filename", } But with puppet 4 I don’t know how 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

[Puppet Users] puppet 4: webserver configuration

2015-06-15 Thread Sergey Arlashin
/puppet/v3/file_metadata/secure-store/testtest.txt?environment=production&links=manage&checksum_type=md5&source_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 we

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 wrote: > I´m struggling with puppetserver

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 wrote: > I´m struggling with puppetserver

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

2014-09-18 Thread Sergey Arlashin
p_password' in any data file during extlookup() on node node1.site I assume that future parser tries 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

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 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 man

[Puppet Users] Puppet 3.6.2: force manifests reload

2014-07-26 Thread Sergey Arlashin
, and touching all files 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, Ser

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

[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 wrote: > I forgot to men

[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 wrote: > Hi

[Puppet Users] Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
may be this is a bug? # puppet config print manifest /etc/puppet/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 t

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 wrote: > Wow, Christopher gave an exhaustive answer :-) > > I'll try and Keep It Simple. > > On 06/18/2014 04:22 PM, Sergey Arlashin wr

Re: [Puppet Users] Puppet: Dependency cycle

2014-06-18 Thread Sergey Arlashin
ore class 'test mod::nginxtest'. And I need to restart service 'nginx' when I change '/tmp/nginx.test'. So then the question is - how to do this properly? Do I need to create something like exec { 'nginx restart': ... } ? On Jun 18, 2014, at 5:55 PM, F

[Puppet Users] Puppet: Dependency cycle

2014-06-18 Thread Sergey Arlashin
> Class[Testmod::Nginxtest] => File[/tmp/nginx.test]) ==> test-node: Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz Could you please help me figure out why this is happening ? It seems there is nothing in test mod whih

[Puppet Users] Hiera multiple datadirs

2014-05-28 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 G

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

2014-05-22 Thread Sergey Arlashin
Interpreter of object-oriented scripting language Ruby, version 1.9.3 > ken. > > On Thu, May 22, 2014 at 5:06 AM, Sergey Arlashin > wrote: >> Yesterday I downgraded both puppet to 3.5.1 and pupetdb to 1.6.3, and the >> problem disappeared. Unfortunately this is product

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

2014-05-21 Thread Sergey Arlashin
s get stored in the >>>>> catalogue. >>>>> >>>>> On Wed, May 21, 2014 at 2:45 PM, Phil Fenstermacher >>>>> wrote: >>>>>> I encountered this same issue yesterday, and unfortunately haven't found >>>>>>

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

2014-05-20 Thread Sergey Arlashin
ers to modify. >> >> I am curious 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 >> wrote: >>> Here is described >>

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 wrote: >

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

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

2014-05-19 Thread Sergey Arlashin
tion: Idle timeout expired: 3/3 ms] Error 500 HTTP ERROR: 500Problem accessing /v3/commands. Reason:java.util.concurrent.TimeoutException: Idle timeout expired: 3/3 msPowered by Jetty:// Does anybody know how I can get rid of this error? Thanks in advance! -- Best regar

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

2014-02-01 Thread Sergey Arlashin
: Could not retrieve catalog from remote 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? -- Be

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

2014-02-01 Thread Sergey Arlashin
; /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run' /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute' /usr/bin/puppet:4:in `' Debug: Using cached catalog for dev01.site So this hasn't clarified the situation either. Could anyone please tell

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

2013-11-27 Thread Sergey Arlashin
ompiled catalog for db-node2.site in environment production 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 wrote: > Hi, > > no good then.

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

2013-11-27 Thread Sergey Arlashin
catalog run in 0.06 seconds Best regards, Sergey Arlashin On Nov 27, 2013, at 3:00 PM, Felix Frank 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 { "

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

2013-11-27 Thread Sergey Arlashin
s Notice: Finished catalog run in 0.08 seconds # cat /etc/shadow |grep ^testuser testuser:$6$.JNdUYPK$KUcfD3urk5290LvluOE.wnCKoEibMqd2.uiT/X0ezS29JaXfk4T9K57ea/6mSU7Z/8ppi8IiNNV7bkVYc5p0s0:16036:0:99999:7::: -- Best regards, Sergey Arlashin On Nov 27, 2013, at 2:32 PM, Felix Frank wrote: >

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

2013-11-26 Thread Sergey Arlashin
ithout any problems. Is this a normal 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

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 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: > > https://groups.google.com/d/msg/puppet-users/jHcuKQXT9cQ/g23Lmf4e6b8J > > > > > Bu

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

2013-11-20 Thread Sergey Arlashin
is changed, your code will be executed. -- Best regards, Sergey Arlashin On Nov 20, 2013, at 6:18 PM, Aravind Valluru wrote: > Hi, > > I have created a puppet module that performs below steps: > > 1. stop application service > 2. take backup of existing application > 3. do

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

2013-11-19 Thread Sergey Arlashin
keys? -- 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 o

Re: [Puppet Users] Puppet: Custom functions

2013-11-18 Thread Sergey Arlashin
ypes 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! >>

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

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

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

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

2013-09-26 Thread Sergey Arlashin
error like 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. T

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

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-17 Thread Sergey Arlashin
> Class["class1"] -> class { "class2": } -> class{ "class3" } >} >else { > Class["class1"] -> class { "class3": } >} >Class["class3"] -> >class { "class4": }

Re: [Puppet Users] Puppet: chaining and conditionals

2013-08-15 Thread Sergey Arlashin
s3": } -> > class { "class4": } > } else { > class { "class1": } -> > class { "class3": } -> > class { "class4": } > } > } > > > -- Arthur Furlan > > > On Thu, Aug 15, 2013 at 2:1

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

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

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

2013-08-09 Thread Sergey Arlashin
I'm using 3.2 without hiera backend and have never tried to iterate over a hash in 2.7. So you can try and report the result :) -- Best regards, Sergey Arlashin On Aug 9, 2013, at 8:16 PM, Simon Hönscheid wrote: > thanks, that looks great! > does that work with 2.7.x with stored

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

2013-08-09 Thread Sergey Arlashin
] testmod::bar {$foo:} define testmod::bar () { $var1 = $name["addr"] $var2 = $name["port"] notify {"${var1}_${var2}": } } -- Best regards, Sergey Arlashin On Aug 9, 2013, at 7:47 PM, Simon Hönscheid wrote: > I have an interesting problem an

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 wrote: > I have an interesting problem an I found no solution yet: > > I want puppet to repeat an exec for ev

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 wrote: > Hello, > > I have written a module to add user and it does work with one user. But if I >

[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 { e