Re: [Puppet Users] Finally found workaround for problem with German windows clients

2014-02-03 Thread Josh Cooper
Hi Andy, On Wed, Jan 29, 2014 at 10:28 AM, Andy Spiegl wrote: > Following up on my own post: > > > One has to patch this file (on ALL client PCs!): > > C:/Program Files (x86)/Puppet Labs/Puppet/facter/lib/facter/timezone.rb > > > > + Iconv.iconv("UTF-8", "win

Re: [Puppet Users] Help changing a power shell to Puppet types and providers

2014-02-03 Thread Josh Cooper
On Thu, Jan 30, 2014 at 12:15 PM, Atse Tewodors wrote: > Due to the run time issue with puppet/ruby calling powershell windows > update and i could nt be able to open the zip file http://forge. > puppetlabs.com/liamjbennett/windows_autoupdate > On your Windows host, type: C:\>puppet module ins

[Puppet Users] Re: Error 400 on SERVER: Not authorized to call find AND Error 403 on SERVER: Forbidden request: client2.puppet.com

2014-02-03 Thread jyotir bhandari
Hi Resolved issue, mistake at my end was a typo error in auth.conf path /file was path /files Jyotir On Monday, 3 February 2014 15:08:08 UTC+5:30, jyotir bhandari wrote: > > Hi > > I am trying to transfer shell file via fileserver in pupper, but i am > continuously getting the mentioned e

Re: [Puppet Users] Port for ENC requests?

2014-02-03 Thread John Warburton
On 4 February 2014 09:00, Jon Yeargers wrote: > I'm trying to debug a new ENC setup. I created a short perl script to > output a few lines of YAML. It runs fine on the puppet server but when I > try it on a client I get this error: > > Warning: Error 400 on SERVER: Failed to find client.domain.or

Re: [Puppet Users] Question: performing actions based on user account being present

2014-02-03 Thread Matthew Reams
Jose / John - Yeah, I didn't think it quite through. After reading some of your suggestions, I think I'm going to try to do the following in my postfix manifest service { 'postfix': enable => $postfix::enablestatus, ensure => $postfix::ensurestatus, } In Heira global.yaml, have those variabl

[Puppet Users] Port for ENC requests?

2014-02-03 Thread Jon Yeargers
I'm trying to debug a new ENC setup. I created a short perl script to output a few lines of YAML. It runs fine on the puppet server but when I try it on a client I get this error: Warning: Error 400 on SERVER: Failed to find client.domain.org via exec: Execution of the '/etc/puppet/ENC/plug0.pl

Re: [Puppet Users] puppet jobs list?

2014-02-03 Thread Denmat
The puppet list allows you to posts jobs to the list. You needs to include [JOBS] in the subject line so people who aren't looking can skip it. > On 4 Feb 2014, at 0:20, Jason Antman wrote: > > Thanks to both Chris and Peter for their tips/advice. > > I'm familiar with the ThoughtWorks DevOps

[Puppet Users] Announce: Facter 1.7.5-rc2 now available

2014-02-03 Thread Melissa Stone
**Release Candidate** Hiera 1.7.5-rc2 --- *Pre-release*: Facter 1.7.5 is not yet released. - RC1: January 21, 2014. - RC2: February 3, 2014 Facter 1.7.5-rc2 Downloads -- Source: https://downloads.puppetlabs.com/fact

[Puppet Users] Re: Using Virtual Resources and create_resource combination

2014-02-03 Thread CD
Thanks for the information John. On Friday, January 24, 2014 1:23:43 AM UTC+11, jcbollinger wrote: > > > > On Wednesday, January 22, 2014 8:19:15 PM UTC-6, CD wrote: >> >> Hi John, >> >> Thanks a lot for the information. I checked the variables and could not >> find anything defined twice. >> >>

Re: [Puppet Users] Get Facter Facts for Previously installed module

2014-02-03 Thread Cristian Falcas
Hi, I learn how to do providers from this puppet book, for which you have to pay unfortunately: http://www.amazon.com/Puppet-Types-Providers-Dan-Bode/dp/1449339328 Cristian Falcas On Mon, Feb 3, 2014 at 7:00 PM, Trevor Vaughan wrote: > See if this helps: > https://www.onyxpoint.com/type-and-p

[Puppet Users] Openstack and PuppetsLabs Integeration Erros

2014-02-03 Thread Haleema Sadia
Hey all, I have been trying to figure out this error for a while now, I am new to all this (Openstack, Puppet and Openstack) so please bear with me. I have nstalled Puppet Master and Puppet Agent just fine and added an ntp server to my Agent. But when I tried to integrate Openstack with Puppet

[Puppet Users] Re: openstack-puppet mailing list

2014-02-03 Thread Haleema Sadia
Hey, Does this group still exists? Because I am trying to install openstack with puppet.. and I have quite a few problems that I have been trying to figure out from the past week and I am stuck! I am a college student and my final year project is based on openstack.. really need help! Jzk. T

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread José Luis Ledesma
Then just setup a class and include it on the ENC node definition. Regards, El 03/02/2014 19:51, "Jon Yeargers" escribió: > So if a given node is named in both an ENC and the site manifest... it > will use both? IE If I have some definitions that I want to send everywhere > and others that are n

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread Jon Yeargers
So if a given node is named in both an ENC and the site manifest... it will use both? IE If I have some definitions that I want to send everywhere and others that are node specific.. I can use both types of node entries? On Monday, February 3, 2014 10:14:52 AM UTC-8, Dan Bode wrote: > > > > > On

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread Dan Bode
On Mon, Feb 3, 2014 at 9:45 AM, Jon Yeargers wrote: > Right. So how would I declare this dependency setup if I stop using node > files? > Even if you use an ENC, Puppet will still consult your site manifest, so using an ENC does not preclude you from setting resource dependencies via collection

[Puppet Users] Re: how can I test and fix all cert and puppetdb requirements

2014-02-03 Thread Anup Singh
Hi Rahul, Please delete your entry ASAP. -- 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 t

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread José Luis Ledesma
You could set up this on the package class for example, although I don't know the "best practices" what say about that. Regards El 03/02/2014 18:45, "Jon Yeargers" escribió: > Right. So how would I declare this dependency setup if I stop using node > files? > > On Monday, February 3, 2014 9:33:4

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread Jon Yeargers
Right. So how would I declare this dependency setup if I stop using node files? On Monday, February 3, 2014 9:33:40 AM UTC-8, Jose Luis Ledesma wrote: > > Hi > > Perhaps I'm confused but an ENC stores node definition and not collector > nor dependencies...doesn't it? > > Regards, > El 03/02/201

Re: [Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread José Luis Ledesma
Hi Perhaps I'm confused but an ENC stores node definition and not collector nor dependencies...doesn't it? Regards, El 03/02/2014 16:13, "Jon Yeargers" escribió: > I need to convert my resource based system to ENC. It's mostly > straightforward but I'm not sure how to handle operations like th

Re: [Puppet Users] Get Facter Facts for Previously installed module

2014-02-03 Thread Trevor Vaughan
See if this helps: https://www.onyxpoint.com/type-and-provider-execution-walkthrough/ There is a full demo type and provider linked at the bottom of the page. Trevor On Mon, Feb 3, 2014 at 10:34 AM, Ralph Bolton wrote: > Custom Providers look interesting, although I can't immediately find a >

[Puppet Users] Re: Error: undefined method `gsub' for nil:NilClass

2014-02-03 Thread jcbollinger
On Friday, January 31, 2014 12:44:07 PM UTC-6, Juan Pablo Daniel Borgna wrote: > > Hi guys, can you give me a hint on this? > > Thanks! > > Debug: Executing '/sbin/sysctl -n net.ipv4.ip_local_port_range' > Error: undefined method `gsub' for nil:NilClass > Error: > /Stage[main]/Spotflux_pweb::Sy

Re: [Puppet Users] Get Facter Facts for Previously installed module

2014-02-03 Thread Ralph Bolton
Custom Providers look interesting, although I can't immediately find a good example to work from (it just me, or is the puppetlabs doco weirdly confusing?). I guess it just matters when the provider is evaluated - if it's evaluated on first use, then I can make this work. Thanks for the suggest

Re: [Puppet Users] Question: performing actions based on user account being present

2014-02-03 Thread jcbollinger
On Saturday, February 1, 2014 3:06:37 AM UTC-6, Jose Luis Ledesma wrote: > > I think there are two options. > 1. Make use if hiera. If you don't have a lot of zimbra servers could be > the best option, but you should maintain this manually. > 2. A custom fact that reports if the server has zimbr

[Puppet Users] Re: call exec into another class as a variable / how to get output of shell echo $(($(date +%s) / 60 / 60 / 24)) into variable

2014-02-03 Thread jcbollinger
On Sunday, February 2, 2014 10:54:00 AM UTC-6, Alan Castro wrote: > > Why don't you use inline_template and call a ruby function that returns > what you want? > > Or use the generate() function, which would not require translating the command into Ruby (but might require wrapping it in "bash -c

[Puppet Users] ENC - how to set order of operations?

2014-02-03 Thread Jon Yeargers
I need to convert my resource based system to ENC. It's mostly straightforward but I'm not sure how to handle operations like these: Class['apt'] -> Package<| |> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group a

[Puppet Users] Re: Error 400 on SERVER: Not authorized to call find AND Error 403 on SERVER: Forbidden request: client2.puppet.com

2014-02-03 Thread jyotir bhandari
Hi I have made changes in auth.conf and fileserver.conf for plugins, still it is not working *auth.conf* path /plugins allow * *fileserver.conf* [plugins] allow * *puppet.conf *on master [main] pluginsync = true *Error on client :* Debug: file_metadata supports formats: pson msgpack b

Re: [Puppet Users] puppet jobs list?

2014-02-03 Thread Jason Antman
Thanks to both Chris and Peter for their tips/advice. I'm familiar with the ThoughtWorks DevOps hiring presentation Yes, cultivating talent is good preferred. We've already got some good puppet knowledge on the team; we're not so much looking to hire "because we need Puppet knowledge" as we're

[Puppet Users] Re: Puppet Enterprise Answers file install and Policy based autosign

2014-02-03 Thread Eric Sorenson
Hi Adam, this is really interesting work, thanks for trying out this feature. I'm a little confused though, the certificate autosigning just entered upstream open-source Puppet in 3.4.0 and there's not a Puppet Enterprise version that ships it yet. Did you install it separately or something?

[Puppet Users] Re: call exec into another class as a variable / how to get output of shell echo $(($(date +%s) / 60 / 60 / 24)) into variable

2014-02-03 Thread Alan Castro
Why don't you use inline_template and call a ruby function that returns what you want? On Saturday, February 1, 2014 12:15:37 PM UTC-4, jyotir bhandari wrote: > > Hi > > I have date as shell command 'echo $(($(date +%s) / 60 / 60 / 24))', I > want to call this command in parameter of puppet modu

[Puppet Users] Daily Digest setting

2014-02-03 Thread samra40390
I need to enable daily digest setting for receiving emails. Dont want to be receiving individual emails. I am not using gmail address. So not sure how to enable daily digest setting. any suggestion ? thanks Sam -- You received this message because you are subscribed to the Google Groups "Pupp

[Puppet Users] Puppet Enterprise Answers file install and Policy based autosign

2014-02-03 Thread Adam Clark
Hi all, I am trying to proof of concept an automated install of Puppet Enterprise using policy based autosign. I have read the following documents and understand what I need to do http://docs.puppetlabs.com/puppet/latest/reference/ssl_autosign.html#policy-based-autosigning http://docs.puppetlab

Re: [Puppet Users] Get Facter Facts for Previously installed module

2014-02-03 Thread Cristian Falcas
Hi, You could try to implement a provider for this. This will also let you run custom code on the machine and you can run it after you have your modules do their work. Falcas Cristian On Mon, Feb 3, 2014 at 1:35 PM, Ralph Bolton wrote: > Hi, > > I have a module called system_info which sets a

[Puppet Users] Get Facter Facts for Previously installed module

2014-02-03 Thread Ralph Bolton
Hi, I have a module called system_info which sets a custom fact based on some company-specific details about the host. For example, it might set something like this: system_info_rack_number=27 (This fact is set by a lib/facter/system_info.rb bit of Ruby code, although the same is true if I se

[Puppet Users] Re: Using new trusted data certname in hiera

2014-02-03 Thread Carlos Sanchez
Thanks Eric, I didn't know that hiera would choose the file to apply after evaluating the variables in site.pp. That worked On Sunday, February 2, 2014 8:37:04 AM UTC+1, Eric Sorenson wrote: > > This doesn't currently work, unfortunately. Hiera needs an update to > support that hash interpolati

[Puppet Users] Error 400 on SERVER: Not authorized to call find AND Error 403 on SERVER: Forbidden request: client2.puppet.com

2014-02-03 Thread jyotir bhandari
Hi I am trying to transfer shell file via fileserver in pupper, but i am continuously getting the mentioned error. *fileserver.conf* [files] path /etc/puppet/files allow * *auth.conf* path ~ ^/file_(metadata|content)/files/ auth yes allow /^(.+\.)?puppet.com$/ allow_ip 192.168.1.0/24