Re: [Puppet Users] IF statement using custom fact does not work

2024-01-10 Thread Aaron Russo
If $facts['versionrepokubelocal'] is an integer I don't think your comparison will work. Try: ``` if $facts['versionrepokubelocal'] != 2 { notify { "Upgrading repository version": }type here } ``` -- Aaron Russo (He/Him/His) PIXAR | Lead Systems Enginee

Re: [Puppet Users] using vault

2023-05-25 Thread Aaron Russo
ecipient, please delete the e-mail and any >> attachments and notify us immediately. >> >> -- > 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

[Puppet Users] Re: get secrets from vault

2023-03-02 Thread Aaron Russo
Don't you need a Deferred call to read into the hash, since it's a Deferred? We use a Deferred inline_epp to do this: ``` $test = Deferred('vault_lookup::lookup', ["secret/data/test", 'https://examplevault.com:8200']) node default { notify { 'example': message => Deferred('inline_epp', ['<

Re: [Puppet Users] Hiera 5 and Deferred / Sensitive

2022-11-02 Thread Aaron Russo
ionality in hiera. What I've done is similar to petems-hiera_vault except I return a Deferred function to perform the vault_lookup::lookup on the agent side rather than perform the vault lookup on the server side. Thanks, Aaron -- Aaron Russo (He/Him/His) PIXAR | Senior Systems Engineer On Tue

Re: [Puppet Users] Hiera 5 and Deferred / Sensitive

2022-10-31 Thread Aaron Russo
it is the only value being interpolated. I was then able to use that value as desired, provided whatever was consuming the value accepted (and unwrapped) the Sensitive[String] that was returned from the Deferred function. Cheers, Aaron On Monday, October 31, 2022 at 1:00:25 PM UTC-7 Aaron

Re: [Puppet Users] Hiera 5 and Deferred / Sensitive

2022-10-31 Thread Aaron Russo
e changes in Hiera/Puppet, this part may not be possible? Anyone have experience with this? On Fri, Oct 21, 2022 at 2:28 PM Aaron Russo wrote: > We're using the vault_lookup[1] module to retrieve secrets from Vault via > mTLS. It works fairly well when grabbing secrets within a manif

[Puppet Users] Hiera 5 and Deferred / Sensitive

2022-10-21 Thread Aaron Russo
be doing wrong? Sanitized code / outputs / etc provided[3] for mocking. Versions: puppet: 7.20.0 puppetserver: 7.8.0 puppetlabs/stdlib: 8.30 Thanks! Aaron [1] https://forge.puppet.com/modules/puppet/vault_lookup [2] https://groups.google.com/g/puppet-users/c/E-Q-ok-B0gQ/m/h-tYJFP

[Puppet Users] Changes to Supported Modules

2022-07-01 Thread Aaron Robinson
llow us to bring new and exciting content to you that can help manage and run your environments. Catch us on Slack <https://puppetcommunity.slack.com/archives/C11LCKKQ9> and look out for our weekly updates on our blog <https://puppetlabs.github.io/content-and-tooling-team/>. Than

Re: [Puppet Users] single CA with multiple masters - agent getting: sslv3 alert certificate unknown

2021-05-06 Thread Aaron Nicoli
-t` You "sub"-agents (eg. server-c) should now "just work" - provided they are signed against the ca of server-a... Regardless, just run from server-c: `puppet agent -t` On Friday, 7 May 2021 at 11:12:02 am UTC+10 Aaron Nicoli wrote: > OMG I got it working... > >

Re: [Puppet Users] single CA with multiple masters - agent getting: sslv3 alert certificate unknown

2021-05-06 Thread Aaron Nicoli
OMG I got it working... I don't even really know how yet, but I'll reverse engineer what I did and advise back here. On Friday, 7 May 2021 at 10:43:29 am UTC+10 Aaron Nicoli wrote: > So, I'm thinking this is the issue I'm running into, but still not sure > ho

Re: [Puppet Users] single CA with multiple masters - agent getting: sslv3 alert certificate unknown

2021-05-06 Thread Aaron Nicoli
On Friday, 7 May 2021 at 10:09:50 am UTC+10 Aaron Nicoli wrote: > Cheers Warron, > > It was pretty obvious something on B is broken, but what who knows... > > I've just deleted everything related to B and C (A is prod, B and C are > new dev) [rm -rf /etc/puppetlabs

Re: [Puppet Users] single CA with multiple masters - agent getting: sslv3 alert certificate unknown

2021-05-06 Thread Aaron Nicoli
ot; the correct certs on server-B... That's the best conclusion I can come to at this point. On Friday, 7 May 2021 at 9:50:24 am UTC+10 warron...@gmail.com wrote: > @Aaron, good evening from the east coast of the USA. > > It looks like the first break in the chain is on ServerB, if that w

Re: [Puppet Users] single CA with multiple masters - agent getting: sslv3 alert certificate unknown

2021-05-06 Thread Aaron Nicoli
ed by the CA certificate chain? > > Try executing: *puppet cert list* and confirm that all certificates for > all three servers are listed. > > ------ > Warron French > > > > On Thu, May 6, 2021 at 5:52 PM Aaron Nicoli wrote: > >> Hi all, &

[Puppet Users] single CA with multiple masters - agent getting: sslv3 alert certificate unknown

2021-05-06 Thread Aaron Nicoli
Hi all, I have the following puppet layout: ``` Server A - Puppetserver (CA) Server B - Puppetserver Server C - Agent ``` With the agent (server C) having it's cert signed by the CA (server A) however pointed to (server B) as it's master. The issue I'm having is that when running `puppet

[Puppet Users] Re: puppet agent running on same host as puppet server, possible cert issues

2017-07-05 Thread aaron . zschau
he fqdn of the server. Changing that line to replace @@PUPPET4_SERVER@@ with our actual fqdn resolved this issue. I believe this may have been misconfigured somehow during the early setup on this system. On Wednesday, July 5, 2017 at 12:20:00 PM UTC-4, aaron@gmail.com wrote: > &g

[Puppet Users] Re: puppet agent running on same host as puppet server, possible cert issues

2017-07-05 Thread aaron . zschau
y differences. On Tuesday, July 4, 2017 at 5:46:03 AM UTC-4, Peter Faller wrote: > > Is the puppet agent running as the same user when run as a daemon and when > run via 'puppet agent' from the command line? I've seen that make a > difference. > > On Monday,

[Puppet Users] Re: puppet agent running on same host as puppet server, possible cert issues

2017-07-03 Thread aaron . zschau
AM UTC-4, Peter Faller wrote: > > You can specify which client certificate(s) to clean by means of: > > # puppet cert clean > > > > On Friday, 16 June 2017 00:31:57 UTC+2, aaron@gmail.com wrote: >> >> I'm running into an issue on one of our puppet4 se

[Puppet Users] puppet agent running on same host as puppet server, possible cert issues

2017-06-15 Thread aaron . zschau
I'm running into an issue on one of our puppet4 servers where the agent only works when run as 'puppet agent -t' but fails when run via the puppet service 'systemctl restart puppet' results in errors as follows: Jun 15 14:49:45 puppet21b puppet-agent[29620]: Starting Puppet client version 4.8

Re: [Puppet Users] Could not retrieve catalog from remote server: Error 400 Unsupported query parameter 'command'

2017-01-19 Thread Aaron D
Thanks Wyatt, that was the issue! On Wednesday, January 18, 2017 at 9:27:21 AM UTC-8, Wyatt Alt wrote: > > > > On 01/16/2017 07:05 PM, aloha...@gmail.com wrote: > > Hello, > > I just added postgresql 9.6 to my puppet server and receive this error. > > Error: Could not retrieve catalog from rem

[Puppet Users] Re: control-repo how to use the profile setup

2016-07-11 Thread aaron . u
New to puppet here, but I used this to handle my java dependency. https://forge.puppet.com/puppetlabs/java -- 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 pu

Re: [Puppet Users] Unexpected behavior when using variable interpolation on a subkey in hiera

2016-06-13 Thread Aaron Russo
Hi Henrik, I traced down the issue, and it's actually not hiera. The problem is actually the version of hiera-eyaml backend we are running. Updating from 2.0.0 -> 2.1.0 appears to resolve the issue. Thanks for your help, Aaron Russo Platforms and Infrastructure UC Berkeley, IST On Mon

Re: [Puppet Users] Unexpected behavior when using variable interpolation on a subkey in hiera

2016-06-13 Thread Aaron Russo
Hi Henrik, Yes, hiera_hash is doing it as well. That's what led me down the road to debugging directly with Hiera. Aaron Russo Platforms and Infrastructure UC Berkeley, IST On Fri, Jun 10, 2016 at 6:37 PM, Henrik Lindberg wrote: > On 10/06/16 20:14, aru...@berkeley.edu wrote: > >

[Puppet Users] upgrading module 'locp-cassandra' to v1.24.0 caused trouble

2016-06-02 Thread aaron . u
Hi, Am reporting that upgrading to v1.24.0 from v1.23.0 caused puppet to try to upgrade cassandra on nodes where cassandra class was not defined.This blew up my dev cassandra. -Aaron. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: Puppet Hiera Hash SubKey Interpolation

2016-04-27 Thread Aaron Russell
I am not sure if you can lookup a subkey like that in hiera. (i could be wrong) But this is how i do something similar. I do a hiera lookup for the hash in the class $mount_points=hiera('talend::exec_mount_points') Then i pull out all the keys $mount_points_keys = keys($mount_points) Then u

[Puppet Users] puppet 4.4 syntax help with nested fact using erb template (solved)

2016-04-13 Thread Aaron D
Hi, I'm trying to get a fact into a file. It worked fine in puppet 3.0.2 but now with 4.4 it doesn't work. It seems I'm not understanding the new syntax or maybe the scope level too? As I was writing this I figured out the solution and am including it here in case others come across the same

[Puppet Users] Re: file directory with recurse and tags

2015-12-29 Thread Aaron Russell
Sorry here is my puppet version 4.3.1 On Tuesday, December 29, 2015 at 3:00:29 PM UTC-5, Aaron Russell wrote: > > When using notify to restart a service after a directory sync (File > resource with recurse) and tags the service never restarts. > I tried to look through the pup

[Puppet Users] file directory with recurse and tags

2015-12-29 Thread Aaron Russell
When using notify to restart a service after a directory sync (File resource with recurse) and tags the service never restarts. I tried to look through the puppet bugs but could not find any. Does anyone have any ideas? Code i tested with. class test { tag 'blue' file { "/tmp/foo":

Re: [Puppet Users] powershell detect then install nonexistent or replace existing custom service

2015-11-04 Thread Aaron
not being able to uninstall first? this is the step I can't seem to figure out. Aaron On Wednesday, November 4, 2015 at 2:58:46 PM UTC-5, Aaron wrote: > > Thanks Rob! > > This appears to work well after looking into your suggestions...I tried to > include an "unless&quo

Re: [Puppet Users] powershell detect then install nonexistent or replace existing custom service

2015-11-04 Thread Aaron
Services\Win\FooServiceConsumerSvc\FooService.exe"', provider=> powershell, refreshonly => true, } } On Tuesday, November 3, 2015 at 10:44:03 AM UTC-5, Rob Reynolds wrote: > > > > On Fri, Oct 30, 2015 at 8:50 AM, Aaron > > wrote: > >> I h

[Puppet Users] powershell detect then install nonexistent or replace existing custom service

2015-10-30 Thread Aaron
I have a question and hopefully someone can help me resolve it - In windows, I have custom services that I need to manage. I've been running this code for a while, and it works well for several custom Windows services, but the problem is I cannot run it on a bare server without manual interve

Re: [Puppet Users] Re: All Hosts Shown as Unresponsive. Worker Restart Fails. Clients Seem Happy?

2015-10-19 Thread Aaron
So, I just ran into this after my VM ran out of space. I removed all of the reports from /var/lib/puppet/reports# to free up space and then restarted the server. After the restart, I could run the following $ sudo service apache2 start * Starting web server apache2 [ OK ] $ sudo service puppetm

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-30 Thread Aaron Lager
And final post, an example of two hosts: {"hostname.example.com":{"ip":"1.2.3.4","host_aliases":"an_alias"}, "hostname2.example.com":{"ip":"1.2.3.5","host_aliases":"an_alias2"}} On

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-30 Thread Aaron Lager
Answer from puppetlabs that works: {"hostname.example.com":{"ip":"1.2.3.4","host_aliases":"an_alias"}} yay! On Tuesday, June 30, 2015 at 10:02:31 AM UTC-7, Aaron Lager wrote: > > Using a JSON validation tool, I massaged your sample into

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-30 Thread Aaron Lager
an't convert String into Hash argh! On Tuesday, June 30, 2015 at 9:04:51 AM UTC-7, jcbollinger wrote: > > > > On Monday, June 29, 2015 at 4:01:36 PM UTC-5, Aaron Lager wrote: >> >> So I started over from scratch, and now I get the following error on the >> ag

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-30 Thread Aaron Lager
into a Hash. Using your provided sample snippet: Error 400 on SERVER: "'hosts::hostentries': 'puppet.mybluebolt.com': 'ip': '10.150.28.8' 'host_aliases': 'puppet'" is not a Hash. I fee like I'm a fish flopping aroun

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
at is wrong with my syntax? Aaron On Friday, June 26, 2015 at 5:26:49 PM UTC-7, Aaron Lager wrote: > > I'm evaluating PE and after the super simple success of the ntp example, I > thought I'd try out the /etc/hosts modules. > I'm trying to add additional host ent

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
Okay, I have my first clue: # THIS FILE IS MANAGED BY PUPPET # /etc/puppetlabs/puppet/environments/production/modules/hosts/templates/ trusty/etc/hosts.erb This file does not existnice! On Monday, June 29, 2015 at 10:06:20 AM UTC-7, Aaron Lager wrote: > > @John, the host modules a

[Puppet Users] Re: help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
US1-APP01.AVC2-WUS1-CS1.d6.internal.cloudapp.net AVC2-WUS1-APP01 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters Is there a log file somewhere that might hint at what is going on? Thanks, Aaron

Re: [Puppet Users] help with ghoneycutt hosts on PE

2015-06-29 Thread Aaron Lager
n via the dash board? Thanks, Aaron On Saturday, June 27, 2015 at 4:32:54 AM UTC-7, Johan De Wit wrote: > > purge_hosts > > Boolean to optionally purge unmanaged entries from hosts > >- *Default*: false > > > Check this parameter. When set to true, yuo will ha

[Puppet Users] help with ghoneycutt hosts on PE

2015-06-26 Thread Aaron Lager
le. Here is my value for host_entries: {"10.150.28.8":"puppet.mybluebolt.com"} There are no errors reported, that I'm aware of. The documentation simply says it's a Hash of host entries. I don't understand what I am doing wrong. Thanks for any help you can give.

Re: [Puppet Users] Re: Adding then removing SW - best practices?

2014-10-28 Thread Aaron Grewell
I've begun to shift to anticlass-by-default. This is driven by the need to provide documentation to auditors and the like. I foo::remove by default, then foo::install as needed (wrapped in appropriate logic to avoid resource conflicts). On Monday, October 27, 2014 1:21:55 PM UTC-7, JonY wrote

Re: [Puppet Users] Puppet 3.7 Directory Environments and Vagrant Configuration

2014-10-02 Thread Aaron Russo
rectory environments since I didn't need them, I started off going that route and it did work. Might be of use if you don't mind digging through the code a bit and you're still stuck. https://github.com/ucbunix/vagrant-puppet Something to note is I have a bootstrap process to bring up

Re: [Puppet Users] Custom Fact used in exec command

2014-04-23 Thread Aaron Shegrud
damn! I knew it was going to be easy. thanks and thanks again community! today was not my day... On Wednesday, April 23, 2014 5:48:34 PM UTC-7, jmslagle wrote: > > > On 4/23/14, 8:10 PM, "Aaron Shegrud" > > wrote: > > > >I created a fact, loaded it in

[Puppet Users] Custom Fact used in exec command

2014-04-23 Thread Aaron Shegrud
I created a fact, loaded it into the my modules/[module]/lib/facter/ directory it synchronized across all my users. I can see the fact in puppet-dashboard for all of my users: mac_airport_iden1 but I cannot seem to use it in a command. I'm trying to run this command: exec {'killwifi': com

Re: [Puppet Users] elseIf statement confusion

2014-04-23 Thread Aaron Shegrud
I'm serious I think I read that a million times and my dyslexia kicked in until you pointed it out. thanks. On Wednesday, April 23, 2014 2:07:36 PM UTC-7, Robin Bowes wrote: > > Read here: > > > http://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html#if-statements > > > In par

Re: [Puppet Users] elseIf statement confusion

2014-04-23 Thread Aaron Shegrud
ahh damn it. haha thanks. On Wednesday, April 23, 2014 2:07:36 PM UTC-7, Robin Bowes wrote: > > Read here: > > > http://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html#if-statements > > > In particular, note the spelling of elsif. :) > > R. > > -- You received this me

[Puppet Users] elseIf statement confusion

2014-04-23 Thread Aaron Shegrud
I have a class class whs::auth { if ($macosx_productversion_major == '10.9'){ file { 'authorization109': path=> '/System/Library/Security/authorization.plist', ensure => file, owner => 'root', group => 'wheel',

[Puppet Users] Mirroring apt.puppetlabs.com creates extra directories

2013-12-19 Thread Aaron Hicks
with .htaccess or directives in the vhost configuration? (if they are could we see that please) Regards, Aaron Hicks -- 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, se

[Puppet Users] Re: End of Life Plan for Puppet 2.7.x

2013-09-16 Thread Aaron Stone
Hey Sam, following up from Puppet Conf. Anything I can do to assist with forthcoming 2.7.x releases? In particular, the full deprecation notices you mentioned in person would be great to get into a release! Cheers, Aaron On Wednesday, August 21, 2013 3:03:18 PM UTC-7, Sam Kottler wrote

[Puppet Users] Re: QUERY : no resources for remote admin?

2013-08-27 Thread am-aaron
tored. so, i think that it would be best to use Exec to run these programs. finally, we are also considering the use of MCollective. thank you, Aaron On Wednesday, September 5, 2012 10:57:09 PM UTC+1, Jenner La Fave wrote: > > Like I said, these aren't "issues" with Puppet, yo

[Puppet Users] puppet and yum lock

2013-08-07 Thread Aaron Addleman
found any information on a solution. Could someone point me in a direction? Thanks in advance, Aaron -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [Puppet Users] Re: Puppet Dashboard 1.2.23 issue deleting node

2013-05-09 Thread Aaron Stone
Please apply the diff from https://github.com/puppetlabs/puppet-dashboard/pull/226 to resolve the issue. On Tue, May 7, 2013 at 6:12 AM, Klavs Klavsen wrote: > Found out anything about why this is ? Any fix ? > > deleting a node hangs puppet-dashboard here :( - I have to restart to get > it up

[Puppet Users] Re: hiera-gpg causing big increase in catalog compile time

2013-05-09 Thread Aaron Mills
Hmm..it seems like a pretty basic use case is an accompanying gpg file for each level of a hierarchy, just to store things like passwords, or sensitive data. Minimizing the use of things like hiera's 3.x data bindings to gain speed in hiera-gpg lookups feels like throwing the baby out with the

Re: [Puppet Users] Puppet Dashboard's ENC returning wrong hostname/parameters

2013-05-08 Thread Aaron Stone
Interesting! Let me see if this still happens in the rails3 branch. Please file a ticket so the issue doesn't get lost. http://projects.puppetlabs.com/projects/dashboard On Tue, May 7, 2013 at 11:17 PM, Greg Batye wrote: > Hey everyone, > > > I have an issue with puppet dashboard that I can f

[Puppet Users] Re: hiera-gpg causing big increase in catalog compile time

2013-05-08 Thread Aaron Mills
a lot of agent runs to timeout or get an "end of file" error. Consolidating GPG-encrypted data into a single file doesn't seem to have any bearing on compile times. Running the master in debug mode doesn't seem to surface any obvious issues. Has anyone made any headway on

[Puppet Users] Re: Cannot get puppetlabs-haproxy to do what I want

2013-03-24 Thread Aaron Blew
g_service => "beanstalk00", server_names => $::hostname, ipaddresses => $::ipaddress_eth1, ports => '80', options => 'check' }#... Everything renders out as I'd expect, but as James experi

[Puppet Users] Re: What's your hiera tree look like?

2013-03-22 Thread Aaron Mills
Late to the party, but wanted to add my $.02 We also keep hiera, manifests, and modules in a single repository at the moment. Since we use dynamic environments for development (as outlined here: https://puppetlabs.com/blog/git-workflow-and-puppet-environments), we also have a node-level variabl

Re: [Puppet Users] Can't get past Permission denied error

2013-03-14 Thread Aaron Grewell
Do you have selinux in enforcing mode? If so, try setting it to permissive mode and see if it starts working. On Mar 14, 2013 8:09 AM, "Mike Canty" wrote: > I am running Centos 6 and was able to install Puppet 3.1.1. However, when > trying to run puppet, as root, for the first time, I get the fo

Re: [Puppet Users] how to customize hiera lookups per node?

2013-03-08 Thread Aaron Grewell
I don't know of a way to have multiple hierarchies, but if you need central control of parameters like profile you can use an ENC. At one point I even experimented with a yaml- based ENC that used my hiera data files to keep all the information in one place. On Mar 8, 2013 10:54 AM, "Chad Huneycut

Re: [Puppet Users] Facter & Puppet disagree on RHEL 6?

2013-02-21 Thread Aaron Grewell
Argh, never mind. It's a garden variety client-server version mismatch. I must've grabbed the wrong version when building the image. -- 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

Re: [Puppet Users] Facter & Puppet disagree on RHEL 6?

2013-02-21 Thread Aaron Grewell
ebruary 20, 2013 8:11:20 PM UTC-6, Aaron Grewell wrote: >> >> It's not that simple. Puppet thinks osfamily is 'Linux' whereas facter >> returns 'RedHat' at the command prompt. >> >> > I can only assume, then, that the facter you are running

Re: [Puppet Users] Facter & Puppet disagree on RHEL 6?

2013-02-20 Thread Aaron Grewell
It's not that simple. Puppet thinks osfamily is 'Linux' whereas facter returns 'RedHat' at the command prompt. On Feb 20, 2013 5:33 PM, "Len Rugen" wrote: > I wasn't sure, too many different languages I guess for a test you > could code it == RedHat, but we have a lot of RHEL 6 and I suspec

[Puppet Users] Facter & Puppet disagree on RHEL 6?

2013-02-20 Thread Aaron Grewell
I've run into an odd one on one of my new RHEL 6 boxes. Puppet and Facter seem to disagree about the value of a fact. Puppet version: 2.7.9 Facter version: 1.6.4 Module: puppetlabs-apache apache::params falls through its if structure: if $::osfamily == 'redhat' or $::operatingsystem == 'amazon

[Puppet Users] PuppetLabs Razor Module - Rookie Help

2013-02-12 Thread Aaron Gibson
.08+pm.png> -Aaron. -- 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 email

Re: [Puppet Users] Is it possible to generate a sequence in a template?

2013-02-04 Thread Aaron Russo
you had: link: https://gist.github.com/arusso23/4712284 (I'm on 3.0.1 btw) Cheers, Aaron Russo IST Infrastructure Services, Unix Group UC Berkeley --- Desk: 510-643-5550Mobile: 510-206-1532 IM: aru...@berkeley.edu (XMPP/Jabber) -- You received this message because you are subs

Re: [Puppet Users] How do I generate a sequence number in a template

2013-02-04 Thread Aaron Russo
lt;%= port %> backend_weight<%= backend -%> = 1 backend_data_directory<%= backend -%> = '/db/pg' backend_flag<%= backend -%> = 'ALLOW_TO_FAILOVER' <% backend += 1 -%> <% end %> Cheers, Aaron Russo IST Infrastructure Services, Unix Group UC Berkeley ---

Re: [Puppet Users] Re: Dynamic yum.conf 'exclude' line

2013-01-28 Thread Aaron Grewell
Take a look at the yum versionlock plugin. It allows you to lock a particular package at a given version for situations like this. We use the following define to manage our locked packages. If I were writing it today I'd probably use file_line, but it's worked well for us so I've had more import

Re: [Puppet Users] Re: two mounts with the same name (one present, one absent)

2013-01-18 Thread Aaron Grewell
On Jan 18, 2013 11:31 AM, "jcbollinger" wrote: > > > > On Friday, January 18, 2013 12:11:42 PM UTC-6, iamauser wrote: >> >> What's the best practice to define two mount resources with same name, but different fstypes or ensure parameter ? In my particular case, I have the following : >> >> Two mou

Re: [Puppet Users] function to map actual pubkeys to ssh_authorised_key {} resources?

2013-01-18 Thread Aaron Grewell
If you move the keys into Puppet variables (ideally retrieved via Hiera) you can then use them to create both the key files and the ssh_authorized_key entries. . -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email

Re: [Puppet Users] Re: puppet-dashboard load balanced report processing issues.

2013-01-03 Thread Aaron Grewell
Even an nfs share will not fix this. We tried it. We had to make dashboard active - passive to fix it. Otherwise lots of dashboard errors result which must be cleared via rake task or the dashboard slows to a crawl. On Jan 2, 2013 1:56 PM, "jemmorey" wrote: > Looks like there is no current method

Re: [Puppet Users] puppet dashboard 1.2.15-rc1 report search problem

2012-12-29 Thread Aaron Stone
For closure on the thread, this is now fixed in Dashboard 1.2.16. On Thu, Dec 13, 2012 at 3:19 PM, Luca Gioppo wrote: > On a fresh Dashboard installation I get these: > Puppet Dashboard encountered an error. > > Something went wrong, and Puppet Dashboard was unable to render the > requested pag

Re: [Puppet Users] Hostname wildcards in module

2012-12-27 Thread Aaron Russo
I think you might have an error in your regex. In particular, it looks like you're missing a '.', so /^uklab*$/ should probably be /^uklab.*$/ Cheers, Aaron Russo IST Infrastructure Services, Unix Group UC Berkeley --- Desk: 510-643-5550Mobile: 510-206-1532 IM: aru...@ber

Re: [Puppet Users] Web interface to Facter information, system config reporting?

2012-12-19 Thread Aaron Russo
g it, feel free to email me off-list. Cheers, Aaron Russo IST Infrastructure Services, Unix Group UC Berkeley --- Desk: 510-643-5550Mobile: 510-206-1532 IM: aru...@berkeley.edu (XMPP/Jabber) On Wed, Dec 19, 2012 at 11:27 AM, Forrie wrote: > In our department, we recently bought an in

Re: [Puppet Users] Re: puppet dashboard 1.2.15-rc1 report search problem

2012-12-17 Thread Aaron Stone
Please try this PR: https://github.com/puppetlabs/puppet-dashboard/pull/150 On Fri, Dec 14, 2012 at 11:03 AM, wrote: > > Change ./app/views/reports/search.html.haml like this : > > .item > - if flash[:errors].present? > > %div{:class => "section error"} > %h3 Errors >

Re: [Puppet Users] Re: Puppet Dashboard for Rails 3

2012-12-17 Thread Aaron Stone
That's a great question! None that I know of, but I could put together some screenshots. On Sat, Dec 15, 2012 at 4:12 PM, Jakov Sosic wrote: > On 12/11/2012 12:33 AM, Aaron Stone wrote: > >> Update: thanks to help from GitHub users @igreg and @astratto, Puppet >> Dashboa

[Puppet Users] Re: Puppet Dashboard for Rails 3

2012-12-10 Thread Aaron Stone
rking on getting to fully clean test runs. Help appreciated! Please take a look at the test results from these Travis builds: https://travis-ci.org/sodabrew/puppet-dashboard/builds/3588533 Still working on the audit trail, but no new updates on that yet. Cheers, Aaron On Fri, Nov 9, 2012 at 4:

Re: [Puppet Users] Having puppetmaster checkout manifests from subversion

2012-12-06 Thread Aaron Russo
ter/puppet/post-receive_environments Cheers, Aaron Russo IST Infrastructure Services, Unix Group UC Berkeley On Thu, Dec 6, 2012 at 3:55 PM, Peter Brown wrote: > Hi Thomas, > > About the only way I can see that working is if you setup a cron job on > the puppet master that updates the svn and the

[Puppet Users] Re: Puppet Dashboard for Rails 3

2012-11-20 Thread Aaron Stone
ed by viewer/editor/admin access levels. Cheers, Aaron On Fri, Nov 9, 2012 at 4:30 PM, Aaron Stone wrote: > Hi all, > > Over the past few weeks, I ported the Puppet Dashboard to run on Rails 3 > with Ruby 1.8.7. I'm down to only three unit test failures, so I think it's >

[Puppet Users] Puppet Dashboard for Rails 3

2012-11-09 Thread Aaron Stone
ap perhaps? - Unit tests passing ;) Cheers, Aaron -- 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. To unsubscribe from this group, send email to puppet-users+uns

[Puppet Users] Who's drinking perlbrew?

2012-11-01 Thread Aaron Mills
if anyone else has solved things differently. Thanks, -Aaron -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/6tDRV5vLrvMJ. To post to thi

Re: [Puppet Users] Over riding global settings/class/variables at node level

2012-10-27 Thread Aaron Stone
is make sure that only one of those rules applies to any one host. Good luck! Aaron On Fri, Oct 26, 2012 at 7:21 PM, chandan kumar wrote: > Hello, > > I am new to puppet programming. I have encountered a problem where the a > global setting, application to all servers, nodes across

Re: [Puppet Users] Have Class Only Perform Actions When There Is Work To Do (i.e. Making Them Idempotent)

2012-10-26 Thread Aaron Grewell
>>> >>> I would highly recommend you just package your custom python and install >>> it using a package management system, rather than doing what you're >>> doing. In this case you really ought to consider packaging, but there's always *something* that doesn't work that way for whatever reason (ba

[Puppet Users] Re: The Future of Puppet Dashboard

2012-10-26 Thread Aaron Stone
t solution is baked. http://github.com/sodabrew/puppet-dashboard Cheers, Aaron On Wednesday, October 10, 2012 10:02:35 AM UTC-7, Nigel Kersten wrote: > > (This mail has been sent to puppet-users, but bcc’d to puppet-dev and > puppet-announce to try and keep the conversation in one pl

Re: [Puppet Users] Static IP assignment

2012-10-17 Thread Aaron Grewell
I'm currently experimenting with an option added in vSphere 5 that has promise: assuming your VM Template has VMware Tools preinstalled you can use the Perl API to run programs directly in the resulting VM. Assuming you have API access (vSphere or commercially licensed ESXi have this, the free vers

Re: [Puppet Users] Open Source to Enterprise migration?

2012-10-10 Thread Aaron Grewell
On Wed, Oct 10, 2012 at 9:01 AM, Shawn Knight wrote: > Hi, > > Can any users of Puppet tell me about experiences in upgrading a Puppet Open > Source environment to Enterprise? Hi Shawn, We went through this with Puppet 2.6 and PE 2.0. It wasn't particularly painful, though we did have Puppet Lab

Re: [Puppet Users] Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-03 Thread Aaron Russo
version of puppet (so that users of 2.6.x, 2.7.x and 3.0.x could continue to receive the latest and greatest for their version). But I also don't have to manage the thing, so I respect that it didn't turn out this way. However, I think the method of communicating to the community can be i

Re: [Puppet Users] How to prevent puppet clients from updating to version 3?

2012-10-03 Thread Aaron Grewell
If you really want control over this you should build your own local repo mirror. That way you can be absolutely certain of what your systems will have access to. RHEL and friends come with all the tools to do this so it's not a major undertaking. On Oct 3, 2012 7:37 AM, "Mister Guru" wrote: > I'

[Puppet Users] PROBLEM : Cannot require an Exec

2012-10-02 Thread am-aaron
gt; true, command => "/bin/false", notify => Exec["exec-FFF"], } exec { "exec-FFF": refreshonly => true, command => "/bin/touch /tmp/FFF", returns => 0, } *ms1:/root/aaron> puppet apply t1.pp* notice: /Stage

Re: [Puppet Users] Where do you store sensitive files with puppet+git approach?

2012-10-01 Thread Aaron Grewell
We use hiera-gpg for ours. Files containing sensitive information are converted into templates so that only the necessary strings are included in gpg. If we really needed to distribute full files I would probably build a separate directory tree backed by its own repository for this. It's just neve

[Puppet Users] Re: [Puppet-dev] Do you rely on 'param=>undef' being equal to '(nothing)'?

2012-09-14 Thread Aaron Grewell
I'm using the current behavior in inherited classes to unset parameters set by the parent class. If that no longer works it will definitely impact my code. On Sep 14, 2012 11:31 AM, "Eric Sorenson" wrote: > Hi, there's an issue that came up recently in the 3.0RCs -- Big thanks to > Erik Dalén fo

[Puppet Users] Re: QUERY : no resources for remote admin?

2012-09-05 Thread am-aaron
, its even more complicated. enhances my qualifications, but is it that vital to use it? genuinely puzzled, Aaron -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received thi

[Puppet Users] Re: QUERY : no resources for remote admin?

2012-09-05 Thread am-aaron
admin or remote sys admin? really puzzled, Aaron -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message

[Puppet Users] QUERY : no resources for remote admin?

2012-09-05 Thread am-aaron
loyment Point. why does PuppetLabs simply not offer simple Resources to do what we require here? is there some Puppet ic way of designing and coding manifests that i do not know about? thank you very, very much in advance. ciao, Aaron -- { celltext Nokia E90 Communicator: +353-89-420-803

Re: [Puppet Users] Re: Problem with hiera arrays not obeying the hierachy

2012-09-03 Thread Aaron Grewell
The hiera function works as you described and supports strings, arrays and hashes. The hiera_array and hiera_hash functions build additive arrays and hashes that include the values of all matching variables across the entire hierarchy. For your use case you should use hiera() instead of hiera_arra

Re: [Puppet Users] The rewritten Puppet 2.7 language reference is live

2012-08-24 Thread Aaron Grewell
On Thu, Aug 23, 2012 at 4:32 PM, Nick Fagerlund wrote: > > > On Thursday, August 23, 2012 12:47:16 PM UTC-7, Aaron Grewell wrote: >> >> In >> http://docs.puppetlabs.com/puppet/2.7/reference/lang_datatypes.html#hashes >> it would be helpful to have a hash ex

Re: [Puppet Users] The rewritten Puppet 2.7 language reference is live

2012-08-23 Thread Aaron Grewell
handled in resources and properties which can be confusing. After reading the hash section I ended up having to google for a more complete example and I'm sure I'm not the only one. Thanks again for your work, I really like the new layout. -Aaron On Tue, Aug 21, 2012 at 1:40 PM, Nick

[Puppet Users] Ubuntu 12.04 adding user with password

2012-08-06 Thread Aaron Masino
Hi All, I am trying to using Puppet to add a user with a password on an Ubuntu 12.04 system with Ruby 1.8.7. I have tried this in the two ways as detailed below. In both cases, the attempt fails with the message "Provider useradd does not support features manages_passwords; not managing attribu

Re: [Puppet Users] Hiera targetted value lookup

2012-07-24 Thread Aaron Grewell
On Tue, Jul 24, 2012 at 8:08 AM, tomash wrote: > Hi, > > I'm trying to get to grips with hiera and yaml as the backend. > > given a yaml file like this: > > --- > user: > dave: > home: "/home/dave" > shell: "/bin/bash" > steve: > home: "/home/steve" > shell: "/bin/zsh" > > How

Re: [Puppet Users] Re: Best practice for calling commands

2012-07-23 Thread Aaron Grewell
This sounds similar to how the router type works so that might be a good place to start looking for ideas. On Jul 23, 2012 6:20 AM, "jcbollinger" wrote: > > > On Monday, July 23, 2012 4:16:15 AM UTC-5, Hannes Schaller wrote: >> >> Hello! >> >> I hope someone might be able to give me some directio

[Puppet Users] Hiera problem: Can't convert Symbol into String

2012-07-23 Thread Aaron Nichols
uppet-1.0.0-0.1rc1.el5 hiera-1.0.0-0.1rc3.el5 And the puppetmaster is running puppet v. 2.7.6.-2. I also tried updating the puppet version on my host running cucumber-puppet to 2.7.18 and it continues to throw this error. Any help would be greatly appreciated. Thanks, Aaron -- You received th

  1   2   3   4   >