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

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

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

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 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 > environment production.

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 wrote: > Hi Matt. > AFAIK production is the default environment assigned to all the nodes. Sure. > try > puppet config print environment Yep, production: # puppet config print

[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

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

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] 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] HA puppetmaster in AWS

2014-07-18 Thread Matt Zagrabelny
On Fri, Jul 18, 2014 at 1:37 AM, Dejan Golja dejan.go...@gmail.com wrote: We tried with yas3fs, but we abandoned that solution because was just not reliable enough. Also we considered GlusterFS, but again on some other projects the experience wasn't great. So my question is how you guys

Re: [Puppet Users] Best Practice - replacing /etc/passwd and +@netgroups

2014-07-16 Thread Matt Zagrabelny
On Wed, Jul 16, 2014 at 10:24:26AM -0400, Betsy Schwartz wrote: I'm still sort of boggled that nobody seems to be using puppet for /etc/passwd. That always seemed to us to be the *first* thing we'd want to get under centralized control. We use nsswitch. % man nsswitch.conf %

Re: [Puppet Users] Best Practice - replacing /etc/passwd and +@netgroups

2014-07-13 Thread Matt Zagrabelny
On Sun, Jul 13, 2014 at 3:01 PM, Betsy Schwartz betsy.schwa...@gmail.com wrote: Is this, indeed, a Solved Problem? What is everyone else doing? thanks Betsy Disclaimer: I am not doing this. Yet. Have you looked at FreeIPA? -mz -- You received this message because you are subscribed to the

[Puppet Users] service config file validation?

2014-06-05 Thread Matt Zagrabelny
What is the community's opinion/experience with performing some sort of validation check before puppet drives out a config and restarts a service? I'm thinking of things like ISC DHCP where you can test the correctness of a config: dhcpd -t -q -cf /etc/dhcp/dhcpd.conf cp

[Puppet Users] list all resources of given type

2014-05-19 Thread Matt Zagrabelny
Greetings, I've done some grepping of the puppet-users list and cannot find a definitive answer. I am running a puppet 2.6/2.7 environment. Is there a way to query the master to get a list of agents/clients that have (in their computed catalog) a certain resource (cron for instance) ? It looks

Re: [Puppet Users] Enable puppet agent by default

2014-04-29 Thread Matt Zagrabelny
Hi! On Tue, Apr 29, 2014 at 9:13 AM, Marc marcol...@gmail.com wrote: Hello I am trying puppet 3.5.1 on a Debian Jessie. How can I enable Puppet by default on new installations ? It looks like it is. I need to do that, for Debian deployment. I use Debian FAI to install Debian on my

Re: [Puppet Users] what the mx mean in case

2014-03-10 Thread Matt Zagrabelny
On Sun, Mar 9, 2014 at 5:58 PM, Teoh khah swee ks.teo...@gmail.com wrote: HI all, I just come across an case statement for puppet. I would like to know what the means of the mx for below sample code? case $::operatingsystem { /(?-mx:AIX)/ :{ From: http://perldoc.perl.org/perlre.html

Re: [Puppet Users] puppet kick

2014-02-17 Thread Matt Zagrabelny
On Mon, Feb 17, 2014 at 11:00 AM, kavya reddy kethikavy...@gmail.com wrote: Hi all, I just started working with puppet.i want a simple push mechanism from puppet master on to agent.i tried using puppet kick though its running and displaying message successfully exited the changes are not being

Re: [Puppet Users] puppet run interval

2014-01-29 Thread Matt Zagrabelny
Hi Andy, On Wed, Jan 29, 2014 at 5:07 AM, Andy Spiegl puppet.a...@spiegl.de wrote: Would you please be willing to include some context into your replies? Would YOU please NOT use fullquotes into your replies? Yes, I will. However, my earlier email wasn't a reply in the traditional sense. It

Re: [Puppet Users] puppet run interval

2014-01-28 Thread Matt Zagrabelny
Jose, Would you please be willing to include some context into your replies? Thanks, -mz On Tue, Jan 28, 2014 at 11:46 AM, Jose Luis Ledesma joseluis.lede...@gmail.com wrote: It is the default behavior, so if you did not especify otherwise it will run every 30 minutes. Regards, -- You

Re: [Puppet Users] MySql: allow user root to access from any host

2013-12-16 Thread Matt Zagrabelny
On Sat, Dec 14, 2013 at 7:04 AM, Felix Gläske skel...@gmail.com wrote: Hey, I'm doing my first steps with puppet right now and I'm trying to set up a dev machine. For this I'm installing MySql and want to do some initial set up. The server is up and running and also my database is created.

[Puppet Users] puppet dashboard with \n\n\n

2013-10-03 Thread Matt Zagrabelny
Greetings, I've setup puppet dashboard 1.2.23 along with puppetmaster 2.7.18. I am seeing many \n strings all over the place when looking at reports. Specifically the \n's are in the Metrics, Log, Events links. My nodes are showing up okay, and it seems just to be a problem with the reports.

Re: [Puppet Users] puppet dashboard with \n\n\n

2013-10-03 Thread Matt Zagrabelny
On Thu, Oct 3, 2013 at 5:45 PM, Juan Sierra Pons j...@elsotanillo.net wrote: El 03/10/2013 14:00, Matt Zagrabelny mzagr...@d.umn.edu escribió: Greetings, I've setup puppet dashboard 1.2.23 along with puppetmaster 2.7.18. I am seeing many \n strings all over the place when looking

Re: [Puppet Users] mco puppet status returns twice the same node

2013-10-01 Thread Matt Zagrabelny
On Tue, Oct 1, 2013 at 1:56 AM, st...@ouestil.ch wrote: Hi everyone I'm having a strange behavior. The mco puppet status and count commands return that 3 agents are known, but 2 are the same node (epd9023). When trying to disable/enable the epd9023, then only 1 is detected... Has someone

[Puppet Users] module namespace?

2013-05-16 Thread Matt Zagrabelny
Greetings, When writing modules are people namespacing them to avoid collisions with puppetlabs' modules? I wrote some (very simple) modules: mysql postgresql that now have namespace conflicts when I am trying to install the puppetlabs modules of the same name. Is there a best practice or

Re: [Puppet Users] Experiences migrating from SCCM to Puppet

2013-04-15 Thread Matt Zagrabelny
On Mon, Apr 15, 2013 at 3:31 AM, Francisco Martinez franti...@gmail.com wrote: Hello, I would like to know if there are any resources (success stories, comparisons, blogs...) regarding the use of puppet as a substitute to SCCM in Windows platforms. Would also love to hear success stories from

Re: [Puppet Users] What is ActiveMQ Broker?

2013-03-13 Thread Matt Zagrabelny
On Wed, Mar 13, 2013 at 12:47 AM, snlsingha...@gmail.com wrote: Can anybody tell me what exactly ActiveMQ does? Is it a storage of messages produced by producer and ready to consume by consumer? M i understanding it correctly or not? Please tell me?

Re: [Puppet Users] include statement not being seen

2013-03-11 Thread Matt Zagrabelny
On Sun, Mar 10, 2013 at 6:30 PM, Jakov Sosic jso...@srce.hr wrote: On 03/08/2013 06:54 PM, Matt Zagrabelny wrote: Greetings, I am getting a perplexing message on a client: Mar 8 11:49:06 matlab puppet-agent[2028]: Could not run Puppet configuration client: Could not find dependency Class

[Puppet Users] include statement not being seen

2013-03-08 Thread Matt Zagrabelny
Greetings, I am getting a perplexing message on a client: Mar 8 11:49:06 matlab puppet-agent[2028]: Could not run Puppet configuration client: Could not find dependency Class[Matlab] for File[/usr/local/MATLAB/R2012a/etc/license.dat] at /etc/puppet/manifests/debian/matlab.pp:24 In my node

Re: [Puppet Users] include statement not being seen

2013-03-08 Thread Matt Zagrabelny
. http://projects.puppetlabs.com/issues/1372 It's a nasty one, and a few ideas are being discussed to fix it, but it'll likely be 3.2 or 3.3, and possibly 4.x before it can be addressed. Stefan - Zipkid - Goethals On Fri, Mar 8, 2013 at 6:54 PM, Matt Zagrabelny mzag...@d.umn.edu wrote

Re: [Puppet Users] Exec command timeout

2013-01-03 Thread Matt Zagrabelny
Note: I didn't follow this thread from the beginning, so this comment might be out of place. On Thu, Jan 3, 2013 at 8:59 AM, Anthony BRODARD brodard.anth...@gmail.com wrote: Hi list, I've writed this module to deploy the public key of our debian repository : file {

Re: [Puppet Users] Managing ssh server's keys?

2012-11-28 Thread Matt Zagrabelny
On Wed, Nov 28, 2012 at 1:50 PM, Jakov Sosic jso...@srce.hr wrote: On 11/26/2012 08:54 PM, Matt Zagrabelny wrote: On Mon, Nov 26, 2012 at 1:47 PM, Jakov Sosic jso...@srce.hr wrote: Hi. I'm wondering is there a way to manage ssh servers, in a way that every machine has it's own key? I've

Re: [Puppet Users] Managing ssh server's keys?

2012-11-28 Thread Matt Zagrabelny
On Wed, Nov 28, 2012 at 2:14 PM, Jakov Sosic jso...@srce.hr wrote: On 11/28/2012 09:10 PM, Matt Zagrabelny wrote: Part of our server bootstrapping process is to copy over the ssh keys to the puppetmaster after puppet has installed openssh-server. So how do you do that with puppet? Or you use

Re: [Puppet Users] Managing ssh server's keys?

2012-11-26 Thread Matt Zagrabelny
On Mon, Nov 26, 2012 at 1:47 PM, Jakov Sosic jso...@srce.hr wrote: Hi. I'm wondering is there a way to manage ssh servers, in a way that every machine has it's own key? I've used the private file server mechanism to serve out node sensitive files. The following snippet shows this: class

Re: [Puppet Users] Managing ssh server's keys?

2012-11-26 Thread Matt Zagrabelny
On Mon, Nov 26, 2012 at 4:05 PM, Jakov Sosic jso...@srce.hr wrote: On 11/26/2012 08:54 PM, Matt Zagrabelny wrote: file { /etc/ssh/ssh_host_rsa_key.pub: source = puppet:///private/etc/ssh/ssh_host_rsa_key.pub, I didn't know about this one, do I need any special configuration

Re: [Puppet Users] Defining dynamic cron jobs

2012-11-05 Thread Matt Zagrabelny
On Mon, Nov 5, 2012 at 4:23 AM, Alexander Holte-Davidsen alexander.david...@gmail.com wrote: Hi all, I have a application that I schedule via cron. This is a application that runs once a week, either on Tuesday or Thursday. The scheduling is now done via Puppet. I now see that I need to

Re: [Puppet Users] Re: Variables and autoloading

2012-10-15 Thread Matt Zagrabelny
On Mon, Oct 15, 2012 at 9:38 AM, jcbollinger john.bollin...@stjude.org wrote: On Monday, October 15, 2012 9:03:50 AM UTC-5, jcbollinger wrote: [...] parametrized classes still have serious deficiencies in Puppet 3 (and worse deficiencies in Puppet 2). Do write them. I meant do not write

Re: [Puppet Users] Change Tab behavior in 3.0+

2012-10-15 Thread Matt Zagrabelny
On Mon, Oct 15, 2012 at 10:57 AM, Tom Swartz tom.swart...@gmail.com wrote: Hey all, I have a question regarding the choice to move to spaces (rather than tabs) in the editor. May I ask the reasoning behind this? Tabs render to different number of spaces depending on the program or user

[Warning: Phish?] Re: [Puppet Users] Can puppet add repositories to nodes?

2012-09-17 Thread Matt Zagrabelny
On Mon, Sep 17, 2012 at 8:55 AM, Joe Topjian joe.topj...@cybera.ca wrote: Hi Sandra, The Puppet Apt module should be of some use: http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/ What I've done is use use file resources and the following apt

Re: [Puppet Users] merging iptables rules with puppet

2012-08-15 Thread Matt Zagrabelny
Perhaps put them in a chain of their own? I am not sure if puppet with delete chains. -mz On Wed, Aug 15, 2012 at 1:48 PM, Geoff Galitz ggal...@shutterstock.com wrote: I'm still a bit noobish with puppet... In short what I want to do is merge puppet managed iptables with dynamically added

[Puppet Users] exec subscribe debugging?

2012-08-10 Thread Matt Zagrabelny
Hi! I've got a simple file and exec resource coupling that does not seem to be working as expected: file { /etc/postfix/transport: source = puppet:///private/etc/postfix/transport, } exec { rebuild_transport_index_for_mailman: command = postmap /etc/postfix/transport,

Re: [Puppet Users] exec subscribe debugging?

2012-08-10 Thread Matt Zagrabelny
On Fri, Aug 10, 2012 at 9:53 AM, David Schmitt da...@dasz.at wrote: On 10.08.2012 16:19, Matt Zagrabelny wrote: Hi! I've got a simple file and exec resource coupling that does not seem to be working as expected: file { /etc/postfix/transport: source = puppet:///private/etc

Re: [Puppet Users] exec subscribe debugging?

2012-08-10 Thread Matt Zagrabelny
On Fri, Aug 10, 2012 at 10:14 AM, Matt Zagrabelny mzagr...@d.umn.edu wrote: On Fri, Aug 10, 2012 at 9:53 AM, David Schmitt da...@dasz.at wrote: On 10.08.2012 16:19, Matt Zagrabelny wrote: Hi! I've got a simple file and exec resource coupling that does not seem to be working as expected

[Puppet Users] default notify directive for files in a directory

2012-03-23 Thread Matt Zagrabelny
namespace. It would reduce directive clutter if there was a way to say, Any file living under /etc/daeomn/config.d has a default notify of 'Class[daemon::service],'. Thanks for the advice. Sincerely, -matt zagrabelny -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread Matt Zagrabelny
-- 1 root root 668 Jan 18 11:35 ssh_host_dsa_key -rw-r--r-- 1 root root 598 Jan 18 11:35 ssh_host_dsa_key.pub -rw-r--r-- 1 root root 1.7K Jan 18 11:35 ssh_host_rsa_key -rw-r--r-- 1 root root 390 Jan 18 11:35 ssh_host_rsa_key.pub HTH, -Matt Zagrabelny -- This space was intentionally left blank

Re: [Puppet Users] installing packages from debian backports?

2011-12-22 Thread Matt Zagrabelny
On Thu, Dec 22, 2011 at 3:31 AM, Walter Heck walterh...@gmail.com wrote: On Thu, Dec 22, 2011 at 11:19, Tom De Vylder t...@penumbra.be wrote: How about this: package { 'puppetmaster/squeeze-backports':  ensure = installed, } Looks a lot easier to me. It takes all the dependencies it

Re: [Puppet Users] installing packages from debian backports?

2011-12-22 Thread Matt Zagrabelny
On Thu, Dec 22, 2011 at 7:32 AM, Matt Zagrabelny mzagr...@d.umn.edu wrote: On Thu, Dec 22, 2011 at 3:31 AM, Walter Heck walterh...@gmail.com wrote: On Thu, Dec 22, 2011 at 11:19, Tom De Vylder t...@penumbra.be wrote: How about this: package { 'puppetmaster/squeeze-backports':  ensure

[Puppet Users] installing packages from debian backports?

2011-12-21 Thread Matt Zagrabelny
::Options::=--force-confold install request-tracker4 I was thinking of making a custom provider. Is that sane? Thanks for the hints! -matt zagrabelny -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet

Re: [Puppet Users] installing packages from debian backports?

2011-12-21 Thread Matt Zagrabelny
to use the '-t' option with puppet. Any other advice is (equally) welcome. Thanks, -mz On Thu, Dec 22, 2011 at 00:50, Matt Zagrabelny mzagr...@d.umn.edu wrote: Hi Puppet Users, I am trying to install a package (request-tracker4) from Debian backports onto a stable (squeeze) Debian system

[Puppet Users] is_virtual fact

2011-11-23 Thread Matt Zagrabelny
}01de0bd1b00e2ca04ebb873ace6f20fe' to '{md5}a882618adcb31667cbab22731f8f16e2' Any ideas what is wrong here? Thanks for the help! -matt zagrabelny -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com

Re: [Puppet Users] is_virtual fact

2011-11-23 Thread Matt Zagrabelny
Facter facts are all strings, not true booleans.  You'll need to check for whether or not $is_virtual == 'true'. Thanks for the prompt reply, Jacob! Things look good now. -mz -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this

Re: [Puppet Users] Re: passing parameters to templates

2011-10-18 Thread Matt Zagrabelny
On Tue, Oct 18, 2011 at 12:11 PM, Steve Snodgrass phe...@gmail.com wrote: To be a little more explicit about what Nan said, if you use a parameterized class, any parameters you passed into the class will also be available in the template.  The same things goes for a define. I've got a class:

[Puppet Users] passing parameters to templates

2011-10-17 Thread Matt Zagrabelny
Hi, Is it possible to pass parameters to use in templates? Or do you just set global variables in the class and then reference that in the template? Thanks, -matt zagrabelny -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

[Puppet Users] per host/node ssl key cert info

2011-10-04 Thread Matt Zagrabelny
nodes, but I don't know: A) If people are using puppet to store the certs/keys for various applications (apache, shib, syslog w/ TLS, etc.) within specific hosts B) If so, how best to do it with having puppet deploy those certs and keys to said hosts Thanks for any hints or info! -matt zagrabelny