[Puppet Users] Re: Changes coming to puppet docker containers!

2018-04-18 Thread Felix Barbeira
Nice to hear that! I can't wait to see the puppetserver officially running in k8s! El jueves, 19 de abril de 2018, 0:01:55 (UTC+2), Morgan Rhodes escribió: > > Hello, > > I’m excited to announce that work is starting on a project to provide > supported docker containers running the Puppet Platfo

Re: [Puppet Users] using generated query string in a collector

2016-04-11 Thread Felix Frank
_tags) { collect_my_stuff { $collect_tags: } } Untested, as always ;-) HTH, Felix -- 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+unsub

Re: [Puppet Users] Need hide execution window on Windows Scheduled Tasks

2016-03-23 Thread Felix Frank
Hi, if Puppet does not allow you to specify this preference, you could file it as a feature request. https://tickets.puppetlabs.com/ The Windows devs at PL are quite crafty, you might get a patch faster than you think ;-) Cheers, Felix ( - throwing friends under the bus since 2013 ) On

Re: [Puppet Users] Custom type, relationship and fetch order

2016-03-02 Thread Felix Frank
orry about duplicates, Puppet will prune those for you.) HTH, Felix On 03/02/2016 02:23 PM, Thomas Champagne wrote: Thanks for answering Felix, I solve some problems with require/before parameters in the manifest. I create a new type (user_group) that define link between user and group. The p

Re: [Puppet Users] Puppet Facter AWS

2016-02-27 Thread Felix Frank
Hi, could you please elaborate a bit on your issue? I do not quite understand what you are trying to do, and how you are currently failing. Thanks, Felix On 02/24/2016 12:37 AM, Gowtham P R wrote: Hi All, I am not able to figure out how to replace "mac address value" with

Re: [Puppet Users] Re: Help needed - I'm very new to puppet

2016-02-27 Thread Felix Frank
t's pricey (can your employer buy it for you?), but it will take you through a series of rapid steps to get productive. If you go for it, please let me know what you think! Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

Re: [Puppet Users] Custom type, relationship and fetch order

2016-02-27 Thread Felix Frank
meters in your manifest. HTH, Felix On 02/19/2016 10:43 AM, Thomas Champagne wrote: Hi, I try to develop a new module to deploy resources with an API REST. But I have problems to define relationship between two resources. I haven't problem to fetch and flush resource individually. This two

Re: [Puppet Users] facter doesn't show custom facts?

2016-02-23 Thread Felix Frank
nd uses its API directly. Invoking `facter` from the shell uses the same fact code, but without the Puppet context. In other words, Facter *can* stand on its own, but with Puppet, you mostly call it *through* Puppet. (Or pass the -p flag, so that Facter loads Puppet's facts vice versa.) HTH,

Re: [Puppet Users] Announce: A REPL for the puppet language

2016-02-21 Thread Felix Frank
Cool, thanks for sharing! I will mark this and try to check it out "soon". Cheers, Felix On 02/20/2016 12:04 AM, Corey Osman wrote: Hi, I created a REPL for the puppet language this week. This is something that has been lacking for quite some time. https://github.com/nwops/p

Re: [Puppet Users] firewall module to accept array of sources/dests

2016-02-20 Thread Felix Frank
On 02/19/2016 04:00 AM, Alex Harvey wrote: So I think I'll call it: firewall_multi It will basically accept any parameter that firewall accepts and pass it straight through to the firewall resource, unless that parameter is the source or destination, in which case it will of course loop thro

Re: [Puppet Users] SSL Error when connecting agent to master

2016-02-17 Thread Felix Frank
, please report your findings, cheers, Felix On 02/12/2016 05:35 PM, cmiller76 wrote: Hi, Disclaimer... I am fairly new to Puppet. :) I have a puppet master server and a separate CA Server setup in my Puppet infrastructure. This infrastructure is running Puppet version 3.8.4 and has been running

Re: [Puppet Users] Puppet 4, Windows and providers.

2016-02-17 Thread Felix Frank
$vardir, but I'm not sure.) HTH, Felix On 02/12/2016 12:55 PM, Philip Wigg wrote: Hi, I am trying to use the puppetlabs-dsc module on Windows 2012r2. I have WMF5 installed on the Windows guest. I am trying to get this working using Vagrant but I'm not actually using the vagrant provi

Re: [Puppet Users] v3 agent to v4 master ssl issue

2016-02-17 Thread Felix Frank
st be your issue. And yes, you will have to re-certify your infrastructure for the upgrade if this is the case. Cheers, Felix On 02/11/2016 11:02 PM, Christopher Wood wrote: Update is that I still don't know why this happened, but I know what I should not do when I go to convert the

Re: [Puppet Users] Problems testing branching using rspec-puppet with hiera

2016-02-16 Thread Felix Frank
the whole Hiera dance (it's supposed to be a unit test, after all - you're grazing integration test level there). HTH, Felix On 01/27/2016 11:27 PM, jwilki...@gmail.com wrote: Hi all! I've been banging my head against this for the past couple of days and I'm pretty stu

Re: [Puppet Users] firewall module to accept array of sources/dests

2016-02-13 Thread Felix Frank
ild that module, but please make sure to plaster its documentation with warnings ;-) Cheers, Felix -- 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 e

Re: [Puppet Users] Puppet/Puppetboard throwing error 'Internal Server Error'

2016-02-12 Thread Felix Frank
OK, but seriously, what's it saying? Also, can you connect to localhost:8080 with netcat? With curl? Cheers, Felix On 02/12/2016 08:56 AM, Manoj Kumar wrote: yess I can see that too Thanks and Regards, Manoj Kumar OK, next debugging step: What's the output of `ss -tlnp |

Re: [Puppet Users] firewall module to accept array of sources/dests

2016-02-12 Thread Felix Frank
pective rules will remain orphaned, which is not what the user will expect. Cheers, Felix -- 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+un

Re: [Puppet Users] German Umlauts in Catalog

2016-02-12 Thread Felix Frank
Hi Lindsey, good find, interesting stuff. Not sure if that's the one, but it seems to make it clear that non-ASCII is only really supported in 4.3.3 and newer, or so I suppose. Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] Puppet::Type.newtype create_resource with notify

2016-02-11 Thread Felix Frank
nsure => running } | Any hints what im missing? Well...your manifest does *not* establish a notify relationship between those resources. How about a ~> arrow between them? Or a `notify => Service['test-service']` parameter for the asd resource? HTH, Felix -- You recei

Re: [Puppet Users] How to install tomcat silenlty using puppet on Windows 7

2016-02-11 Thread Felix Frank
lling tomcat v8.0.30 on windows system', } } Hi, where did you create that `class apache`? Ideally, you should put it into a custom module such as 'site' or 'local' and call it local::apache. It might even go into your profiles module as profile::apache. Have you co

Re: [Puppet Users] Prefetch in custom types in Puppet v4?

2016-02-11 Thread Felix Frank
will take care of creating these methods, and/or make that very simple. Thoughts? Cheers, Felix -- 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 p

Re: [Puppet Users] Puppet/Puppetboard throwing error 'Internal Server Error'

2016-02-11 Thread Felix Frank
On 01/27/2016 07:59 AM, Manoj Kumar wrote: Yes, puppetdb is running :( OK, next debugging step: What's the output of `ss -tlnp | grep :8080` ? Thanks, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

Re: [Puppet Users] German Umlauts in Catalog

2016-02-11 Thread Felix Frank
ids?) and might just look into that. (Eventually.) Cheers, Felix -- 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...@googl

Re: [Puppet Users] Schedule Vcsrepo to sync local with remote

2016-02-11 Thread Felix Frank
dically is...cron. :-) HTH, Felix -- 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

Re: [Puppet Users] Overriding class parameters within Foreman

2016-02-11 Thread Felix Frank
iable called $dhcp_dnsdomain to the node will not help. It must be added to the class. Perhaps you can share a screenshot? Cheers, Felix -- 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] firewall module to accept array of sources/dests

2016-02-11 Thread Felix Frank
rre semantic tricks. So my advice is to open a PR as soon as possible, even if the feature does not work yet, just to showcase your approach and gather the feedback you came seeking here. HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Use

Re: [Puppet Users] Issues with example42/php::augeas or with augeas in general

2016-02-11 Thread Felix Frank
tever your usual invocation is, but with an added --debug flag. Thanks, Felix -- 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...@g

Re: [Puppet Users] does puppet get download of a server ftp?

2016-02-09 Thread Felix Frank
Hi, Puppet cannot directly use FTP servers with the file{} resource. You can install a module for this purpose, however. This one is a good choice: https://forge.puppetlabs.com/puppet/archive Hope that helps, Felix On 02/03/2016 12:32 PM, victor.v...@ecxus.com.br wrote: Hello, I'

Re: [Puppet Users] Error applying a catalog when the agent is restarted in the middle of a catalog run

2016-02-07 Thread Felix Frank
possible and report this as a bug In fact, a simple reproduction would go a long way on its own - I will offer to take a crack at the issue if you can provide the instructions. HTH, Felix On 01/14/2016 10:33 AM, César wrote: Hi all, we have seen the following error when the puppet agent is

Re: [Puppet Users] Is puppet (apply) supposed to work fine on one non-english windows?

2016-02-07 Thread Felix Frank
it fail? Can you share the error message? Please also make a run of puppet agent with an added --trace flag and share the full output including stack traces. Thanks, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscr

Re: [Puppet Users] puppet cert list yields no certs

2016-02-07 Thread Felix Frank
On 02/07/2016 04:56 PM, Felix Frank wrote: Hi, is this issue still unresolved? Ah, ignore please - getting back in the game, getting used to Thunderbird (or Google Groups) breaking the threading on occasion :) -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] puppet cert list yields no certs

2016-02-07 Thread Felix Frank
Hi, is this issue still unresolved? On 01/08/2016 12:41 AM, Matt Zagrabelny wrote: On Thu, Jan 7, 2016 at 5:35 PM, Peter Kristolaitis wrote: Apparently I was a little too quick on the send button. :( To continue my previous email: Does 'puppet cert list --all' show any certs at all? Yep:

Re: [Puppet Users] hieradata in add mode

2016-02-07 Thread Felix Frank
ngs and final design with the list. Thanks! Felix On 01/06/2016 11:09 PM, Albert Shih wrote: Hi, I'm asking something maybe stupid but well... I've got a hieradata - common.yaml - hostname.yaml I would like to have in common.yaml users_list : - user1 user1_ssh_

Re: [Puppet Users] Facter 3 and Puppet 3.8.2

2016-02-07 Thread Felix Frank
heers, Felix On 01/06/2016 09:02 AM, Costya Regev wrote: Hi, I would like to know if i can install facter 3 with puppet version of 3.8.2 ? Thanks, Costya. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

Re: [Puppet Users] What I think that is needed for a practical Puppet class

2016-02-07 Thread Felix Frank
help, if it weren't for all the things on the plate already. Also please do keep us posted with your developments in that direction. Cheers, Felix On 01/02/2016 12:13 PM, Martin Alfke wrote: Hi Rudy, Great idea and work! I really appreciate supporting less advanced countries. Maybe you

[Puppet Users] Re: connecting puppet servers to puppet db

2015-10-27 Thread Felix Barbeira
It happens the same to me. root@:/etc/puppetlabs/puppet# puppet agent -t Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Could not retrieve facts for server.com: Failed to find facts from PuppetDB at puppet:8140: Failed to execute '/pd

Re: [Puppet Users] how were your puppet 3->4 upgrades?

2015-08-27 Thread Felix Barbeira
Same here. El miércoles, 26 de agosto de 2015, 15:45:07 (UTC+2), Pete Harvey escribió: > > On 26 August 2015 at 09:16, Fabrice Bacchella > > wrote: > > My biggest problem: there isn't any working dashboard working with > Puppet 4. > > This. Our upgrade to 4 is essentially blocked until Foreman

[Puppet Users] Puppetlabs official docker images

2015-08-04 Thread Felix Barbeira
This question is for the "Puppetlabs" guys, do you have any plans to provide official base images for puppetserver, puppetdb, etc ?? -- 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 i

Re: [Puppet Users] Re: Advice on Puppet update to 4

2015-07-24 Thread Felix Frank
at Foreman. If you need reporting, look at puppetboard or Puppet Explorer. Best, Felix -- 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+uns

Re: [Puppet Users] Re: Advice on Puppet update to 4

2015-07-22 Thread Felix Frank
n-puppet-server-21 > > - Kevin Mind. Blown. No really, that is great news! Thanks, Felix -- 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-user

Re: [Puppet Users] Re: Advice on Puppet update to 4

2015-07-21 Thread Felix Frank
such, I'd advise to try and not throw it in with other changes. Cheers, Felix -- 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+unsubsc

Re: [Puppet Users] Newbie question regarding the file resource

2015-07-20 Thread Felix Frank
te.conf Your reasoning is sound for the most part, but don't create a 'myfiles' module. That's the actual no-no. If you create a module that installs files for the 'mysite' vhost, call it mysite or something along those lines. HTH, Felix -- You received this message

Re: [Puppet Users] Case of the "missing" Ruby file

2015-07-20 Thread Felix Frank
I would create a Gemfile, add puppetlabs_spec_helper to it and run rake through bundler. That should definitely work. HTH, Felix On 07/20/2015 03:39 PM, Peter Berghold wrote: > Hi folks, > > I've bravely stepped out into the world of writing tests for my Puppet > modules to en

[Puppet Users] puppetserver does not sign its certificate

2015-07-19 Thread Felix Frank
After that, puppetserver starts up fine. Am I Doing It Wrong? Feels like a bug. Cheers, Felix -- 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 p

Re: [Puppet Users] Dictating class evaluation order

2015-07-18 Thread Felix Frank
(Tomcat::Instance[reservations]): Could not > look up qualified variable 'tomcat::instance_basedir'; class > tomcat has not been evaluated > Hmm, if the resource declaration is lexically preceded by an 'include tomcat' then this should not happen. In this case, the orde

Re: [Puppet Users] Running the Puppet 4 master from the AIO package (especially passenger/rack)

2015-07-18 Thread Felix Frank
if the Ruby version has at all changed since the 1.0 release. Thanks for the feedback so far. I believe that as long as we retain Rack support, we should make sure that it works out of the box, no? Cheers, Felix -- You received this message because you are subscribed to the Google Group

Re: [Puppet Users] Net::ReadTimeout errors

2015-07-17 Thread Felix Frank
On 07/18/2015 03:20 AM, Tim Dunphy wrote: > Hey Felix, > > thanks, but those aren't the important ones I'm afraid. There > should be > a vhost to bind port 8140. If there is not, please check carefully > which > process is actually listening on t

Re: [Puppet Users] Running the Puppet 4 master from the AIO package (especially passenger/rack)

2015-07-17 Thread Felix Frank
is indeed where I created the rack root.) What I did to get this far without loading errors: * change passenger_ruby to /opt/puppetlabs/... * created puppet user/group * get config.ru from github (current master) * install 'rack' gem in /opt/puppetlabs/... I'm using PC1. Above er

Re: [Puppet Users] Running the Puppet 4 master from the AIO package (especially passenger/rack)

2015-07-17 Thread Felix Frank
On 07/17/2015 10:08 PM, Felix Frank wrote: > Hi list, > > I'm currently trying to get Puppet 4 to work with nginx/passenger. I had > that working with Puppet 3.x pretty well, but the new packaging stumps me. > > For one, the config.ru file is no longer being packaged, app

Re: [Puppet Users] Net::ReadTimeout errors

2015-07-17 Thread Felix Frank
On 07/17/2015 10:37 PM, Tim Dunphy wrote: > > Hi Felix, > > Thanks for getting back to me! And yes, you are correct. > Puppet/Foreman is running through apache/passenger. > > And here's the vhost configurations. There's two of them, one for ssl > and one for no

Re: [Puppet Users] Net::ReadTimeout errors

2015-07-17 Thread Felix Frank
Hi, I'm not very familiar with the puppet/foreman stack, so this might be a silly question, but how is the master set up? Is it running through Apache/Passenger? In that case, can we see the Apache vhost configuration? Thanks, Felix On 07/15/2015 05:12 AM, Tim Dunphy wrote: > Hey all,

Re: [Puppet Users] how to export path in bashrc via puppet script

2015-07-17 Thread Felix Frank
. HTH, Felix On 07/16/2015 06:58 PM, ayya...@orzota.com wrote: > exec { file1: > command => "/bin/echo "export > JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bashrc", > } > } > > > i try to added j

[Puppet Users] Running the Puppet 4 master from the AIO package (especially passenger/rack)

2015-07-17 Thread Felix Frank
issues, but I'd like to gather some feedback first. Has anyone gotten their feet wet with non-puppetserver masters that run 4.x? Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

Re: [Puppet Users] where is PC1 for Debian Jessie?

2015-07-09 Thread Felix Frank
rmed file) > > > The release package for jessie has been updated, and this should no > longer be an issue Hi Melissa, thanks for looking into this! Happy to report that the above error is indeed resolved for me. Best, Felix -- You received this message because you are subscribed to the

Re: [Puppet Users] where is PC1 for Debian Jessie?

2015-07-05 Thread Felix Frank
expected entry 'PC1/source/Sources' in Release file (Wrong sources.list entry or malformed file) No puppetlabs packages come available to apt. Thanks, Felix On 06/09/2015 10:30 PM, Kylo Ginsberg wrote: > Hey all, > > We're planning to release the next puppet-agent drop on Jun

Re: [Puppet Users] Re: Puppet Augeas Provider and augtool

2015-05-19 Thread Felix Frank
On 05/19/2015 01:35 PM, bjoern pohl wrote: > ouch... > just some minor modifications and it works :) > augtool print *'*/files/etc/sudoers/Cmnd_Alias[alias/name = "HOMEMGMT"]' > > not sure what my shell is eating there... perhaps that slash... The quotes, most likely :-) Nice catch. -- You rece

Re: [Puppet Users] fstab dilemma - pounding on file_line and augeas

2015-05-17 Thread Felix Frank
On 10/08/2014 04:20 AM, Dan White wrote: > > > > On Oct 7, 2014, at 4:17 PM, Felix Frank > <mailto:felix.fr...@alumni.tu-berlin.de>> wrote: > >> On 10/07/2014 09:55 PM, Dan White wrote: >>> |Local hardening guidelines say that /usr/local and /var/lo

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Felix Frank
Ah, sorry I missed that earlier: You are compiling the template elsewhere, yes? Because the file resources uses the value of the $ifcfg_template variable. Please also debug the scope of the declaration of that variable. Is it a parameter? HTH, Felix On 05/17/2015 07:41 PM, Adam Winberg wrote

Re: [Puppet Users] cant get variable to show in template (erb)

2015-05-17 Thread Felix Frank
Hi, can you move the notify next to the file resource instead of the variable declaration? It seems most likely that there is some kind of scoping issue. HTH, Felix On 05/16/2015 07:46 PM, Adam Winberg wrote: > Hi, > > trying to populate an ifcfg template (network config) with ipv6

Re: [Puppet Users] Dependencies modules

2015-05-17 Thread Felix Frank
. HTH, Felix On 05/16/2015 01:17 AM, Rafael Tomelin wrote: > Hi people, > > My name is Rafael, i working with puppet, but in small environment. > > I will implement the puppet in large environment. The company has 45 > affiliates and each unit have 1 firewall, 1 proxy, 1 AD, 1 VMWA

Re: [Puppet Users] Hiera single key/value lookup and create_resources for augeas

2015-05-13 Thread Felix Frank
create_resources. With Puppet 4 you can use iteration over the hash instead, so that no data restructuring is necessary. If you are on a recent version of Puppet 3, you can do the same thing using the parser=future setting. HTH, Felix On 05/04/2015 02:56 PM, julien.a...@dayotech.fr wrote: >

Re: [Puppet Users] Preserving single quotes

2015-05-13 Thread Felix Frank
On 05/05/2015 08:25 PM, Marcos Renato wrote: > Hi > > how to add this command line (alias ls='ls --color=auto') to a file > preserving single quotes? > > Thanks, > > Marcos Are you trying to pass this through the content property? -- You received this message because you are subscribed to th

Re: [Puppet Users] client certificate issue

2015-05-13 Thread Felix Frank
Hi, there really is no way for the master to tell directly. The best approach is to enable storing of reports (e.g. in PuppetDB) so that you can monitor agent operation. Afflicted agents do not run and do not report. Tools like Puppet Explorer can indicate this to you very directly. HTH, Felix

Re: [Puppet Users]

2015-04-25 Thread Felix Frank
ng, so Puppet merely *thinks* that it wasn't enabled. Please run with --debug to perhaps get a hint at why the provider fails fetching the current state. HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe fro

Re: [Puppet Users] Open Source 4.0 version identifier vs. very different rpm and dpkg package versions

2015-04-23 Thread Felix Frank
is related to Puppet, but not part of it per se. > # puppetserver --version > puppetserver version: 2.0.0 See above. Hope this clears things up a little. As for your issues with the documentation, would you raise these as bugs in Jira? Cheers, Felix -- You received this message because

Re: [Puppet Users] Running classes in a certain order

2015-04-01 Thread Felix Frank
t will do that when it deems necessary. It just feels kind of risky. An alternative could be an explicit message (via notify resource) that the agent keeps adding to reports until the operator reboots manually. That's just my 2c though. Cheers, Felix -- You received this message beca

Re: [Puppet Users] Re: nodes set to environment 'none'

2015-03-31 Thread Felix Frank
egration with Puppet. HTH, Felix -- 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

Re: [Puppet Users] Trouble with service resource detecting systemd as provider on FC19

2015-03-31 Thread Felix Frank
On 03/31/2015 07:38 PM, Huaqing Zheng wrote: > > appears to have fixed my facter problems but I would recommend using > lsb facts instead in your forge modules going forward. *sigh* such a can of worms. FWIW, last time I looked for those in Debian, they were available only if a certain package (w

Re: [Puppet Users] puppetlabs/concat Problem on Windows

2015-03-27 Thread Felix Frank
On 03/13/2015 03:40 PM, Fraser Goffin wrote: > I am attempting to use the puppetlabs/concat module on Windows, but > having some problems. I just found out that Richard has made an alternative that explicitly does support Windows: https://forge.puppetlabs.com/ispavailability/file_concat -- You

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Felix Frank
On 03/26/2015 07:39 PM, Peter Berghold wrote: > > I guess you can't export such a thing? You can. But your define is not called 'remotemaster'. Perhaps that is the cause of the error. Cheers, Felix -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Creating a list of hosts

2015-03-26 Thread Felix Frank
On 03/26/2015 05:29 PM, Peter Berghold wrote: > > I watched the puppetdb log and it would seem something is being written > to puppetdb and puppetdb is the backend for storeconfigs. Have you tried actually querying the PuppetDB contents? https://docs.puppetlabs.com/puppetdb/latest/api/query/v2/

Re: [Puppet Users] Trouble with service resource detecting systemd as provider on FC19

2015-03-25 Thread Felix Frank
this on the global scope (e.g., site.pp) if $operatingsystem == 'Fedora' and $operatingsystemmajrelease == '19' { Service { provider => 'systemd' } } This sets a resource default if the node in question uses the specified operating system. HTH, Felix On 03/

Re: [Puppet Users] puppetlabs/concat Problem on Windows

2015-03-25 Thread Felix Frank
On 03/13/2015 03:40 PM, Fraser Goffin wrote: > If I look at this file I can see that it indeed does not have read (or > any other) permissions set. > > I tried adding values user, group and mode but to no avail. > > Can anyone suggest what I need to do here ? Shot in the dark: Is the agent running

Re: [Puppet Users] Provider/type with no name

2015-03-25 Thread Felix Frank
chance that the magic you use to generate resource names is subtly non-deterministic? Cheers, Felix -- 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 pupp

Re: [Puppet Users] Puppet device file

2015-03-12 Thread Felix Frank
debugging this, you can 1. run the commands by hand and 2. use the --debug flag to watch Puppet run them HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails fr

Re: [Puppet Users] Inter-node dependency

2015-03-06 Thread Felix Frank
an then orchestrate themselves in a more natural fashion. HTH, Felix -- 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.co

Re: [Puppet Users] Share data between custom functions/resources/providers?

2015-03-06 Thread Felix Frank
e manifests that successfully use these defined types, you can consider if it's worth the effort to implement actual native types and providers to do that work more efficiently (mind you, that effort is substantial in comparison to a manifest-only approach). HTH, Felix -- You received this me

Re: [Puppet Users] Puppet Open Source with own Certificates

2015-03-06 Thread Felix Frank
wing, and indicate where you stumbled? Thanks, Felix -- 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 di

Re: [Puppet Users] puppet 2.7.26 certificate verify failed master and client the same

2015-03-06 Thread Felix Frank
Hi, on the agent, try puppet agent --configprint server It likely indicates the FQDN of the old master. Change your puppet.conf accordingly, so that the new FQDN is used instead. [main] server=gso0puppet01... HTH, Felix On 03/04/2015 05:35 PM, Ed Deloye wrote: > I am building a new pup

Re: [Puppet Users] Order class with parameter

2015-03-06 Thread Felix Frank
x27;m still a little confused as to how the yum module works, especially the repoIcinga parameter. Anyhow, since you seem to rely on `contain`, this dependency should do the right thing. HTH, Felix On 03/06/2015 11:27 AM, Thomas Bendler wrote: > Hi Felix, > > it's on the forge

Re: [Puppet Users] External Facts in //facts.d/

2015-03-05 Thread Felix Frank
On 03/05/2015 11:55 PM, Dan White wrote: > --external-dir=/var/lib/puppet/facts.d/ Ah. Good catch! > It is not a bug. It is an Undocumented Feature :D Hah! Well I'm not convinced. UX bugs are still issues. Cheers, Felix -- You received this message because you are subscribed to

Re: [Puppet Users] Can't remove depreciated warning message

2015-03-05 Thread Felix Frank
On 02/09/2015 05:54 AM, David LeVene wrote: > > Any suggestions as to where to look next? Hi, in case you're still struggling with this - you can try and locate the catalog (in $vardir/client_yaml) and examine the package resources for starters. Good luck, Felix -- You received t

Re: [Puppet Users] External Facts in //facts.d/

2015-03-05 Thread Felix Frank
Hi Dan, interesting, I think I can reproduce, with facter 2.4.1. Might be a bug. I observe `puppet agent` opening my $vardir/facts.d files (through strace), but not `facter -p`. Cheers, Felix On 02/09/2015 05:41 PM, Dan White wrote: > Puppet 3.7.3 > Facter 2.3.0 > running

Re: [Puppet Users] Order class with parameter

2015-03-05 Thread Felix Frank
esource right in the icinga::package class? Can you make the whole module visible somewhere, or at least a rough sketch of it? Thanks, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop rece

Re: [Puppet Users] Share data between custom functions/resources/providers?

2015-03-05 Thread Felix Frank
in the interface design phase? Will Puppet do anything besides generating XML? Do you have any code to do this already? Thanks, Felix On 03/05/2015 03:22 PM, Nick Howes wrote: > Hello, > > I am trying to define something that would let me do this, or > something like it: >

Re: [Puppet Users] Provider throwing errors

2015-03-03 Thread Felix Frank
-trace to confirm your suspicion. HTH, Felix -- 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

Re: [Puppet Users] Defining custom type with a mandatory property

2015-03-01 Thread Felix Frank
== :absent raise ArgumentError, "'bp' property is mandatory" end end end HTH, Felix On 02/10/2015 11:15 AM, Angel L. Mateo wrote: > Hello, > > I'm trying to create my own custom type according to guide at > http://garylarizza.com/blog/2013/12/15/

Re: [Puppet Users] Problem installing kernel from backports

2015-03-01 Thread Felix Frank
4b81b41382/manifests/force.pp#L55 HTH, Felix On 02/24/2015 01:33 PM, Jochen Häberle wrote: > Hi, > > I am having problems installing a kernel from backports on Debian Wheezy with > Puppet 3.7.4 > > I am using puppetlabs/apt to manage Debian repositories and have the > followin

Re: [Puppet Users] Quick question about types/providers

2015-03-01 Thread Felix Frank
Can you make your code available somewhere, so that we can reproduce? Generally, I'd like to second John's general advice: Do restart your Puppet processes to make sure that changes to your Ruby code take effect. Best, Felix On 02/27/2015 09:22 PM, Peter Berghold wrote: > I think

Re: [Puppet Users] Exec on a node causing action on another node?

2015-02-27 Thread Felix Frank
e fact value and can decide to *export* an exec resource to whomever is expected to take action. Just so we're clear, if this is meant to refresh *puppet* certificates, then you are likely running in futile circles, or opening yourself up to grave security implications. HTH, Felix -- You re

Re: [Puppet Users] Quick question about types/providers

2015-02-27 Thread Felix Frank
On this higher level, your assertion should hold true. But I'm not sure if that's what you were asking. HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails fr

Re: [Puppet Users] Re: how to prevent certificate revocation list (CRL) from expiring

2015-02-09 Thread Felix Frank
e > CRL, but I like the fact that Puppet checks it by default. This is actually an issue with the CA, from my point of view. It should really specify next update times that are sufficiently late after the actual update, so that SSL clients don't run a risk of hitting that time window. P

Re: [Puppet Users] user creation in puppet nodes through PUPPET Master

2015-01-20 Thread Felix Frank
On 01/20/2015 03:45 PM, Johan De Wit wrote: > http://puppetlabs.com/download-learning-vm > > Enjoy the journey Beat me to the punch. See you soon, Johan! Best, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To un

Re: [Puppet Users] Override facts from facter

2015-01-19 Thread Felix Frank
On 01/12/2015 03:55 PM, Felix Frank wrote: > I think the issue is that facter/util is not supposed to be pluggable > this way. Custom facts live in lib/facter/*.rb and that's the extent of > it. I may be mistaken, but it seems consistent to me that this will not > work. Hi,

Re: [Puppet Users] Conditional Require For File Type

2015-01-14 Thread Felix Frank
o = 'Class["a"]' The above string is not blessed into a class reference when used as the value for an ensure parameter (apparently). Not quoting it makes no difference. This should work: $foo = "a" File["/path/to/file"] { require => Class[$foo] } HTH, Felix --

Re: [Puppet Users] Re: Rootless Puppet

2015-01-14 Thread Felix Frank
t you can have a multitude of agents sharing the same host, each with individual configuration and data. HTH, Felix -- 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,

Re: [Puppet Users] ordering ressopurces in defined types

2015-01-12 Thread Felix Frank
ore generic way to seperate data from code. > but anyway - thanks > > > 2015-01-12 19:18 GMT+01:00 Felix Frank <mailto:felix.fr...@alumni.tu-berlin.de>>: > > On 01/12/2015 05:03 PM, Michael Wörz wrote: > > Solved - tags do the job >

Re: [Puppet Users] ordering ressopurces in defined types

2015-01-12 Thread Felix Frank
ts'] > create_resources(mountentry,$m) > Notify <| tag == 'mount1' |> -> Notify <| tag == 'mount2' |> > } Nice one, but you can even simplify. Mountentry<| title == '1_usr_sap' |> -> Mountentry<| title == '2_usr_sap_lmp

Re: [Puppet Users] Override facts from facter

2015-01-12 Thread Felix Frank
e. Please let us know if you manage to build something like this on your own in the meantime :-) Cheers, Felix -- 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 agent question

2015-01-11 Thread Felix Frank
On 01/10/2015 06:51 PM, Brian Lock wrote: > If the puppet agent isn't running on a server and you issue the > command sudo /etc/init.d/puppet stop, and you have also disables > execute access on the file /etc/init.d/puppet by chmod -x , why does > puppet run from the master at its pre-prescribed t

  1   2   3   4   5   6   7   8   9   10   >