[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

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

2016-07-11 Thread Matthew Pounsett
On Friday, 8 July 2016 04:27:26 UTC-4, Peter Faller wrote: > > Are you using the create_resources function to instantiate the resources? > It takes a third argument containing default values: > > $widgets = hiera('widgets', {}) > $widget_defaults = hiera('widget_defaults', {}) > create_resources

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

2016-07-11 Thread R.I.Pienaar
- Original Message - > From: "Matthew Pounsett" > To: "puppet-users" > Sent: Monday, 11 July, 2016 16:26:42 > Subject: [Puppet Users] Re: most idiomatic way to set resource defaults > On Friday, 8 July 2016 04:27:26 UTC-4, Peter Faller wrote: >> >> Are you using the create_resources fu

[Puppet Users] Dynamic scoping warning in Puppet 2.7.23

2016-07-11 Thread Arun Singh
Dear Puppet Folks, I am using Puppet 2.7.23 in our production environment for official purpose, I am newbie to Puppet, I am experiencing dynamic scope warning, I am trying to get rid and fix this problem, its throwing the error http://pastebin.com/5LVufDyT I tried this http://docs.puppetlabs.

[Puppet Users] Dependacies with Custom Types

2016-07-11 Thread apgriffiths79
Hi, I have created a custom type which uses the ipaddress rubygem in the validation function. However, this package is not part of my standard build and I can find no way of installing it from Puppet as the catalog compilation fails with "Could not autoload *type*". Is there anyway to manage t

[Puppet Users] puppet agent

2016-07-11 Thread Joaquin Henriquez
Hi List Puppet agent (after puupet agent -t) is not sending th CSR to the Puppet master: Agent: /etc/hosts 172.16.173.31 spark-slave1 puppetmaster01 puppetmaster01.lebara.com testbedocg 172.16.173.24 spark-slave2 preproi2000 preproi2000.lebara.com hadoop@preproi2000:~/.puppetlabs/etc/pupp

[Puppet Users] Re: Windows + Python Installation + pip + PATH environment variable

2016-07-11 Thread dragon788
Version of Python after 2.7.9 and 3.4 include pip by default. You no longer need to manually install it. They also set up the PATH variable so you can use it right away, but supplying the full path is still best if you aren't restarting the terminal session. As Rich mentioned you can use 'setx'

Re: [Puppet Users] Dependacies with Custom Types

2016-07-11 Thread Rob Nelson
I don't know the specifics of how it works, but the puppet/zabbix module has a type that relies on the zabbixapi which it also provides. You may want to review that module to see how the package and type are implemented in detail. On Monday, July 11, 2016, wrote: > Hi, > > I have created a custo

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

2016-07-11 Thread Alex Samad
Ta but ! I don't want to use the rpm / package from the distro (Centos), I want to use the one from oracle. I had hoped to use puppet for storing that. I have a repo setup and could add it there. It was a 2 part question, 1 to solve the package problem, the other how to use the download from

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

2016-07-11 Thread Matthaus Owens
Alex, It looks like puppetlabs/java has a defined type to handle getting the oracle version of java (https://forge.puppet.com/puppetlabs/java#usage). The link has some examples of using the defined type to install oracle java 6 and oracle java 8. HTH On Mon, Jul 11, 2016 at 5:00 PM, Alex Samad

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

2016-07-11 Thread Alex Samad
Hi Thanks, but ! not all of my boxes have internet access. But thanks On 12 July 2016 at 10:13, Matthaus Owens wrote: > Alex, > > It looks like puppetlabs/java has a defined type to handle getting the > oracle version of java (https://forge.puppet.com/puppetlabs/java#usage). The > link has som