[Puppet Users] Can we lookup hiera data object providing the file name

2015-09-22 Thread Malintha Adikari
I am using hiera lookup as follows in my puppet template <%- nodeinfo = scope.function_hiera(['nodes']) -%> I have provided the .yaml file which includes above 'nodes' object in my hiera.yaml file ( that is inside nodesfile.yaml file which is dynamically loaded as follows) --- :backends: - y

[Puppet Users] Puppet 3.8.3 available

2015-09-22 Thread Hailee Kenney
Puppet 3.8.3 is a bug fix release in the Puppet 3.8 series. It fixes one significant regression and several miscellaneous bugs. Check out the release notes for more information: https://docs.puppetlabs.com/puppet/3.8/reference/release_notes.html#puppet-383 You can see a full list of JIRA tickets

Re: [Puppet Users] Anyone successfully use mcollective shell plugin with RHEL 5 & 6?

2015-09-22 Thread Christopher Wood
I needed slightly different behaviour from some of the puppetca plugin actions and opted to rewrite those portions. In your situation I would probably do the same thing given the irritation value of managing multiple rubies. I found the initial learning curve for mcollective plugins steep in com

Re: [Puppet Users] Status of activemq

2015-09-22 Thread Kenton Brede
I'm wondering the same thing here. Kent On Wed, Jul 22, 2015 at 6:28 PM, Ellison Marks wrote: > So, I'm going through the dance of upgrading to puppet 4.2 from 3.8 on > CentOS 6, and I've run into a few things that brought up some questions. > During the install, I ran into a number of collisio

[Puppet Users] Re: Anyone successfully use mcollective shell plugin with RHEL 5 & 6?

2015-09-22 Thread Ellison Marks
I'm in a similar situation. I haven't tried it yet, but it might work with the new AIO packages, since they vendor a newer ruby version, 2.1.something, IIRC. On Tuesday, September 22, 2015 at 7:54:39 AM UTC-7, kbrede wrote: > > > The title pretty much says it all. I mostly manage RHEL 5 & 6 box

[Puppet Users] could not add registry class after installed registry module

2015-09-22 Thread Yingbo Li
I am new to puppet. I am trying the quick start with version 2015.2. The puppet master is on CentOS7. I have setup a windows 7 agent. Connection has no problem. I am following the instructions bellows: Add the registry Class to the Example Group

[Puppet Users] Anyone successfully use mcollective shell plugin with RHEL 5 & 6?

2015-09-22 Thread Kenton Brede
The title pretty much says it all. I mostly manage RHEL 5 & 6 boxes that come with ruby 1.8.7. The mcollective shell plugin requires ruby 1.9. SCL might work for the RHEL 6 systems but not 5. Building everything from source would work but certainly not ideal. I took a stab at managing ruby wit

Re: [Puppet Users] puppet local environment doesn't match server specified node environment switching agent to

2015-09-22 Thread Andreas Dvorak
Hi, now I found out that I need to create the new windows environment in The Foreman. Than I change the server in The Foreman from production to windows. Thank you. Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe fro

[Puppet Users] Re: multi-line content= construct for puppet resource file command

2015-09-22 Thread Massimiliano Adamo
Il giorno mercoledì 6 marzo 2013 07:49:44 UTC+1, Robert Citek ha scritto: > > Hello all, > > How does one enter multi-line content using 'puppet resource file ...' > at the command line? > > For example, I am trying to create a file called /tmp/hw.txt with two > lines of content: > > $ cat /

[Puppet Users] java_ks certificate chaining

2015-09-22 Thread Pradeep kumar
Debug: Executing 'keytool -list -keystore /tmp/cmhs.jks -alias cmhs' Debug: Executing 'keytool -list -keystore /tmp/cmhs.jks -alias cmhs' Debug: Executing 'keytool -importkeystore -srcstoretype PKCS12 -destkeystore /tmp/cmhs.jks -srckeystore /tmp/cmhs.20150922-16212-o8

Re: [Puppet Users] puppet local environment doesn't match server specified node environment switching agent to

2015-09-22 Thread jcbollinger
On Tuesday, September 22, 2015 at 3:51:17 AM UTC-5, Andreas Dvorak wrote: > > Hi, >> > > I am using Puppet 3.6.2 free version. The node classification is done by > the node.pp file. > I do not understand the group. Where does the Puppet Master do the > overwritting of the environment? > > A no

Re: [Puppet Users] Inside a custom function, how do you if noop is enabled ?

2015-09-22 Thread Henrik Lindberg
On 2015-21-09 22:34, Frédéric Lespez wrote: In the 3.x function API use: lookupvar('varname') In the 4.x function API use: closure_scope.lookupvar('varname') Here is the specification for the 4.x API. https://github.com/puppetlabs/puppet-specifications/blob/m

Re: [Puppet Users] puppet local environment doesn't match server specified node environment switching agent to

2015-09-22 Thread Andreas Dvorak
> > Hi, > I am using Puppet 3.6.2 free version. The node classification is done by the node.pp file. I do not understand the group. Where does the Puppet Master do the overwritting of the environment? Andreas > -- You received this message because you are subscribed to the Google Groups "P

Re: [Puppet Users] puppet local environment doesn't match server specified node environment switching agent to

2015-09-22 Thread Rich Burroughs
Are you using Puppet Enterprise? If so, have a look at this: https://docs.puppetlabs.com/pe/latest/console_classes_groups_preconfigured_groups.html#the-agent-specified-environment-node-group If you are using the console for node classification you need to have a group that allows the agent to spe

[Puppet Users] puppet local environment doesn't match server specified node environment switching agent to

2015-09-22 Thread Andreas Dvorak
Hi, I have created a new environment for windows server, but the agent does not use it. Can somebody please help me? message on agent run: puppet local environment windows doesn't match server specified node environment switching agent to production puppet.conf of windows agent [main]