[Puppet Users] Re: Puppet Dashboard Radiator view thru iframe

2014-02-26 Thread Brett Swift
did you ever solve this? I just tried the same setup - no luck. On Monday, 14 October 2013 12:20:26 UTC-6, Matt Shields wrote: > > Is it possible to create an iframe in an html page and display the > Radiator view in the Puppet Dashboard? For some reason all my other NOC > iframe's are displ

Re: [Puppet Users] Re: Puppet Dashboard Radiator view thru iframe

2014-02-27 Thread Brett Swift
Well that's the obvious part .. which I tried from the start. Brett On Thu, Feb 27, 2014 at 5:40 AM, Félix Barbeira wrote: > Try http://puppet-dashboard-url.tld/radiator > > El lunes, 14 de octubre de 2013 20:20:26 UTC+2, Matt Shields escribió: > >> Is it possible to create an iframe in an ht

[Puppet Users] rspec-puppet and testing custom facts

2014-09-02 Thread Brett Swift
rspec-puppet supports classes, functions, defined types, but not facts. spec | -> classses -> defines -> facts? ? ? ?? ? Is there a recommended way to test facts? I've seen a few examples, but they seem hacky, and I have a feeling this should be or is available from pupp

[Puppet Users] beaker & vCloud

2014-09-04 Thread Brett Swift
I've got some beaker tests working with Vagrant, and now onto the vCloud challenge. The vCloud settings seem a bit confusing to me. I've integrated only briefly against the http API for vCloud, and these settings of "datastore" "resourcepool" and "folder" seem to be vSphere specific. I'm on

[Puppet Users] Re: beaker & vCloud

2014-09-04 Thread Brett Swift
Thanks Scott, Yes very helpful. Unfortunately I'm not sure if I'll be able to get the right access to our vSphere. I only have a vOrg in vCloud to play with. I saw a video from Hunter (hunner), where there's a video (http://club.black.co.at/log/posts/2014-05-24-beaker/) and at the 39th min

[Puppet Users] .fixtures.yml functionality in spec helper

2014-09-08 Thread Brett Swift
https://github.com/puppetlabs/puppetlabs_spec_helper#using-fixtures I think I'm doing it wrong. I'm testing a module, and specified zack/r10k in my .fixtures.yml file. It complains that it can't find gcc. I see that in the r10k/metadata.json file.. weird, why isn't puppetlabs_spec_help

Re: [Puppet Users] .fixtures.yml functionality in spec helper

2014-09-10 Thread Brett Swift
orgo .fixtures.yml, instead of using metadata.json? It's a tight coupling.. but maybe a coupling that would be a good idea? On Tuesday, 9 September 2014 11:28:17 UTC-6, Wil Cooley wrote: > > > On Sep 8, 2014 2:21 PM, "Brett Swift" > > wrote: > > >

[Puppet Users] beaker ec2 example, should this work?

2014-10-06 Thread Brett Swift
I've seen how the puppetdb module uses ec2 to execute beaker tests. I've tried setting this up as well and am getting some errors. Is there a working example of using the different hypervisors? I see this: https://github.com/puppetlabs/beaker/wiki/Creating-A-Test-Environment#ec2-support b

Re: [Puppet Users] beaker ec2 example, should this work?

2014-10-07 Thread Brett Swift
That's great Ken. I'll have a look. My .fog file was correct but I was missing that ec2.yaml. I get the user experience thing, it'll evolve and I'll help if I can. Would I be right to assume you built your images with packer? Thanks! On Tuesday, 7 October 2014 04:37:43 UTC-6, Ken

Re: [Puppet Users] beaker ec2 example, should this work?

2014-10-07 Thread Brett Swift
Nice. I'll look out for your packer project. I've been using it to build our vagrant boxes, but haven't yet built any for vSphere or external cloud. I'm getting this error: ruby/2.1.0/gems/aws-sdk-1.42.0/lib/aws/core/resource.rb:238:in `rescue in block in define_attribute_getter': unable to

[Puppet Users] module_data files are synced, but still an error

2014-12-31 Thread Brett Swift
This one is kind of frustrating.The only difference between these two servers is that the VM template used is different. The unfortunate thing is, I'm not sure what the differences are. Both Puppet Masters were bootstrapped the same way - in an automated fashion. Both are RHEL 6.4.

[Puppet Users] Re: module_data files are synced, but still an error

2015-01-02 Thread Brett Swift
1.9.1/puppet/util/command_line.rb:137:in `run ' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:91:in `execute' /opt/puppet/bin/puppet:8:in `' On Friday, 2 January 2015 05:44:03 UTC-7, kaustubh chaudhari wrote: > > Can you paste the full error? > > > O

[Puppet Users] Re: module_data files are synced, but still an error

2015-01-02 Thread Brett Swift
0k_version in Module Data backend "r10k_version": "1.3.1", "r10k_version": "1.3.1", On Friday, 2 January 2015 05:44:03 UTC-7, kaustubh chaudhari wrote: > > Can you paste the full error? > > > On Wednesday, December 31

[Puppet Users] how to export all variables in a nodes catalog, to .yaml file (including derived ones) ?

2015-01-28 Thread Brett Swift
I'm trying to get a useful tool for our operations guys, to give them some transparency on compiled values for a node. The theory is they could put their hieradata code in on a feature branch, and I could give them a report of all the values that would go into that node, and also show values t

[Puppet Users] hiera - multiple yaml backends

2015-02-09 Thread Brett Swift
I'm wondering if anyone has this unique use case. We're going to experiment by giving our ops team their own hieradata repository, and keep our internal repository separate. (If you're curious, we'll be giving them control over the %{::hostname} tier, and we'll keep common / roles / proje

Re: [Puppet Users] hiera - multiple yaml backends

2015-02-09 Thread Brett Swift
u might consider Redis as a Hiera > > backend coupled with an http user interface and api. I did some work > > around allowing Jenkins to post to an API to update new version for > > Puppet to push. I stole the idea directly from this talk at the 2013 > > Puppet COnf. > &

[Puppet Users] hiera - multiple backends - failure to lookup value in only one backend.

2015-03-18 Thread Brett Swift
I've found the time to deliver a multiple hiera backend for our ops guys, and I'm seeing some weird behaviour. With a single backend, it works great - add host level configs in the host hierarchy, and common stuff in what we had a 'role' hierarchy. I have since split the backends, so there is

[Puppet Users] Re: hiera - multiple backends - failure to lookup value in only one backend.

2015-03-18 Thread Brett Swift
ce... On Wednesday, 18 March 2015 15:40:38 UTC-6, Brett Swift wrote: > > I've found the time to deliver a multiple hiera backend for our ops guys, > and I'm seeing some weird behaviour. > > With a single backend, it works great - add host level configs in the host > hi

[Puppet Users] Monitoring & SDLC + Big Vendor apps. Anyone?

2015-12-14 Thread Brett Swift
As an app developer turned puppeteer / sysadmin, I'm a huge advocate of bringing the SDLC to operations. *Question*: Who has accomplished this with big vendory monitoring tools - like App Dynamics, New Relic etc. Anyone? I've accomplished this while exploring Sensu. (Shameless plug: https:

[Puppet Users] look up hiera hash's subkey within yaml

2016-03-22 Thread Brett Swift
This is a bit nutty, but hopefully there's a way to do this. So far I have only been able to get the parent hash, not the nested one. The reason I don't want to do this in a manifest, is because I'd like to use pieces of this hash within hiera itself. This gist is what I'm trying to do: ht

Re: [Puppet Users] look up hiera hash's subkey within yaml

2016-03-22 Thread Brett Swift
m. On Tuesday, 22 March 2016 16:00:12 UTC-6, Carthik Sharma wrote: > > This might help: > > https://docs.puppetlabs.com/hiera/3.1/variables.html#interpolating-hash-or-array-elements > > Thanks. > > On Tue, Mar 22, 2016 at 2:14 PM, Brett Swift > wrote: > >> Th

Re: [Puppet Users] look up hiera hash's subkey within yaml

2016-03-23 Thread Brett Swift
eed a different hiera function for this. On Tuesday, 22 March 2016 16:33:57 UTC-6, Brett Swift wrote: > > Well that's what I've been going off, but I haven't figured out the right > syntax. > > I've tried escaping the nested single quotes.. no luck. > &g

[Puppet Users] pe_repo - upgrade agents via puppet agent -t when the master is upgraded. - broken.

2016-04-14 Thread Brett Swift
I'm trying to wrap my head around how you would use puppet to upgrade agents. Maybe my assumptions on how this 'should' work are wrong. I just migrated a puppet agent from a 2015.2.3 master to a 2016.1.1 master. I signed the cert on the new master and no dice on the upgrade. The documenta

[Puppet Users] Re: Puppet, Hiera, and Consul

2016-04-14 Thread Brett Swift
Hey Justin, Interesting stuff. I just deployed a consul cluster for the purpose of DNS - and we haven't yet used the key/value store or the hiera backend. This is less of a question on your gem, but more on your use case that I'm interested in. When you say you automatically push values to

Re: [Puppet Users] pe_repo - upgrade agents via puppet agent -t when the master is upgraded. - broken.

2016-04-14 Thread Brett Swift
8x > because we're going to be doing the 2015->2016 upgrade soon ourselves. > > > Rob Nelson > rnels...@gmail.com > > On Thu, Apr 14, 2016 at 5:11 PM, Brett Swift wrote: > >> I'm trying to wrap my head around how you would use puppet to upgrade >> a