Re: [Puppet Users] suppressing undefined variable warnings in PE2016.1

2016-05-06 Thread Henrik Lindberg
On 06/05/16 21:00, Vince Skahan wrote: Is there a way to shut up the undefined variable warnings in PE2016.1 ? This is https://tickets.puppetlabs.com/browse/PUP-1780 Which was released in Puppet 4.4.0, and is thus in all PE2016.1 versions. The input to docs (in the ticket) says: "All

Re: [Puppet Users] Upgrading Puppet from 2.7 to 4

2016-05-06 Thread Henrik Lindberg
On 06/05/16 15:46, christg76 wrote: Hi, I'm fairly new to Puppet and have been given the project of upgrading an existing Puppet 2.7 site (Puppetmaster with Apache/Passenger, and MySQL for exported resources, with hundreds of clients), possibly to Puppet 4. Just wanted to ask around if anybody

[Puppet Users] suppressing undefined variable warnings in PE2016.1

2016-05-06 Thread Vince Skahan
Is there a way to shut up the undefined variable warnings in PE2016.1 ? Here's a trivial example: # puppet apply -t --noop -e 'notice("this should print just a 'x' => x${foo}")' Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading

Re: [Puppet Users] Upgrading Puppet from 2.7 to 4

2016-05-06 Thread Andrew Grimberg
On 05/06/2016 06:59 AM, Martin Alfke wrote: > Hi Chris, > > On 06 May 2016, at 15:46, christg76 wrote: > >> Hi, I'm fairly new to Puppet and have been given the project of >> upgrading an existing Puppet 2.7 site (Puppetmaster with >> Apache/Passenger, and MySQL for

Re: [Puppet Users] Upgrading Puppet from 2.7 to 4

2016-05-06 Thread Ramin K
On 5/6/16 7:22 AM, Rob Nelson wrote: I have not done this, but I suspect a stairstep upgrade of 2.7 -> 3.0 -> 3.8 w/future parser -> 4.latest would be the easiest. You *might* be able to skip to 3.8, technically, but I suspect your code would blow up in strange ways that would be less obvious

Re: [Puppet Users] Module design

2016-05-06 Thread Martin Alfke
Hi , On 06 May 2016, at 17:29, Jeff wrote: > I'm working on a puppet module that automatically places the entire catalog > into zenoss (this is based on an outdated module that I found on github) > > By default, I want to place every server in zenoss. > > I have a base

[Puppet Users] Module design

2016-05-06 Thread Jeff
I'm working on a puppet module that automatically places the entire catalog into zenoss (this is based on an outdated module that I found on github) By default, I want to place every server in zenoss. I have a base class which is included in every node. I want to add 'include zenoss::client'

Re: [Puppet Users] Upgrading Puppet from 2.7 to 4

2016-05-06 Thread Rob Nelson
I have not done this, but I suspect a stairstep upgrade of 2.7 -> 3.0 -> 3.8 w/future parser -> 4.latest would be the easiest. You *might* be able to skip to 3.8, technically, but I suspect your code would blow up in strange ways that would be less obvious than the additional step. Puppetconf

[Puppet Users] issue creating symlink

2016-05-06 Thread Nathan Crews
Currently i'm using Vagrant and bash scripts to provision a local dev environment. I'm working on moving this to Puppet and running into an issue with creating a symlink to my apache document root that I cant seem to sort out. These are the commands in the bash script i'm trying

[Puppet Users] Upgrading Puppet from 2.7 to 4

2016-05-06 Thread christg76
Hi, I'm fairly new to Puppet and have been given the project of upgrading an existing Puppet 2.7 site (Puppetmaster with Apache/Passenger, and MySQL for exported resources, with hundreds of clients), possibly to Puppet 4. Just wanted to ask around if anybody has got experience with such an

Re: [Puppet Users] Upgrading Puppet from 2.7 to 4

2016-05-06 Thread Martin Alfke
Hi Chris, On 06 May 2016, at 15:46, christg76 wrote: > Hi, I'm fairly new to Puppet and have been given the project of upgrading an > existing Puppet 2.7 site (Puppetmaster with Apache/Passenger, and MySQL for > exported resources, with hundreds of clients), possibly to

[Puppet Users] Re: Module Design Pattern

2016-05-06 Thread jcbollinger
On Friday, May 6, 2016 at 5:19:50 AM UTC-5, Alexander Dacre wrote: > > I'm looking to build my first module with custom types and providers, but > I have some questions that I've been unable to find answers to. > > Lets say I have an application with a REST API that allows the creation of >

[Puppet Users] Module Design Pattern

2016-05-06 Thread Alexander Dacre
I'm looking to build my first module with custom types and providers, but I have some questions that I've been unable to find answers to. Lets say I have an application with a REST API that allows the creation of widgets. My custom type and provider would define what the widget looks like and

Re: [Puppet Users] Problem with puppetdb encoding

2016-05-06 Thread Angel L. Mateo
El 06/05/16 a las 02:12, Wyatt Alt escribió: Hey Angel, This sounds like a bug to me but I haven't had time to reproduce it. Would you mind filing a ticket at tickets.puppet.com ? Created. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías