[Puppet Users] passing arguments by name instead of position for functions

2023-10-23 Thread 'Matt Zagrabelny' via Puppet Users
Hello, I have a variety of hashes that have similar content: $h = { 'foo1' => 'bar', [...] 'foo99' => 'baz', 'foo100' => 'h', } $g = { 'foo1' => 'bar', [...] 'foo99' => 'baz', 'foo100' => 'g', } I'd like to have a function or similar mechanism: $h =

Re: [Puppet Users] hiera 5 postgresql backend

2022-04-15 Thread 'Matt Zagrabelny' via Puppet Users
On Fri, Apr 15, 2022 at 12:34 PM Matt Zagrabelny wrote: > Hi Martin, > > Thanks for the email. I understand your concerns about using other > backends. We have a reasonably small puppet deployment, so I think I will > try a DB based backend and see how it performs. > >

Re: [Puppet Users] hiera 5 postgresql backend

2022-04-15 Thread 'Matt Zagrabelny' via Puppet Users
at the hiera3 backends are not compatible with hiera5! > https://puppet.com/docs/puppet/7/hiera_custom_backends.html > > Hth, > Martin > > > On 14. Apr 2022, at 04:30, 'Matt Zagrabelny' via Puppet Users < > puppet-users@googlegroups.com> wrote: > > Greetings, &

[Puppet Users] hiera 5 postgresql backend

2022-04-13 Thread 'Matt Zagrabelny' via Puppet Users
Greetings, I'm running puppet 5.5. Is anyone aware of a hiera 5 Pg backend? I've tried getting the hiera 3 module [0] working, but am struggling. I'm hoping a native hiera 5 will be a smoother experience. Thanks for the help! -m [0] https://github.com/rogeduardo/hiera-psql -- You received

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

2022-02-16 Thread 'Matt Zagrabelny' via Puppet Users
le::test3 { > if $facts["fail2ban_version"] { > notify {"The fail2ban version is ${facts['fail2ban_version']}":} > } > } > > But this solution has the same drawbacks as yours, it adds to execution > time and it can only be true on the second puppet

[Puppet Users] boolean like operation for puppetdb query

2022-02-11 Thread 'Matt Zagrabelny' via Puppet Users
Greetings, I have a puppetdb installation that I leverage by querying from my manifests. I'd like to have a boolean-like operation for puppetdb that pretty much tests if the current node has a given class as part of the catalog. Here is my current code: $query = [

[Puppet Users] hiera resources in puppetdb

2022-01-12 Thread 'Matt Zagrabelny' via Puppet Users
Greetings, I use lookup to get data out of hiera: node some-host { class { 'foo': $bar = lookup('bar') } } I'd like to be able to query puppetdb to find out what hosts use various hiera keys. So in the above example. Given bar return some-host. I know I can write a parser to

Re: [Puppet Users] puppet catalog security?

2020-03-28 Thread Matt Zagrabelny
On Sat, Mar 28, 2020 at 10:05 AM Henrik Lindberg wrote: > On 2020-03-28 14:36, Matt Zagrabelny wrote: > > > > > > On Sat, Mar 28, 2020 at 7:31 AM Henrik Lindberg > > mailto:henrik.lindb...@puppet.com>> wrote: > > > > On 2020-03-28 02:42

Re: [Puppet Users] puppet catalog security?

2020-03-28 Thread Matt Zagrabelny
On Sat, Mar 28, 2020 at 7:31 AM Henrik Lindberg wrote: > On 2020-03-28 02:42, Matt Zagrabelny wrote: > > Greetings, > > > > Suppose I have a class foo that host A gets via its catalog. Suppose > > host B does not have foo in its catalog. Can host B do anyth

[Puppet Users] puppet catalog security?

2020-03-27 Thread Matt Zagrabelny
Greetings, Suppose I have a class foo that host A gets via its catalog. Suppose host B does not have foo in its catalog. Can host B do anything malicious to obtain the sensitive data in foo? My puppet master is using an ENC to generate the classification of each host and then a roles + profiles

[Puppet Users] puppetdb query return values

2019-12-13 Thread Matt Zagrabelny
Greetings, I've looked through the puppetdb docs, in particular the PQL docs, to find out if I can extract a single parameter in the return value(s). I have as a PQL: resources[parameters] { type = "Postgresql::Server::Pg_hba_rule" and parameters.address ~ "."} I'd like to get the "address"

[Puppet Users] Re: vcsrepo with specific identity? - SOLVED

2019-12-05 Thread Matt Zagrabelny
35 Cheers! -m On Tue, Dec 3, 2019 at 10:56 AM Matt Zagrabelny wrote: > Greetings, > > I am attempting to specify an identity with a vcsrepo resource. Such as: > > vcsrepo { '/opt/src/repository': > ensure => present, > provider => git, >

Re: [Puppet Users] vcsrepo with specific identity?

2019-12-03 Thread Matt Zagrabelny
On Tue, Dec 3, 2019 at 11:23 AM Yvan Broccard wrote: > Don't forget the "user", "group" and "owner" parameter. For example, from > one of my manifests : > Hmmm > -> vcsrepo {'oracle-scripts': > ensure => 'latest', > path => "${hvs_oracle::oradb::admindir}/oracle-scripts",

[Puppet Users] vcsrepo with specific identity?

2019-12-03 Thread Matt Zagrabelny
Greetings, I am attempting to specify an identity with a vcsrepo resource. Such as: vcsrepo { '/opt/src/repository': ensure => present, provider => git, revision => 'stable', source => 'ssh://gitol...@git.example.com/repository.git', identity =>

Re: [Puppet Users] puppet catalog find --terminus json on puppet master

2019-09-17 Thread Matt Zagrabelny
Hey David, Thanks for the reply! On Tue, Sep 17, 2019 at 5:58 AM David Schmitt wrote: > The most recent releases of puppetserver have an API endpoint specifically > designed for this usecase: > https://puppet.com/docs/puppetserver/latest/puppet-api/v4/catalog.html > Okay. I'm only on puppet

[Puppet Users] puppet catalog find --terminus json on puppet master

2019-09-13 Thread Matt Zagrabelny
Greetings, I'm using puppet 5.5.10 (Debian Buster). >From the puppet master system, I'm trying to get all the resources in a catalog for a given node. On a node "foo.example.com" I can with: foo# puppet catalog find --terminus json | wc -l 6271 but on the master I've tried: puppet# puppet

[Puppet Users] accessing out of class/scope variables in template

2019-08-16 Thread Matt Zagrabelny
Hello, I'm running puppet 5.5 OSE. I've got a class foo: class foo { $bar = 'hi' } class foo::configure { file { '/tmp/foo.conf': content => template('foo/foo.conf.erb'), } } and then in the template: <%= scope['foo::bar'] %> but suppose I want to access an out of class

Re: [Puppet Users] relationships, ordering, and defined types

2019-01-22 Thread Matt Zagrabelny
On Tue, Jan 22, 2019 at 4:22 PM Ben Ford wrote: > Caps all segments in a defined type name: > > before => Bar::Baz['qux'], > > > Huzzah! Thanks Ben! -m -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

[Puppet Users] relationships, ordering, and defined types

2019-01-22 Thread Matt Zagrabelny
Greetings! I'm running puppet 5.5 on Debian Buster. This exists: define bar::baz() { file { "/tmp/$name": } } ...somewhere else... bar::baz { 'qux': } file { '/tmp/foo': before => Bar::baz['qux'], } But when the catalog gets compiled I get an error: Evaluation Error: Error while

[Puppet Users] Re: leading double colons (::) for class instances

2019-01-07 Thread Matt Zagrabelny
On Mon, Jan 7, 2019 at 3:31 PM Matt Zagrabelny wrote: > Greetings puppet-users! > > For many years I have been using the following convention for including my > classes: > > class foo() { > include ::profile::bar > } > > I know I don't need the leading double co

[Puppet Users] leading double colons (::) for class instances

2019-01-07 Thread Matt Zagrabelny
Greetings puppet-users! For many years I have been using the following convention for including my classes: class foo() { include ::profile::bar } I know I don't need the leading double colon for including profile::bar, but at one point in time I thought it may have been a best practice or

[Puppet Users] Use bolt with existing Puppet manifests

2018-12-06 Thread Matt Shields
the VPN and they'll manage them. Since I don't want to install the Puppet agent, can I use Bolt to call each of their servers and run through specific roles/profiles/hiera data? -matt -- You received this message because you are subscribed to the Google Groups "Puppet Users&q

[Puppet Users] serving per-node private data in puppet 5

2018-11-15 Thread Matt Zagrabelny
Greetings! I'm working on migrating my puppet 3.7 environment to puppet 5.5 (Debian testing.) How are folks serving private per-node data in puppet 5? (i.e. ssh keys, apache cert and key, etc.) In both puppet 2.7 and 3.7 I've used: $ cat /etc/puppet/fileserver.conf # This file consists of

Re: [Puppet Users] Re: puppet master not seeing certificate signing request from agent

2018-11-01 Thread Matt Zagrabelny
Hey Justin, Thanks for the reply! On Wed, Oct 31, 2018 at 10:49 PM Justin Stoller wrote: > What happens on the agent that is running on the master? > Works as expected. Thus indicting the firewall. Digging deeper... it looks like Debian testing bit me. But I don't blame them - I know I'm

[Puppet Users] Re: puppet master not seeing certificate signing request from agent

2018-10-31 Thread Matt Zagrabelny
On Wed, Oct 31, 2018 at 11:23 AM Matt Zagrabelny wrote: > Greetings, > > I'm running puppet 5.5.6 (Debian testing). > > I'm having issues getting the master to see the cert signing request from > an agent. > > The firewall isn't an issue. I see the packets hit an &quo

[Puppet Users] puppet master not seeing certificate signing request from agent

2018-10-31 Thread Matt Zagrabelny
Greetings, I'm running puppet 5.5.6 (Debian testing). I'm having issues getting the master to see the cert signing request from an agent. The firewall isn't an issue. I see the packets hit an "allow" rule on the master, but I've also turned the firewall off. tcpdump shows the packets reaching

Re: [Puppet Users] puppet.conf ini heading

2018-10-30 Thread Matt Zagrabelny
On Tue, Oct 30, 2018 at 5:10 PM Justin Stoller wrote: > > > On Tue, Oct 30, 2018 at 2:34 PM Matt Zagrabelny > wrote: > >> Greetings, >> >> I'm running puppet 5.5.6 (Debian testing.) >> >> I'm seeing some curious and inconsistent results from

[Puppet Users] puppet.conf ini heading

2018-10-30 Thread Matt Zagrabelny
Greetings, I'm running puppet 5.5.6 (Debian testing.) I'm seeing some curious and inconsistent results from where I put config settings in /etc/puppet/puppet.conf. When I use the [master] heading, the "external_nodes" setting is read by the puppet master: # cat /etc/puppet/puppet.conf [master]

Re: [Puppet Users] Re: Puppet Agent Hang when PuppetServer Crashes...

2018-01-01 Thread Matt Wise
On Monday, January 1, 2018 at 5:52:10 PM UTC-5, Matt Wise wrote: >> >> *Puppet Agent: 5.3.2* >> *Puppet Server: 5.1.4 - Packaged in Docker, running on Amazon ECS* >> > > I'm running a docker-compose based puppet setup, and had the same > problem. Short version was to

[Puppet Users] Puppet Agent Hang when PuppetServer Crashes...

2018-01-01 Thread Matt Wise
*Puppet Agent: 5.3.2* *Puppet Server: 5.1.4 - Packaged in Docker, running on Amazon ECS* So we've recently started rolling over from our ancient Puppet 3.x system to a new Puppet 5.x service. The new service consists of a PuppetServer Docker Image (5.1.4) running in Amazon ECS, and our hosts

Re: [Puppet Users] using variables with manifests

2017-04-05 Thread Matt Zagrabelny
On Tue, Apr 4, 2017 at 4:41 PM, warron.french wrote: > Hello, I need some guidance/direction on what to lookup and where I can > find an example of how to provide values to a class so that they will be > used by the class (and the ERBtemplate within). > > I want to be

Re: [Puppet Users] Role vs hiera

2016-11-21 Thread Matt Zagrabelny
On Sat, Nov 19, 2016 at 2:27 PM, Martijn <mart...@heemels.com> wrote: > Op dinsdag 18 oktober 2016 21:50:37 UTC+2 schreef Matt Zagrabelny: >> >> >> If you use an ENC, then you can return the role as a top scope >> variable and your hiera configs can leve

Re: [Puppet Users] QUESTION: How can I iterate through the whole list of facters in an erb template?

2016-11-10 Thread Matt Zagrabelny
On Thu, Nov 10, 2016 at 6:25 AM, Victor Martinez wrote: > Hi there, > >I've been looking for a way of creating an erb file which contains all > the facter values. Any ideas how I can accomplish it? Reason: I'd like to > generate custom facters per module and

Re: [Puppet Users] Role vs hiera

2016-10-25 Thread Matt Zagrabelny
On Tue, Oct 25, 2016 at 2:09 PM, Ugo Bellavance wrote: > Hi, > > I was actually wondering if it could be done without an ENC as we don't have > one for now. Not sure. I don't think so, though. I would work on getting an ENC set up. -m -- You received this message because you

Re: [Puppet Users] Role vs hiera

2016-10-18 Thread Matt Zagrabelny
On Tue, Oct 18, 2016 at 1:34 PM, Ugo Bellavance wrote: > Hi, > > I've seen tutorials where they add the role as a fact in an client and then > can use the role for hiera data. Is there a better way to do so (ie without > having to configure anything on the client)? As a matter of

[Puppet Users] Puppet Agent doesn't receive Catalog, Node.rb on Master shows correct YAML-output (Foreman)

2016-10-16 Thread Matt
this run goes well, no errors, and the agent reports back to foreman that there are no changes. I'm really clueless what to check so can't post any output that show an actual issue. Anyone a clue where to start ? Thanks, Matt -- You received this message because you are subscribed

[Puppet Users] Setting resource dependency from hiera problem

2016-09-26 Thread Matt Raso-Barnett
era, so I'm really keen to make this work if it's possible. Does anyone have any idea what I'm doing wrong here? Thanks, Matt -- 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] variable scoping and erb templates

2016-08-16 Thread Matt Zagrabelny
On Tue, Aug 16, 2016 at 8:04 AM, jcbollinger wrote: >> >> On Tue, Aug 16, 2016 at 1:31 AM, Lowe Schmidt wrote: >> > What version of Puppet are you running? >> >> Debian Jessie: >> >> 3.7.2-4 >> > > > That looks like bug PUP-1220. Note that

Re: [Puppet Users] variable scoping and erb templates

2016-08-16 Thread Matt Zagrabelny
Hi Lowe, On Tue, Aug 16, 2016 at 1:31 AM, Lowe Schmidt <m...@loweschmidt.se> wrote: > What version of Puppet are you running? Debian Jessie: 3.7.2-4 -m > -- > Lowe Schmidt | +46 723 867 157 > > On 15 August 2016 at 20:48, Matt Zagrabelny <mzagr...@d.umn.edu> wrote:

[Puppet Users] variable scoping and erb templates

2016-08-15 Thread Matt Zagrabelny
Greetings! I am hitting a curious question and couldn't find an answer. I can access variables from other classes when using an erb template. Here is my minimal example: # puppet apply variable_scope_test.pp Notice: Compiled catalog for puppet.example.com in environment production in 0.12

Re: [Puppet Users] Re: most idiomatic way to set resource defaults

2016-07-12 Thread Matt Zagrabelny
On Tue, Jul 12, 2016 at 3:28 PM, Matthew Pounsett wrote: > > > On Monday, 11 July 2016 10:31:45 UTC-4, R.I. Pienaar wrote: >> >> >> best avoid create_resources in puppet 4 :) > > > Why is that? I can't speak for R.I., but I believe puppet 4 has "first class" looping

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-13 Thread Matt Larson
. Cheers, Matt On Thursday, June 9, 2016 at 3:55:49 PM UTC-4, Eric Sorenson wrote: > > Matt, I would like to understand this better and help you adopt Puppet > into your environment. > > This is not a rhetorical question, but it might sound like one: Do you > rebuild your linux

[Puppet Users] Autorequire defined type from custom type

2016-06-09 Thread Matt Dainty
As per subject, is it possible to autorequire a defined type within a custom type? I've previously done `autorequire(:a_type) do ... end` for both built in and other custom types but I was wondering if it's possible and therefore what do I pass to `autorequire()`? Matt -- You received

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread Matt Larson
), but it's still the same packaging mechanism, just dedicated repos per collective release, yes? Thanks for your input, Matt On Friday, June 3, 2016 at 6:10:01 PM UTC-4, jcbollinger wrote: > > > > On Friday, June 3, 2016 at 1:51:10 PM UTC-5, LinuxDan wrote: >> >> F

[Puppet Users] Re: Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread Matt Larson
Friday, June 3, 2016 at 8:44:20 PM UTC+2, Matt Larson wrote: >> >> >> I'm trying to create an RPM from source on a stock RHEL6-based (CentOS6) >> instance, but I'm seeing errors. I also posted in >> https://ask.puppet.com/question/26388/trouble-creat

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-08 Thread Matt Larson
gn that intelligent life exists elsewhere in > the universe is that none of it has tried to contact us.” (Bill Waterson: > Calvin & Hobbes) > > > On Jun 03, 2016, at 02:44 PM, Matt Larson <dryhum...@gmail.com > > wrote: > > > I'm trying to create an RPM from

Re: [Puppet Users] Trigger apt-get update if packages are to be installed

2016-06-06 Thread Matt Zagrabelny
On Mon, Jun 6, 2016 at 9:46 AM, Simon Weald wrote: > Hi everyone > > I've got a little bit of an issue which I'm currently fighting with. At the > moment, we pass an array of packages to be installed to the package > resource, however I need to call an apt-get update prior

[Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-03 Thread Matt Larson
in https://ask.puppet.com/question/26388/trouble-creating-a-release-rpm-from-puppetlabspuppet-source-repo/ Ideas? Thanks in Advance, Matt -- 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] Re: Sidedoor - Puppet Module

2016-06-02 Thread Matt Zagrabelny
Hi! On Thu, Jun 2, 2016 at 9:24 AM, Warron French wrote: > Is there a limit to the number of questions that I can post to Google Groups > or this list... in a single day? Nope. :) -m -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Test coverage behaviour changed between 3.x/4.x

2016-05-13 Thread Matt Dainty
test module that I used to demonstrate the original bug available here: https://github.com/bodgit/puppet-test Is this change in behaviour expected? Matt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

Re: [Puppet Users] DRY duplicated manifest code

2016-03-23 Thread Matt Zagrabelny
On Wed, Mar 23, 2016 at 3:04 PM, Hunter Haugen wrote: > Given the resource you want to apply this pattern to, it can be turned into > a one-liner with a collector: > > file { '/tmp/something': > ensure => file, > } > File['/tmp/something'] ~> Service <| title == 'apache2'

Re: [Puppet Users] DRY duplicated manifest code

2016-03-23 Thread Matt Zagrabelny
On Wed, Mar 23, 2016 at 3:04 PM, Hunter Haugen wrote: > Given the resource you want to apply this pattern to, it can be turned into > a one-liner with a collector: > > file { '/tmp/something': > ensure => file, > } > File['/tmp/something'] ~> Service <| title == 'apache2'

[Puppet Users] DRY duplicated manifest code

2016-03-23 Thread Matt Zagrabelny
Greetings Puppet Users, I have a chuck of code I'd like to centralize - you know DRY. I've looked into a custom function, but I'm uncertain how to get at the the puppet resources inside of ruby. Here is the verbatim copy of the chuck in a puppet manifest: if defined(Service['apache2']) {

[Puppet Users] puppet.conf documentation

2016-03-03 Thread Matt Zagrabelny
Greetings, I know that the puppet.conf documentation exists in extreme detail: http://docs.puppetlabs.com/puppet/3.7/reference/configuration.html What that page doesn't tell me is if the config items map to the [agent] or [master] sections of the config file. Does anyone know if that data

Re: [Puppet Users] Warning: Local environment: "production" doesn't match server specified node environment

2016-01-30 Thread Matt Zagrabelny
Hi Martin, On Sat, Jan 30, 2016 at 5:03 AM, Martin Alfke <tux...@gmail.com> wrote: > Hi Matt, > > an ENC can set an environment for a node. Yep. I'm using an ENC to set the environment to 'apt'. > In case that a node does not specify an environment it will make use of > e

Re: [Puppet Users] Warning: Local environment: "production" doesn't match server specified node environment

2016-01-28 Thread Matt Zagrabelny
Hi Alfredo, Thanks for the reply. On Wed, Jan 27, 2016 at 4:47 PM, Alfredo De Luca <alfredo.del...@gmail.com> wrote: > Hi Matt. > AFAIK production is the default environment assigned to all the nodes. Sure. > try > puppet config print environment Yep, production: # p

[Puppet Users] Warning: Local environment: "production" doesn't match server specified node environment

2016-01-27 Thread Matt Zagrabelny
Greetings, I've searched a bit and found some hits for the subject, but nothing that helps. I'm using an ENC to drive the environment of my nodes. I don't have "production" defined anywhere in my puppet.conf: # grep production /etc/puppet/puppet.conf || echo "not there" not there and it is

[Puppet Users] Puppet 4.3.1 - lookup failing - versioncmp() error

2016-01-24 Thread Matt Watson
e found some information attempting to deal with the problem as shown in the links below, but I still can't fix it. Does anyone know how I can deal with this issue? https://tickets.puppetlabs.com/si/jira.issueviews:issue-html/PUP-5721/PUP-5721.html https://tickets.puppetlabs.com/browse/PUP-4780 T

Re: [Puppet Users] puppet cert list yields no certs - SOLVED (sort of!)

2016-01-08 Thread Matt Zagrabelny
On Thu, Jan 7, 2016 at 5:41 PM, Matt Zagrabelny <mzagr...@d.umn.edu> wrote: > On Thu, Jan 7, 2016 at 5:35 PM, Peter Kristolaitis <alte...@alter3d.ca> wrote: >> Apparently I was a little too quick on the send button. :( >> >> To continue my previous email: >>

[Puppet Users] puppet cert list yields no certs

2016-01-07 Thread Matt Zagrabelny
Greetings, I am attempting to get a puppet 3.7 install off the ground. Please don't ask me to upgrade to 4.X series. :) On the puppet master (puppet-3-7.example.net): # puppet master --no-daemonize --debug [...] Info: Not Found: Could not find certificate puppet-client.example.net Debug: Routes

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

2016-01-07 Thread Matt Zagrabelny
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: # puppet cert list --all + "puppet-client-1.example.net"

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

2016-01-07 Thread Matt Zagrabelny
get the master to "accept" the CSR from the client. -m > > On 1/7/2016 6:17 PM, Matt Zagrabelny wrote: >> >> Greetings, >> >> I am attempting to get a puppet 3.7 install off the ground. Please >> don't ask me to upgrade to 4.X series. :) >> &

Re: [Puppet Users] ENC

2015-12-11 Thread Matt Zagrabelny
On Fri, Dec 11, 2015 at 11:54 AM, Sergiu Cornea wrote: > Hello guys, > > I have an ENC which is producing the right data as far as I could have test > it (copy and paste it in a yaml file), however, when I am using Puppet > directly Puppet seems to do nothing with

[Puppet Users] Puppetlabs/mysql forge module - user accounts

2015-11-25 Thread Matt Shields
I'm using the Puppetlabs/mysql forge module and I have it creating a db and adding a few users. Is there a way to automatically remove any accounts that are not defined in my puppet script? For example, if an admin manually created a user? -matt -- You received this message because you

Re: [Puppet Users] Regex and Hyphen in node definitions

2015-11-17 Thread Matt Shields
I'm running Puppet 3.7.4-1 On Monday, November 16, 2015 at 10:50:00 PM UTC-5, Henrik Lindberg wrote: > > On 2015-16-11 13:44, Matt Shields wrote: > > I'm having an issue with trying to use regex with hostnames that have a > > hyphen in their name. How can I get this to wo

Re: [Puppet Users] Regex and Hyphen in node definitions

2015-11-17 Thread Matt Shields
Excellent. That works. Thank you very much Matt On Tue, Nov 17, 2015 at 11:04 AM, R.I.Pienaar <r...@devco.net> wrote: > > > - Original Message - > > From: "Peter Bukowinski" <pmb...@gmail.com> > > To: "puppet-users" <puppet-user

Re: [Puppet Users] Regex and Hyphen in node definitions

2015-11-17 Thread Matt Shields
lient1-db001 client1-bidb001 client1-sdb001 client1-web001 Thanks Matt On Tuesday, November 17, 2015 at 10:22:03 AM UTC-5, Matt Shields wrote: > > I just updated to 3.8.4-1 and I'm still seeing the same issue > > On Tuesday, November 17, 2015 at 8:38:33 AM UTC-5, Matt Shields wrote:

Re: [Puppet Users] Regex and Hyphen in node definitions

2015-11-17 Thread Matt Shields
That didn't work. Same error (Invalid tag) On Tuesday, November 17, 2015 at 11:01:47 AM UTC-5, Peter Bukowinski wrote: > > Is consider removing the ^ and $ anchors. I think I you'll find it works > without them. > > -- Peter > > On Nov 17, 2015, at 9:57 AM, Matt Shields &

Re: [Puppet Users] Regex and Hyphen in node definitions

2015-11-17 Thread Matt Shields
I just updated to 3.8.4-1 and I'm still seeing the same issue On Tuesday, November 17, 2015 at 8:38:33 AM UTC-5, Matt Shields wrote: > > I'm running Puppet 3.7.4-1 > > On Monday, November 16, 2015 at 10:50:00 PM UTC-5, Henrik Lindberg wrote: >> >> On 2015-16-11 1

[Puppet Users] Regex and Hyphen in node definitions

2015-11-16 Thread Matt Shields
I'm having an issue with trying to use regex with hostnames that have a hyphen in their name. How can I get this to work? node /^(.*)-(db00)(.*)$/ { include role::db } [root@ops-db001 ~]# puppet agent -t Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could

[Puppet Users] enabling facts hash

2015-11-11 Thread Matt Zagrabelny
Greetings, I'm getting ready to spin up a puppet 3.7 environment (Debian Jessie) and was reading about the top level $facts hash that holds the client's facts. The puppet documentation states that it is off by default in the open source version [1]. "Drawbacks: Only works with Puppet 3.5 or

[Puppet Users] Re: enabling facts hash - SOLVED

2015-11-11 Thread Matt Zagrabelny
On Wed, Nov 11, 2015 at 9:42 AM, Matt Zagrabelny <mzagr...@d.umn.edu> wrote: > Greetings, > > I'm getting ready to spin up a puppet 3.7 environment (Debian Jessie) > and was reading about the top level $facts hash that holds the > client's facts. The puppet documentation

[Puppet Users] Reusable function/class code

2015-10-15 Thread Matt Shields
oming": ensure => directory, owner => $username_john, group => 'sftpusers', mode=> '0755', require => File["/sftp/${username_john}"], } file { "/sftp/${username_john}/outgoing": ensure => directory, owner => $username_john, gr

Re: [Puppet Users] Puppetdb garbage collection failing

2015-09-29 Thread Matt Jarvis
to virtual interfaces. Looks like the majority of that table is full of them. On Monday, September 28, 2015 at 6:45:49 PM UTC+1, Wyatt Alt wrote: > > On 09/28/2015 10:39 AM, Wyatt Alt wrote: > > On 09/28/2015 05:40 AM, Matt Jarvis wrote: > > We seem to have hit a bit of an i

[Puppet Users] Puppetdb garbage collection failing

2015-09-28 Thread Matt Jarvis
stgres is 9.3 Does anyone have any clues what's going on here ? Thanks Matt -- DataCentred Limited registered in England and Wales no. 05611763 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group an

[Puppet Users] Re: Clarification/Question re: Puppet 3.8, Cloud Provisioner, and VMWare

2015-07-17 Thread Matt
It appears in PE 3.8.1 there is puppetlabs/aws but nothing to replace node_vmware functionality to provision vmware vm's. I cannot find a module, am I missing something ? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this

Re: [Puppet Users] What's difference between roles and profiles, ENC and Hiera

2015-03-31 Thread Matt Zagrabelny
On Tue, Mar 31, 2015 at 10:16 AM, Dhaval d.josh...@gmail.com wrote: Hello, I am starting learning puppet, i want to understand what is the difference between roles and profiles and ENV and Hiera ? are all different ways of assigning classes or data to host ? can you help to give me brief

Re: [Puppet Users] Re: Puppetlabs-mysql with Percona

2015-03-26 Thread Matt Shields
-Server-server-56', 38 root_password = ${percona_root}, 39 #remove_default_accounts = true, 40 service_name= 'mysql', 41 override_options= $override_options, 42 require = [ Package['percona-release'] ], 43 } Matt On Thu

Re: [Puppet Users] Re: Puppetlabs-mysql with Percona

2015-03-26 Thread Matt Shields
Matt On Wed, Mar 25, 2015 at 8:45 PM, Elisiano Petrini elisi...@gmail.com wrote: Hi Matt, you might need to override also ::mysql::server::service_name. I don't know what's the service name of percona but it looks like that is not 'mysqld': Error: Could not start Service[mysqld

[Puppet Users] Puppetlabs-mysql with Percona

2015-03-24 Thread Matt Shields
because of failed dependencies Notice: Finished catalog run in 20.06 seconds Matt -- 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

[Puppet Users] Re: puppet 3.7.4 using auth.conf file from github - default acl at end apparently preventing access?

2015-03-17 Thread Matt W
Has anyone else come up with a solution for this? We just booted a new puppet master for the first time in a few weeks and it came up with Passenger 5 (we were on 4.0.69) -- and failed. For the time being we've patched our code to use an updated repo location with Passenger 4.x, but we'd like

Re: [Puppet Users] Client self-deregistration from PuppetDB

2014-12-17 Thread Matt Wise
with the model. We'll be adding some additional features to the API to support things like automatic node deregistration in PuppetDB as well. Matt Wise Sr. Systems Architect Nextdoor.com On Fri, Dec 12, 2014 at 10:40 AM, Martijn mart...@heemels.com wrote: Matt, I'd be very interested in that 'cert-api

[Puppet Users] Disabling a module on a particular node type ...

2014-12-16 Thread Matt Wise
parsed regardless of whether or not we 'include firewall'). Matt Wise Sr. Systems Architect Nextdoor.com -- 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

Re: [Puppet Users] Client self-deregistration from PuppetDB

2014-12-12 Thread Matt W
though. On Thursday, December 11, 2014 1:04:59 AM UTC-8, Martin Alfke wrote: Hi Matt, On 09 Dec 2014, at 19:58, Matt Wise ma...@nextdoor.com javascript: wrote: We boot up/shut-down 50-100 hosts a day on average... we're exploring PuppetDB, but I'm concerned about the model of just 'waiting

[Puppet Users] Client self-deregistration from PuppetDB

2014-12-09 Thread Matt Wise
themselves when they're being terminated? Matt Wise Sr. Systems Architect Nextdoor.com -- 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

Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-08 Thread Matt Wise
Thanks for that Ken... This morning I found a gem 'md-puppetdb-terminus' that someone has published that works perfectly, thankfully. Matt Wise Sr. Systems Architect Nextdoor.com On Mon, Dec 8, 2014 at 2:01 AM, Ken Barber k...@puppetlabs.com wrote: We have entirely-gem based Puppet masters

Re: [Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-08 Thread Matt Wise
+1 Matt Wise Sr. Systems Architect Nextdoor.com On Mon, Dec 8, 2014 at 9:34 AM, Darin Perusich da...@darins.net wrote: On Mon, Dec 8, 2014 at 5:01 AM, Ken Barber k...@puppetlabs.com wrote: We have entirely-gem based Puppet masters (no Ubuntu packages installing Puppet)... we're trying

[Puppet Users] Using Puppetdb-terminus via rubygems...?

2014-12-07 Thread Matt W
We have entirely-gem based Puppet masters (no Ubuntu packages installing Puppet)... we're trying to add in the puppetdb-terminus gemfile. We have it configured, and installed: # gem list | grep -i puppet hiera-puppet (1.0.0) puppet (3.7.3) puppet-catalog-test (0.3.1) puppet-lint (1.0.1)

Re: [Puppet Users] Announce: Puppet Server 0.2.0

2014-09-23 Thread Matt Zagrabelny
On Tue, Sep 23, 2014 at 2:03 PM, Gabriel Filion gabs...@lelutin.ca wrote: On 23/09/14 12:11 PM, Nate Wolfe wrote: We are thrilled to announce the preview release of Puppet Server, our newest open source project. Puppet Server is a next-generation alternative to our current Puppet master,

Re: [Puppet Users] Re: Announce: Facter 2.2.0

2014-08-28 Thread Matt Wise
griping. :) Matt Wise Sr. Systems Architect Nextdoor.com On Wed, Aug 27, 2014 at 3:51 PM, Kylo Ginsberg k...@puppetlabs.com wrote: On Tue, Aug 26, 2014 at 11:57 PM, Daniele Sluijters daniele.sluijt...@gmail.com wrote: Hey, I agree with the spirit of the fix but the fact that it isn't

Re: [Puppet Users] Re: Announce: Facter 2.2.0

2014-08-27 Thread Matt Wise
of Facter. Matt Wise Sr. Systems Architect Nextdoor.com On Wed, Aug 27, 2014 at 5:49 AM, Konrad Scherer konrad.sche...@windriver.com wrote: On 08/26/2014 04:42 PM, Will Hopper wrote: Hi, Mark! Thanks for raising your concerns on this. This change was actually intentional, as we have been

[Puppet Users] Order preference for defines

2014-08-27 Thread Matt Shields
= 'DefaultAppPool', update_path = false, } Matt -- 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

[Puppet Users] Re: Announce: Facter 2.2.0

2014-08-26 Thread Matt W
Hey we got this installed on some new systems yesterday and we found that in Ubuntu 12 the `lsbmajdistrelease` fact has changed suddenly from `12` to `12.04`! This actually broke quite a few of our manifests, and is fundamentally broken I believe. The major dist release version is '12'. Has

Re: [Puppet Users] Re: Confused Puppet Manifest ... Possible caching issue?

2014-08-25 Thread Matt Wise
it hard to tell where the requests for the node information are coming from. That said, it feels odd that the puppet master itself would reach out to its own Node API to get node information, rather than just using the information passed in for the catalog request. Matt Wise Sr. Systems Architect

Re: [Puppet Users] Re: Puppet 'node data' when using common node_names?

2014-08-25 Thread Matt Wise
Comments inline Matt Wise Sr. Systems Architect Nextdoor.com On Mon, Aug 25, 2014 at 6:55 AM, jcbollinger john.bollin...@stjude.org wrote: On Saturday, August 23, 2014 12:46:59 PM UTC-5, Matt W wrote: Will, Thanks for the response. I know its a bit of a unique model -- but when you

Re: [Puppet Users] Confused Puppet Manifest ... Possible caching issue?

2014-08-25 Thread Matt Wise
The log shows the remote connecting IP -- but the IP is the ELB in front of our puppet servers. Unfortunately because we're doing pure TCP-passthrough, ELB logging itself is not useful either in this case. :/ Matt Wise Sr. Systems Architect Nextdoor.com On Mon, Aug 25, 2014 at 2:08 PM, Felix

Re: [Puppet Users] Re: Puppet 'node data' when using common node_names?

2014-08-23 Thread Matt Wise
DOWN their node information from the puppet masters? Is it possible that they do an upload of node information, then ask for that information back, then somehow use the downloaded information for their catalog request? I could see some interesting race conditions if that was the case. Matt Wise Sr

[Puppet Users] Re: Puppet 'node data' when using common node_names?

2014-08-22 Thread Matt W
Anyone have any thoughts on this? On Thursday, August 14, 2014 10:39:16 AM UTC-7, Matt W wrote: We noticed that our puppet reports and our puppet node data stored on our puppet servers is always written out in the form of the 'node name'. So when we use a node name like 'prod_webserver

[Puppet Users] Re: Confused Puppet Manifest ... Possible caching issue?

2014-08-22 Thread Matt W
Even with the caching disabled, I think we ran into this again. Can one of the puppet-devs chime in here and let me know what might be going on? On Thursday, August 14, 2014 10:25:06 AM UTC-7, Matt W wrote: I've got a pretty strange issue here. Imagine we have two servers... *ServerA

[Puppet Users] Confused Puppet Manifest ... Possible caching issue?

2014-08-14 Thread Matt Wise
running Puppet 3.4.3 behind Nginx with Unicorn... and yes, even though we use a single node name for these machines, they use different 'facts' to define which packages and roles they are serving up...) Matt Wise Sr. Systems Architect Nextdoor.com -- You received this message because you

  1   2   3   4   5   >