[Puppet Users] Can I store RPM's on the Puppet Server to install on agents ?

2022-09-29 Thread 'White, Daniel E. (GSFC-770.0)[AEGIS]' via Puppet Users
Currently running PE 2021.4 on RHEL 8 We have a few assorted vendor supplied RPMs that are not available from a proper repository. Is it possible to place the RPM on the PE Server somewhere so that it can be installed with a URL to it ? -- You received this message because you are subscribed

Re: [Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ?

2022-03-21 Thread 'White, Daniel E. (GSFC-770.0)[NICS]' via Puppet Users
The command “puppetserver gem list” does not list “ruby-shadow” How do I get a list of agent side gems, please ? __ Daniel E. White daniel.e.wh...@nasa.gov<mailto:daniel.e.wh...@nasa.gov> NASCOM

Re: [EXTERNAL] [Puppet Users] Re: Ruby gem-ruby-shadow RPM on RHEL 8 ?

2022-03-21 Thread 'White, Daniel E. (GSFC-770.0)[NICS]' via Puppet Users
Ny use case is https://puppet.com/docs/puppet/7/types/user.html#user-provider-useradd From: Puppet-Users Mailing List on behalf of Corey Osman Reply-To: Puppet-Users Mailing List Date: Friday, March 18, 2022 at 18:20 To: Puppet-Users Mailing List Subject: [EXTERNAL] [Puppet Users] Re: Ruby

[Puppet Users] Ruby gem-ruby-shadow RPM on RHEL 8 ?

2022-03-17 Thread 'White, Daniel E. (GSFC-770.0)[NICS]' via Puppet Users
Will the rubygem-ruby-shadow RPM from EPEL work with PE 2021.4 instead of installing the gem ? The command “puppetserver gem install ruby-shadow” fails, telling me I need to install development tools. I can do that for the test-lab instance, but not in production. Thanks. -- You received this

[Puppet Users] Problems with Forge Module puppet-firewall on RHEL 8.5

2022-03-14 Thread 'White, Daniel E. (GSFC-770.0)[NICS]' via Puppet Users
I just copied from the modules code samples. What does this parameter do ? If I need it, how do I use it in RHEL 8 ? __ Daniel E. White daniel.e.wh...@nasa.gov<mailto:daniel.e.wh...@nasa.gov> NASCOM Linux Engineer NASA Goddard Space Flight Center Science Applications Int

Re: [Puppet Users] boolean like operation for puppetdb query

2022-02-15 Thread Daniel Krämer
has the same drawbacks as yours, it adds to execution time and it can only be true on the second puppetrun. Imho you should find the point where you include fail2ban and do your stuff there. Or you can wrap fail2ban. I'm sure there are puppetnerds out there with way better advice. Greetings

[Puppet Users] Selectively calling custom lookup function

2020-10-06 Thread Daniel Kasen
Hello All, I have a problem I'm trying to solve. I'm using a custom backend to fetch SSM values from AWS parameter store and it works nicely but with 1 problem. If I add the lookup call to my hiera.yaml it means every variable lookup is going to perform this SSM call. Now, the plugin does allow

Re: [Puppet Users] Duplicate declaration: Exec

2020-09-01 Thread Daniel Krämer
That is a limitation of ensure_resource() i'm also experiencing. For example: ❯ cat modules/profile/manifests/test1.pp class profile::test1 { include profile::test3 include profile::test2 } ❯ cat modules/profile/manifests/test2.pp class profile::test2 { notify{"i'm a test":} } ❯ cat modules/

[Puppet Users] ‘Contains’ conditional operator in PQL?

2019-09-27 Thread Daniel Sung
Hello, I have a fact that is an array of strings and I would like to return all certnames that contain an element in that array. I’ve tried to use the in operator but that doesn’t work that way around and ~ does sort of work but it’ll match a substring of an element in the array. What is the be

Re: [Puppet Users] Bolt needs /opt/puppetlabs, but does not exist on debian buster

2019-08-27 Thread Daniel Krämer
There are no puppet5 packages for Debian Buster from puppetlabs at the moment. They are expected mid October. Am Di., 27. Aug. 2019 um 12:36 Uhr schrieb David Schmitt < david.schm...@puppet.com>: > "puppet" is the debian-native packaging. to get the puppetlabs packaging, > install `puppet-agent`.

Re: [Puppet Users] Help with Multiple Resource Declarations

2019-05-04 Thread Daniel Kinon
You can > find more information about defined types here: > https://puppet.com/docs/puppet/6.4/lang_defined_types.html > > The syntax to declare the defined type would change slightly. It should > look like this: > base::systemusers { $username: } > > Let me know if you h

[Puppet Users] Help with Multiple Resource Declarations

2019-05-03 Thread Daniel Kinon
Hello Everyone, So I'm trying to create templates for system users. Here is my systemusers class: ~~~ class base::systemusers ( $username = $title, $home = "/var/lib/$username", ) { $systemusers = lookup({ name => 'base::systemusers' }) user { $username: ensure => present

Re: [Puppet Users] puppetserver6 and hiera-eyaml-gpg

2019-02-19 Thread Daniel Kinon
eed to install hiera-eyaml via > /opt/puppetlabs/puppet/bin/gem. Puppetserver only install gem for jruby > > On Sat, Feb 16, 2019 at 23:00 Daniel Kinon wrote: > >> Hello, >> I'm running puppetserver 6.2.0 with hiera-eyaml-gpg but can't seem to >> ge

[Puppet Users] puppetserver6 and hiera-eyaml-gpg

2019-02-16 Thread Daniel Kinon
Hello, I'm running puppetserver 6.2.0 with hiera-eyaml-gpg but can't seem to get past the following error when I perform a lookup for an encrypted block during a puppet agent run: ~~~ Error: Could not run: cannot load such file -- hiera/backend/eyaml/encryptors/gpg ~~~ Here is the full gem

Re: [Puppet Users] reduce function doesn't return results from single iteration

2019-02-09 Thread Daniel Kinon
$result + $group > } else { > $result > } > } > > Hope this helps. > - Steve > > >> On Sat, Feb 9, 2019 at 12:52 PM Daniel Kinon wrote: >> Hello, >> I'm attempting to use the reduce >> function(https://puppet.com

[Puppet Users] reduce function doesn't return results from single iteration

2019-02-09 Thread Daniel Kinon
Hello, I'm attempting to use the reduce function(https://puppet.com/docs/puppet/6.2/function.html#reduce) to consolidate hiera facts into data structures I can use with puppet resources. I've run into an issue that I'm not sure how to solve. When the data passed to the reduce function res

Re: [Puppet Users] One master per environment, or one to rule them all?

2017-10-12 Thread Daniel Urist
Option (2) allows you to test upgrades to the puppet infrastructure itself, which changes not infrequently. On Wed, Oct 11, 2017 at 3:15 PM, Antony Gelberg wrote: > I've asked a similar question on the Terraform mailing-list but on > reflection, I think it's more appropriate here. > > Let's say

Re: [Puppet Users] ERB variable scope

2017-10-09 Thread Daniel Urist
Thanks very much. It would be great if the template doc page ( https://docs.puppet.com/puppet/5.3/lang_template.html) gave more guidance on epp vs erp, use cases for each and possible gotchas like this. On Fri, Oct 6, 2017 at 4:17 PM, Henrik Lindberg wrote: > On 06/10/17 11:28, Daniel Ur

[Puppet Users] ERB variable scope

2017-10-06 Thread Daniel Urist
I've noticed in classes with multiple templates that ERB variables seem to share a single scope. That caught me by surprise-- is that intended behavior? Here's a simple test case: class erb_scope_test ( ) { $myarr1 = [ 'one' ] $myarr2 = [ 'two' ] $str1 = inline_template("<%= @myarr1.concat

[Puppet Users] rsync.puppet.com HA upgrade

2017-07-12 Thread Daniel Dreier
We're upgrading the rsync service for mirroring Puppet's apt and yum repositories from the single node it's currently on to an HA setup. The DNS update will go out shortly. I'm not expecting any user-visible changes, but if you do see problems please let me know. --

Re: [Puppet Users] apt, yum, downloads, and rsync infrastructure improvements

2017-06-30 Thread Daniel Dreier
the impression you > would prefer that we use your new CDN (hence, get the files through > cloudfront using http …) > rsync is absolutely still supported. After we discontinued it last time and got a lot of pushback, I've been working on an HA rsync. > > > Thanks &&

[Puppet Users] apt, yum, downloads, and rsync infrastructure improvements

2017-06-28 Thread Daniel Dreier
backend - it's been running off a server in Linode, and we're switching to an S3 backend, which will be faster and more reliable. If you see any problems with the apt/yum download infrastructure, please let me know. -- Daniel Dreier Technical Operations Engineer GPG: BA4379FD -- You rece

[Puppet Users] Force custom service provider to never be default

2017-06-06 Thread Daniel Urist
I've written a simple custom service provider for monit that inherits from the debian provider. Since this is running on debian systems, I want to use the debian "enable" to enable/disable running at boot, but I want monit to manage the running service rather than puppet. Puppet::Type.type(:servic

Re: [Puppet Users] List all hosts

2017-05-31 Thread Daniel Scott
On Wednesday, 31 May 2017 14:36:33 UTC+1, R.I. Pienaar wrote: > > > > On Wed, May 31, 2017, at 15:33, Daniel Scott wrote: > > Hi, > > > > I'm looking for a way to list all hosts known by a puppetserver (in > > puppetdb). > > > > I've

[Puppet Users] List all hosts

2017-05-31 Thread Daniel Scott
Hi, I'm looking for a way to list all hosts known by a puppetserver (in puppetdb). I've been using 'puppet cert list --all', however, this doesn't necessarily correspond to the list of hosts in puppetdb (for example, if I have to rebuild the puppet server, and lose all the certs, but I still h

Re: [Puppet Users] Re: apt/yum.downloads.puppetlabs.com CDN & rsync deprecation

2017-04-26 Thread Daniel Dreier
sing >> > > ftpsync (the recommended tool >> > > <https://www.debian.org/mirror/ftpmirror> for mirroring apt >> > > repositories), which worked great until this was turned off. >> ftpsync >> > > appears to be at least somewh

[Puppet Users] apt/yum.downloads.puppetlabs.com CDN & rsync deprecation

2017-04-21 Thread Daniel Dreier
fast for most users. -- Daniel Dreier Technical Operations Engineer GPG: BA4379FD -- 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

[Puppet Users] Re: hiera_include failing with undefined method "cached_file_data"

2017-03-13 Thread Daniel Urist
Fixed by restarting puppetserver per https://tickets.puppetlabs.com/browse/PUP-7337 It looks like the debian packages are missing a restart trigger: https://tickets.puppetlabs.com/browse/PA-681 On Mon, Mar 13, 2017 at 11:10 AM, Daniel Urist wrote: > I've tried replacing the

[Puppet Users] Re: hiera_include failing with undefined method "cached_file_data"

2017-03-13 Thread Daniel Urist
I've tried replacing the call to hiera_include() with a call to include() like this (per https://docs.puppet.com/puppet/latest/function.html#hierainclude) , but that results in the same error: include( lookup("roles::${role}", {'merge' => 'unique' }) ) On

[Puppet Users] hiera_include failing with undefined method "cached_file_data"

2017-03-13 Thread Daniel Urist
So, this just started happening on all my nodes following upgrade to puppet-agent 1.9.3-1jessie on my puppet master: root@nweb8:/# puppet agent -t > Info: Retrieving pluginfacts > Info: Retrieving plugin > Info: Loading facts > Error: Could not retrieve catalog from remote server: Error 500 on SE

Re: [Puppet Users] Re: hiera deep hash merges broken

2017-02-16 Thread Daniel Urist
It turns out my issue was caused by eyaml no longer supporting deep hash merges. I've worked around my issue by separating out plain yaml and eyaml. Fortunately none of my existing code does a deep hash merge on the eyaml keys. It would be great to get some reassurance that eyaml will continue to

[Puppet Users] Re: hiera deep hash merges broken

2017-02-14 Thread Daniel Urist
Just found this issue, which seems to describe what's going on: https://github.com/TomPoulton/hiera-eyaml/issues/222 So eyaml is broken wrt hash merges? Are there any workarounds available? On Tue, Feb 14, 2017 at 12:35 PM, Daniel Urist wrote: > To get deep hash merges in hiera, I h

[Puppet Users] hiera deep hash merges broken

2017-02-14 Thread Daniel Urist
To get deep hash merges in hiera, I have been using the following in my hiera.yaml: > --- > :merge_behavior: deeper > :backends: > - eyaml And in one of my classes, a call to hiera_hash() like this: $if_merged = hiera_hash('profiles::pserver::interfaces') However, with puppetserver versio

[Puppet Users] hiera_hash, lookup, Hiera 5

2017-02-10 Thread Daniel Urist
I have been using ":merge_behavior: deeper" in my hiera.yaml file to turn on deep hash merges with hiera_hash, but now this appears to be broken. The latest docs (at https://docs.puppet.com/puppet/4.9/lookup_quick.html) suggest using the lookup() function, but then state this: IMPORTANT: These do

[Puppet Users] logrotate and puppetserver debian package

2016-09-13 Thread Daniel Urist
The release notes for puppetserver state the following ( https://docs.puppet.com/puppetserver/latest/release_notes.html): Debian upgrade note: On Debian-based Linux distributions, logrotate will > continue to attempt to manage your Puppet Server log files until > /etc/logrotate.d/puppetserver is r

Re: [Puppet Users] puppetserver error "Service ':CaService' not found" when following puppet install guide

2016-09-09 Thread Daniel Creed
I have the same error, but even with the ca.cfg file. On Sunday, August 28, 2016 at 7:36:45 PM UTC-5, Alex Xu wrote: > > Hey Matthaus, > > Thanks for the help. The problem is indeed missing ca.cfg. After I add a > ca.cfg file in the link you provided, the issue is gone. Really appreciated! >

[Puppet Users] Accessing puppet node facts in report processor

2016-06-14 Thread Daniel Scott
Hi, Is there a way to access a puppet node's facts in a report processor? We have nodes which are part of auto scaling groups in AWS, so there are, several nodes which are all the same 'type'. We expose this type as a fact on the nodes themselves, and I would like to use the type in a report p

Re: [Puppet Users] Re: Logrotate module broken, string 'undef' now treated as undef

2016-05-20 Thread Daniel Urist
There doesn't seem to be an issue when I run my test code with "puppet apply". I've tried this under puppet agents v.4.5.0 and v.3.8.5 On Fri, May 20, 2016 at 10:56 AM, Matthaus Owens wrote: > Daniel, > Thanks for filing the ticket. I'll take a stab at reproduci

Re: [Puppet Users] Re: Logrotate module broken, string 'undef' now treated as undef

2016-05-20 Thread Daniel Urist
I filed a bug: https://tickets.puppetlabs.com/browse/SERVER-1356 On Fri, May 20, 2016 at 6:41 AM, JeremyCampbell wrote: > I can confirm the same issue on Puppetserver v2.4.0 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscrib

Re: [Puppet Users] Logrotate module broken, string 'undef' now treated as undef

2016-05-19 Thread Daniel Urist
results in: Notice: VAR1: VAR2: VAR3: VAR4: 'undef' VAR5: "undef" On Thu, May 19, 2016 at 8:30 AM, Daniel Urist wrote: > puppetserver: 2.3.2-1puppetlabs1 > puppet client: 3.8.5-2~bpo8+1 > > Both server and clients are running Debian 8 (jessie); the pupp

Re: [Puppet Users] Logrotate module broken, string 'undef' now treated as undef

2016-05-19 Thread Daniel Urist
puppetserver: 2.3.2-1puppetlabs1 puppet client: 3.8.5-2~bpo8+1 Both server and clients are running Debian 8 (jessie); the puppet client is from the Debian backports repo. On Wed, May 18, 2016 at 3:40 PM, Matthaus Owens wrote: > Daniel, > Which version of Puppet are you seeing this on?

[Puppet Users] Logrotate module broken, string 'undef' now treated as undef

2016-05-18 Thread Daniel Urist
I have been using the yo61 logrotate module from puppetforge ( https://forge.puppet.com/yo61/logrotate), which seems to be the most popular, but it recently stopped working, with many errors about undefined parameters. The issue seems to be the use of the string 'undef' as a default value; for exa

[Puppet Users] Re: Variables inside variables

2016-03-31 Thread Daniel Sung
I achieve this by using the getvar function in stdlib. For example: getvar("::network_${::gateway_dev}") Regards, Daniel On Thursday, 31 March 2016 11:04:45 UTC+1, Jonathan Gazeley wrote: > > Hi folks, > > Short version: > > I want to use a variable inside a variab

Re: [Puppet Users] Avoiding duplicate exported resource

2016-03-07 Thread Daniel Urist
I've managed to solve this with query_resources() from puppedbquery to generate an array of the resources and ensure_resource() to only create a single instance. That seems to be the cleanest way at the moment to handle this. On Mon, Mar 7, 2016 at 9:25 AM, Ken Barber wrote: > >> Model wise, in

[Puppet Users] Avoiding duplicate exported resource

2016-03-03 Thread Daniel Urist
I've created a module to configure a caching nginx proxy. I am running several of these proxies behind a load balancer. They all proxy the same external address. I'd like to export a nagios host/service for monitoring the external address, which will then be collected on my nagios server. The probl

Re: [Puppet Users] Announce: PuppetDB 2.3.8 has been released!

2015-10-20 Thread Daniel Urist
Is there any update on when puppetdb will be available for Debian 8 (jessie)? Puppetserver is now available according to the announcement for v.2.1.2. On Wed, Oct 14, 2015 at 4:34 PM, Wyatt Alt wrote: > PuppetDB 2.3.8 October 14, 2015 > > PuppetDB 2.3.8 Downloads > > >

[Puppet Users] Re: [Puppet-dev] Debian Testing and Debian Stable leaving apt.puppetlabs.com

2015-08-13 Thread Daniel Parks
n official package on Debian Stable? Or is there another repo that can be added, that’s just not specific to Debian Testing/Stable? Thanks, Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop re

Re: [Puppet Users] Passing data between hosts

2015-08-06 Thread Daniel Dreier
ro masters. The advantage of this approach is that you can still bootstrap, whereas if you fail you have a more complicated question around bootstrapping a cluster. -- Daniel Dreier Technical Operations Engineer GPG: BA4379FD -- You received this message because you are subscribed to the Google

Re: [Puppet Users] ripienaar/puppet-module-data Not working with the Vagrant puppet provisioner.

2015-07-26 Thread Daniel Dreier
data-in-modules-and.html http://puppet-on-the-edge.blogspot.be/2015/02/puppet-40-data-in-modules-part-ii.html I haven't personally used the Puppet 4 data in modules providers, but it looks like a good way to natively get the functionality RI implemented in puppet-module-data. -- Daniel Dreier Techni

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread Daniel Dreier
> On Jul 3, 2015, at 7:42 AM, R.I.Pienaar wrote: > > > > - Original Message - >> From: "Christopher Wood" >> To: "puppet-users" >> Sent: Friday, July 3, 2015 3:34:29 PM >> Subject: Re: [Puppet Users] Ordering without dependencies > >>> On Fri, Jul 03, 2015 at 02:10:55PM +0100, R.I.P

Re: [Puppet Users] Re: Announce: Puppet Agent 1.2, Facter 3, Puppet 4.2, Hiera 3

2015-06-29 Thread Daniel Urist
Are there up-to-date instructions for how to install from the apt repos for jessie? On Fri, Jun 26, 2015 at 12:13 PM, Eric Sorenson < eric.soren...@puppetlabs.com> wrote: > > Last night we rolled a patch release which includes a fix for FACT-1055, a > regression which inadvertently broke backward

Re: [Puppet Users] puppet agent won't start

2015-06-28 Thread Daniel Dreier
erences. > > Adaryl "Bob" Wakefield, MBA > Principal > Mass Street Analytics, LLC > 913.938.6685 > www.linkedin.com/in/bobwakefieldmba > Twitter: @BobLovesData > > *From:* Daniel Dreier > *Sent:* Sunday, June 28, 2015 6:29 PM > *To:* puppet-users@googlegroups.

Re: [Puppet Users] puppet agent won't start

2015-06-28 Thread Daniel Dreier
; > What other information can I pass along? > > > Adaryl "Bob" Wakefield, MBA > Principal > Mass Street Analytics, LLC > 913.938.6685 > www.linkedin.com/in/bobwakefieldmba > Twitter: @BobLovesData > > *From:* Daniel Dreier > *Sent:* Sunday, June 28, 2015 5:52 PM >

Re: [Puppet Users] puppet agent won't start

2015-06-28 Thread Daniel Dreier
ly, if you can reproduce this consistently via a shell script in a vagrant environment it'll be much easier to troubleshoot and you'll get faster feedback. -- Daniel Dreier Technical Operations Engineer GPG: BA4379FD -- You received this message because you are subscribed to the Googl

[Puppet Users] Quoting keys in hiera lookups

2015-06-25 Thread Daniel Urist
Is there any way to quote keys in hiera lookups so hiera doesn't interpret periods as further lookups? For example, if I have yaml that looks like this: myservertype: host1.domain: somekey: somevalue host2.domain: somekey.somevalue The periods in the keys host1.domain and host2.d

Re: [Puppet Users] Re: Slow Mirror

2015-06-16 Thread Daniel Parks
day, and lost those while moving from one server to another. Oops. Sorry about that! And thanks for letting me know. Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails fro

Re: [Puppet Users] Re: Slow Mirror

2015-06-16 Thread Daniel Parks
) It shows files for me… I believe it’s updated via rsync, and so the files shouldn’t just disappear, but maybe I’m wrong. I’ll have to look into it, but it’s not the first thing on my list unless other people are running into this. Thanks for the heads up, though! Daniel -- You received this me

Re: [Puppet Users] Re: Slow Mirror

2015-06-11 Thread Daniel Parks
02 ms 14 ge-2-2-22-ed2.ixsolutions.net (217.79.208.25) 193.112 ms 193.140 ms 193.050 ms 15 * * * Thanks, Daniel -- 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 a

[Puppet Users] Re: Slow Mirror

2015-06-10 Thread Daniel Parks
Hi Denny, I'm the other Daniel on the ops team at Puppet. :) I can rsync from my house, so it is probably a network problem. Traceroute looks okay. Could you try downloading a large file over HTTP and see how fast it is? For example, I get: $ curl -o /dev/null http://yum.puppetlabs.com/

Re: [Puppet Users] Slow Mirror

2015-06-10 Thread Daniel Dreier
the issue. We'll try and reproduce the issue and reach out to you directly as needed, at the very least to confirm a fix. -- Daniel Dreier Technical Operations Engineer GPG: BA4379FD -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

[Puppet Users] Re: yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5

2015-05-20 Thread Daniel
Yep, use descr => 'blah' instead of name => 'blah' On Friday, 4 December 2009 18:50:31 UTC, Bryan Schneiders wrote: > > I'm using puppet-0.24.8-4.el5 on CentOS 5.4. > > My problem is yumrepo isn't writing the "name=" field to the > repository files which causes yum to complain with the error:

Re: [Puppet Users] Manage /etc/fstab option with Puppet and Augeas

2015-04-03 Thread Daniel Dreier
e them. > If options are changed, I'd like to reset them. If deleted, add them. > How can I do that? > > Mitja - Can you use the native mount type ( https://docs.puppetlabs.com/references/latest/type.html#mount) for this? If you manage all mount points using puppet's mount type

[Puppet Users] Error: Could not request certificate: Find /devops/certificate/ca?fail_on_404=true

2014-10-30 Thread Daniel Obi
Greetings, we just installed puppetmaster 3.7.1 and trying to join a new agent 3.7.1 with the following error: puppet agent -t --trace --debug Error: Could not request certificate: Find /devops/certificate/ca?fail_on_404=true resulted in 404 with the message: Not Found: Could not find envir

[Puppet Users] Re: Error: Could not request certificate: Find /devops/certificate/ca?fail_on_404=true

2014-10-30 Thread Daniel Obi
Even if the puppetmaster webserver is shutdown, i still get the same error Am Donnerstag, 30. Oktober 2014 15:21:48 UTC+1 schrieb Daniel Obi: > > Greetings, > > we just installed puppetmaster 3.7.1 and trying to join a new agent 3.7.1 > with the following error: > > > &

Re: [Puppet Users] Example of how to use require with hiera?

2014-09-22 Thread Daniel Johnson
> Does this actually work Nan?? It does work. At least in the latest version of puppet. > Can somebody point me to any page where this is documented? If I could find documentation for it I wouldn't have asked here. -- teknotus (Take Notice) -- You received this message because you are subscr

[Puppet Users] Example of how to use require with hiera?

2014-09-18 Thread Daniel Johnson
Things like require: File['somefile'] or require: File: somefile both crash, and burn. Not having a require also causes failure as it tries to do things it can't without the prerequisite. After hours of searching I couldn't find any examples to work from. -- teknotus (Take Notice) -- Yo

Re: [Puppet Users] Re: Using exported resources as data containers?

2014-09-10 Thread Daniel Siechniewicz
nent". Otherwise you end up with puppetdb queries within your manifests which could be not what you want. Then again, this really depends on your preferences. Good luck and tell us if this worked for you. Regards, Daniel On 10 September 2014 13:03, Matthew Pounsett wrote: > > >

[Puppet Users] Re: Using exported resources as data containers?

2014-09-10 Thread Daniel Siechniewicz
Hi, Sounds like a job for https://github.com/dalen/puppet-puppetdbquery potentially? pdbresourcequery or maybe even the hiera backend. Regards, Daniel On Tuesday, September 9, 2014 11:49:21 PM UTC+1, mpou...@afilias.info wrote: > > I have a difficult-to-manage application which do

[Puppet Users] Re: Announce: Facter 2.2.0

2014-08-27 Thread Daniel Schaefer
I've opened a bug here: https://tickets.puppetlabs.com/browse/FACT-686 > > -- 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...@googlegroup

[Puppet Users] hiera-mysql working with hiera cli but not through puppet agent

2014-08-08 Thread Daniel Kinon
Hello, I'm running opensource hiera 1.3.4 and puppet 3.6.2. I'm attempting to use hiera-yaml and hiera-mysql backends at the same time. When I run hiera on the command line I retrieve the values I expected from both yaml and mysql but when an agent checks in (daemon or manual), it isn't

Re: [Puppet Users] Puppet catalog transfer often gets truncated (Could not intern from pson: error)

2014-07-15 Thread Daniel
I am also getting this problem. Did running the puppet master within Apache/Passenger or nginx/Passenger help at all? I was thinking it could be to do with a non ascii character making its way into my code somewhere as that seems to cause dodgy stuff but that's not it. I've seen lots of suggest

Re: [Puppet Users] Issue with Role-Profile implementation

2014-07-09 Thread Daniel De Marco
Varun, the files directory under siler should be named files, not file. Daniel. * Varun Utagikar [07/09/2014 08:30]: >Hello >I am trying to implement role-profile structure . I have referred below >mentioned docs/links : > > https://ask.puppetlabs.com/question

[Puppet Users] Get subdirectories by fact

2014-02-20 Thread Daniel K.
a" and "Sub_b" returned by the fact. Does anyone know how to do it? Thanks Daniel -- 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

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

2014-01-31 Thread Juan Pablo Daniel
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::Sysctl/Sysctl[net.ipv4.ip_local_port_range]/value: change from to 5000 65000 failed: undefined metho

[Puppet Users] Re: ldap puppetVar not set.

2014-01-13 Thread Daniel Kupfer
Johan, I use the puppetVar's for more then just including classes. Do you perhaps happen to know why the 'if' statement doesn't work? Kind regards, Daniel. On Monday, January 13, 2014 10:26:02 AM UTC+1, Daniel Kupfer wrote: > > Hi, > I'm migrating from p

Re: [Puppet Users] ldap puppetVar not set.

2014-01-13 Thread Daniel Kupfer
Johan, (dank) thanks for your reply, i will have a look at that. Regards, Daniel. On Monday, January 13, 2014 10:53:26 AM UTC+1, Johan De Wit wrote: > > Any raeson why not using puppetClass in ldap instead ? Then that class > will be included and is that kind of code not needed. >

[Puppet Users] ldap puppetVar not set.

2014-01-13 Thread Daniel Kupfer
Hi, I'm migrating from puppet 2.x to 3.3.2, but i'm having trouble with the puppetvar from ldap. In puppet 2 i could do: if $nagios { include nagios } But in puppet 3 this does not seem to work anymore. Now i didn't set up the former puppetmaster. Am i missing something? The ldap puppetnode

[Puppet Users] puppet doens't look up all my hiera data sources.

2014-01-03 Thread Daniel Kupfer
Hello, question: why is the hiera data source 'location' not looked up for the class 'autofs'? For some reason some of my 'parametered' classes are not looked up in all my hiera data sources: As you can see in the following log exampt the "location" hiera source is not looked up for the class

Re: [Puppet Users] Puppet and scripts.

2013-11-21 Thread Daniel Lyons
the echo outputs at all after the timeout fail. I needed that second brain to see a goof like that, highly appriciate it Andreas. On Thursday, November 21, 2013 10:33:41 AM UTC-8, Andreas Ntaflos wrote: > On 2013-11-21 19:08, Daniel Lyons wrote: > > We've got a decently complicate

[Puppet Users] Puppet and scripts.

2013-11-21 Thread Daniel Lyons
help, and double thanks if this is something out of my range of understanding for scripts and puppet that I'm unaware of. I'm a bit of a newbie to all this and have run through the tutorials and such but I think there's a piece I'm blind to here. :) -Daniel -- You recei

[Puppet Users] NFS Mount: Still the error Could not evaluate: Field 'device' is required

2013-11-18 Thread Daniel K
te: Field 'device' is requirednotice: Finished catalog run in 0.06 seconds* I thought that bug should be removed, see here: https://github.com/puppetlabs/puppet/commit/67e1ff6 The strange is, that a SLES 11 has no problem with this with an 2.6 agent... Kind regards, Daniel -- You rec

[Puppet Users] Own Package Installscript

2013-11-12 Thread daniel . richardt89
Hi, i want to use Puppet to install all packages from a webserver (no repository) . Therefore I wrote following Script: class install_package { case "$operatingsystem" { SLES: { notify {"${operatingsystem} ${operatingsystemrelease} detected":}

[Puppet Users] Re: Issues referencing a class from another module

2013-10-29 Thread Daniel Sage
I just realised that there is a typo in my example. But the problem remains the same, if I've got the following code in acme_inc::workstation # install and set up the nfs client class {'nfs': class => "client", domain => "acme.example.com", } then I get the following erro

Re: [Puppet Users] Issues referencing a class from another module

2013-10-29 Thread Daniel Sage
_inc::workstation class. Is there a better way to reference the nfs class/module? Or is there a flaw with the acme_inc::workstation class that's causing puppet to look for it in the wrong place when attempting to load the nfs module? Regards, Daniel Sage -- You received this message because

[Puppet Users] Issues referencing a class from another module

2013-10-28 Thread Daniel Sage
s just: node 'server.example.com' { class {'ntp': servers => [ "0.pool.ntp.org", "1.pool.ntp.org", "2.pool.ntp.org", ], } include client1 include client2 } Again, is this possible in puppet, or do I have to scrap this idea

[Puppet Users] Can't find a supported method of using storeconfigs on AWS

2013-10-18 Thread Daniel Friesen
I can't seem to find a sane way of running storeconfigs on the new AWS server environment I'm working on. - SQLite is not an option. It becomes unusable far too quickly. - Using a mysql adapter doesn't seem to work properly. - I quickly run into bug #9290

[Puppet Users] Re: Problem retreiving catalog

2013-09-30 Thread Binoy Daniel
Hi Nikolay, I too facing same issue, but i could not find external_node.rb, where as we have /etc/puppet/nodes.rb but that file does not have any database related info... How to proceed..please help (I think create mysql replica with different name and update the file which you specified ?)

Re: [Puppet Users] Re: Is it possible to install actual OS using puppet?

2013-09-12 Thread Daniel Pittman
ups.google.com/forum/#!topic/puppet-razor/q4uCVMmUop0 Razor is awesome, but I would caution that you should expect to roll up your sleeves, pull on your developer hat, and at least be ready to diagnose and report bugs -- if not fix them -- if you plan on using it. -- Daniel Pittman ⎋ Puppet L

[Puppet Users] Resource chaining not working

2013-07-11 Thread Daniel Siechniewicz
ed (I cloned this: https://github.com/electrical/puppet-redis), but I've had the same problem with other modules, completely unrelated to one another, so it doesn't seem like there's any pattern there, other than repo + something just doesn't work. Any thoughts? Could this

[Puppet Users] Deploy config file for custom reports

2013-07-03 Thread Daniel Scott
Hi, I've written a custom report which just makes an HTTP call to one of my servers so that I can log the event. The report installs itself when the puppetmaster puppets itself. The report script is copied from $MODULE_NAME/lib/puppet/reports/callback.rb into the puppetmaster's /var/lib/puppet

[Puppet Users] PostgreSQL module and createlang

2013-07-02 Thread Daniel Londero
Hi! Is there a way to run createlang when creating a database using PostgreSQL module? Or should I use an exec? Thanks in advance Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiv

Re: [Puppet Users] scope for templates that is called from a class that includes the class that calls the template.

2013-07-01 Thread Daniel Jung
the reply though! On Monday, July 1, 2013 7:04:14 PM UTC-7, Wolf Noble wrote: > > Hi Daniel, > > > What I've done in the past is: > > Foo.erb > <% foobar = scope.lookupvar('::somefact') > othervar = scope.lookupvar('class::variable'

[Puppet Users] scope for templates that is called from a class that includes the class that calls the template.

2013-07-01 Thread Daniel Jung
hi, trying to understand the scope for templates -- after reading http://docs.puppetlabs.com/guides/templating.html, got a question about the following, class test::foo { file { content => template ("footemplate.erb"), } } class test::foo2 { $var = blah,

[Puppet Users] Mcollective + ActiveMQ 5.8.0 - direct addressing problems

2013-05-30 Thread Daniel Siechniewicz
ve it would help if I upgraded. I will need to rebuild those servers soon, but while I still have logs (mcollective and activemq debug logs), does anyone want those, or some other info? Regards, Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Use

[Puppet Users] Re: custom type and provider testing

2013-05-28 Thread Daniel Kerwin
Hi Corey, you would basically test it like normal ruby code. Here's a example for a type test. You could check out one of my type tests here: https://gist.github.com/anonymous/5662336 Hope this helps! Cheers, Daniel Am Dienstag, 28. Mai 2013 04:06:59 UTC+2 schrieb Corey Osman: > >

[Puppet Users] Re: Need a puppet manifest to initialize a puppetmaster

2013-03-22 Thread Daniel Schaefer
I found the answer to my "search keyword question": http://lmgtfy.com/?q=bootstrap+puppetmaster The solutions range from bash scripts to puppet manifests that can be run by "puppet apply". I hope this helps others. -- You received this message because you are subscribed to the Google Groups "P

[Puppet Users] Re: Need a puppet manifest to initialize a puppetmaster

2013-03-21 Thread Daniel Schaefer
I guess I should also mention that I am using Ubuntu 12.04. Also, when I say "run a puppet command", I'm referring to "puppet apply" -- 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

[Puppet Users] Need a puppet manifest to initialize a puppetmaster

2013-03-21 Thread Daniel Schaefer
What I am looking for is something along the lines of this: - Install fresh OS - Install puppet and git - Clone a git repo (remote or local) containing my puppetmaster configuration - Run a puppet command (or commands) with a manifest from the repo to install and configure a puppetmaster - Bas

Re: [Puppet Users] Re: Installing Operating systems

2013-02-04 Thread Daniel Pittman
t; > -- > 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

Re: [Puppet Users] Re: Terrible exported resources performance

2013-01-25 Thread Daniel
On Thursday, January 24, 2013 2:41:53 PM UTC, jcbollinger wrote: > > On Thursday, January 24, 2013 5:24:58 AM UTC-6, Daniel wrote: >> >> Seems that chaining exported resources might not be too efficient and >> produces lots of data that could be the reason for pupp

  1   2   3   4   5   6   7   8   >