[Puppet Users] Re: Announcing Puppet Enterprise 2016.2 + New Modules & Integrations

2016-06-13 Thread Brian Fekete
Hey Bryan, Thanks for your response! I'm excited to see the changes to the module since it's one of the most important modules I use. Is there a ballpark estimate date for when the changes are going to be pushed? Awesome! I tested it out on a 2016 PE server earlier last week and saw it was

[Puppet Users] Re: Announcing Puppet Enterprise 2016.2 + New Modules & Integrations

2016-06-13 Thread Bryan Jen
Hi Brian, The new websphere_application_server module builds upon the great start provided by Josh Beard and adds some important bug fixes and polish to the defines, types, and providers while maintaining feature parity with the old module. This is an introductory release in the puppetlabs

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, Jun 13,

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,

Re: [Puppet Users] Upgraded Puppet server from 3.8 to 4.5 and Hiera stopped working

2016-06-13 Thread Bret Wortman
Somehow, I got this working. I'm honestly not sure how, but I'm not going to argue with success. I've restarted the server and it's still working. Thanks for your help, Peter! On Monday, June 13, 2016 at 12:56:19 PM UTC-4, Peter Kristolaitis wrote: > > With the change to "split environments by

Re: [Puppet Users] Broken puppetdb

2016-06-13 Thread jdehnert
Thanks Wyatt. I am just trying to disconnect my puppetserver from puppetdb, but I do want to re-connect them in the future. Your information is very helpful. I find it easy to get confused about what part us causing what problem when I have puppetserver, puppetdb, puppetdb terminus,

Re: [Puppet Users] Broken puppetdb

2016-06-13 Thread jdehnert
We have a BINGO!. That did the trick. Thank You Trevor, and thanks to everyone who offered assistance. I truly appreciate it. On Saturday, June 11, 2016 at 9:27:16 PM UTC-7, Trevor Vaughan wrote: > > Get rid of this: storeconfigs = true > > Trevor > -- You received this message because you

Re: [Puppet Users] Upgraded Puppet server from 3.8 to 4.5 and Hiera stopped working

2016-06-13 Thread Peter Kristolaitis
With the change to "split environments by default", you need to provide the environment name on the command line: [root@sh00cw-pup01ny hieradata]# hiera profiles::packages::centos nil [root@sh00cw-pup01ny hieradata]# hiera profiles::packages::centos environment=production ["bind-utils",

Re: [Puppet Users] Broken puppetdb

2016-06-13 Thread jdehnert
Thanks Wyatt. I am just trying to disconnect my puppetserver from puppetdb, but I do want to re-connect them in the future. Your information is very helpful. I find it easy to get confused about what part us causing what problem when I have puppetserver, puppetdb, puppetdb terminus,

Re: [Puppet Users] Upgraded Puppet server from 3.8 to 4.5 and Hiera stopped working

2016-06-13 Thread Bret Wortman
Oh, and my hiera version is now 3.0.6. We lag a bit behind on our development & production networks On Monday, June 13, 2016 at 12:37:03 PM UTC-4, Bret Wortman wrote: > > That got me past the error, but I still am getting "nil" no matter what I > ask for. > > And I've looked -- the keys

Re: [Puppet Users] Upgraded Puppet server from 3.8 to 4.5 and Hiera stopped working

2016-06-13 Thread Bret Wortman
That got me past the error, but I still am getting "nil" no matter what I ask for. And I've looked -- the keys I'm querying for are defined, at a minimum, in /etc/puppetlabs/code/environments/production/hieradata/common.yaml. On Monday, June 13, 2016 at 12:06:56 PM UTC-4, Peter Kristolaitis

Re: [Puppet Users] Upgraded Puppet server from 3.8 to 4.5 and Hiera stopped working

2016-06-13 Thread Peter Kristolaitis
I suspect your hiera install is confused because you have both the puppet-agent and hiera packages installed. Hiera now ships as part of the puppet-agent package and gets installed as /opt/puppetlabs/bin/hiera; there is no separate hiera package. Hiera 1.3.4 is also quite old -- on a box

[Puppet Users] Upgraded Puppet server from 3.8 to 4.5 and Hiera stopped working

2016-06-13 Thread Bret Wortman
This morning, I upgraded to Puppet 4 using the PC1 repository and even through I have the puppet server running, the Hiera files we rely heavily on aren't being seen. I'm getting false values for everything which really screwed up some of the boxes I was testing with. # hiera -c

[Puppet Users] Re: Announcing Puppet Enterprise 2016.2 + New Modules & Integrations

2016-06-13 Thread Brian Fekete
Whats the difference between the old module and the new one? I see nothing different except that you changed the module name. Old one: https://forge.puppet.com/joshbeard/websphere New one: https://forge.puppet.com/puppetlabs/websphere_application_server Also the IBM installation manager which

Re: [Puppet Users] Issue copying files if package exists

2016-06-13 Thread Rob Nelson
I think it's important to note that CMs like Puppet only manage what you tell it to manage via your state description. "If openssh-server is installed" doesn't fit that model well because it has a conditional state based on a potentially unmanaged component. "I want to manage the package

Re: [Puppet Users] Issue copying files if package exists

2016-06-13 Thread Helmut Schneider
Craig Dunn wrote: > Given the above, what are you trying to achieve? Are you trying to > manage the file resource after the package resource, or are you > saying you only want to manage the file if the package exists on the > target system? The latter. If openssh-server is installed, copy the

[Puppet Users] puppetlabs/apache: override variable

2016-06-13 Thread Helmut Schneider
Hi, apache/manifests/init.pp defines: if $::apache::conf_dir and $::apache::params::conf_file { case $::osfamily { 'debian': { $error_log= 'error.log' $scriptalias = '/usr/lib/cgi-bin' $access_log_file = 'access.log' } I would

[Puppet Users] Re: How to handle multiple modules requiring the same packages

2016-06-13 Thread jcbollinger
On Monday, June 13, 2016 at 5:21:42 AM UTC-5, Justin Rowles wrote: > > At risk of bumping a now truly ancient thread (which I found because I > have a 3rd party module and one of my own which both want to control a > specific package), I don't see why puppet should complain when two >

Re: [Puppet Users] Trouble creating a release RPM from puppetlabs/puppet source repo

2016-06-13 Thread Matt Larson
Eric et al, Thanks again for your help with this! I realize how crazy it may seem to want to rebuild from source. My company has become so paranoid of open source software due to recent events, that the infosec team now requires us to vet (as if that's feasible) FOSS source code before

Re: [Puppet Users] Re: How to handle multiple modules requiring the same packages

2016-06-13 Thread Lowe Schmidt
It most likely has to do with creating the graph of dependencies, if we have one Package['a'] with two branches of deps it can't guarantee that it is acyclic. -- Lowe Schmidt | +46 723 867 157 On 13 June 2016 at 12:21, Justin Rowles wrote: > At risk of bumping a now

[Puppet Users] Re: How to handle multiple modules requiring the same packages

2016-06-13 Thread Justin Rowles
At risk of bumping a now truly ancient thread (which I found because I have a 3rd party module and one of my own which both want to control a specific package), I don't see why puppet should complain when two identical (or at least non-contradictory) invocations of the same resource are found.

Re: [Puppet Users] Issue copying files if package exists

2016-06-13 Thread Craig Dunn
>From reading your comments I think maybe you are misunderstanding what the defined() function does. This function is run *server side* during the compilation of the catalog and is saying "If this Puppet resource exists in the catalog, yet". It is not saying "If this resource is configured on