[Puppet Users] 2016.4.0 ubuntu puppet enterprise install

2016-11-08 Thread Jay Benner
seems this command is failing and I don't know how I can make "puppet enterprise" be a valid subcommand.: 2016-11-08 14:32:21,008 Running command: /opt/puppetlabs/puppet/bin/puppet enterprise configure --debug --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules

[Puppet Users] puppetdb api/powershell

2015-05-20 Thread Jay Benner
I wanted to use the puppetdb api to be able to sniff out some various anomalies that the console doesn't easily show me. I wanted to do this via powershell because I know it better than bash or Python or whatever language smarter folks than me would use. I had to wade through some poorly

[Puppet Users] rake edits not showing up in the console

2014-09-20 Thread Jay Benner
Edits done via node:groups are reporting back successfully edited, but when I look in the console, no change. What gives? Ubuntu 12.04 Puppet Enterprise 3.2.0 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and

[Puppet Users] report all nodes that do NOT have a certain class assigned to them

2014-06-24 Thread Jay Benner
Seems like this should be easy, but I am having a tough time sorting it out. I am using PE 3.1 and I want to know which of my nodes are missing a certain class. Its pretty easy to get a list of the nodes that have the class in the console, but that still leaves a lot of math for me to do as

[Puppet Users] Puppet enterprise console, all nodes 'unresponsive'.

2014-05-06 Thread Jay Benner
I had some corruption in my puppetdb and had to rebuild my KahaDB directory. After doing so I restarted everything, but all of the puppet nodes still show 'unresponsive', even after a successful puppet run. Looks like things are running smoothely now, only the console isn't updating

[Puppet Users] Error 400 on SERVER: invalid byte sequence in UTF-8

2014-03-05 Thread Jay Benner
I keep getting this error with a module I wrote. Apparently, it doesn't like something about my module, but I don't see anything interesting about it. I found the bug below, but I don't know which config.ru to edit for the workaround. Has anyone else seen this?

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-18 Thread Jay Benner
Reynolds wrote: On Mon, Feb 17, 2014 at 2:57 PM, Jay Benner long...@gmail.comjavascript: wrote: I tried them in chocolatey.ps1, but that just seemed to break chocolatey. On Monday, February 17, 2014 11:11:25 AM UTC-8, Jay Benner wrote: If I am going to use the workarounds mentioned

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-18 Thread Jay Benner
profile issue. On Tuesday, February 18, 2014 10:26:15 AM UTC-8, Rob Reynolds wrote: On Tue, Feb 18, 2014 at 12:10 PM, Jay Benner long...@gmail.comjavascript: wrote: PS - This system that I am working on is very much a test system, so we can try whatever we want on it. It is representative

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-17 Thread Jay Benner
:33 PM, Jay Benner long...@gmail.comjavascript: wrote: Some improvement. I'll attach another chocolateyinstall log below. It still didn't install the agent, but it also didn't add an entry to /lib, so I'm guessing it will keep trying. Looks like the same error downloading the file. http

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-17 Thread Jay Benner
I tried them in chocolatey.ps1, but that just seemed to break chocolatey. On Monday, February 17, 2014 11:11:25 AM UTC-8, Jay Benner wrote: If I am going to use the workarounds mentioned in the bug article you referenced, should I put that code into chocolateyinstall.ps1? On Friday

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-14 Thread Jay Benner
be running into something else when it is running. In C:\chocolatey\chocolateyInstall there are some log files, what does the log file say about the installation? On Thu, Feb 13, 2014 at 2:10 PM, Jay Benner long...@gmail.comjavascript: wrote: I had deleted the entry in /lib

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-14 Thread Jay Benner
not been able to reproduce effectively - https://github.com/chocolatey/puppet-chocolatey/issues/18 On Fri, Feb 14, 2014 at 12:47 PM, Jay Benner long...@gmail.comjavascript: wrote: The following is a copy of my log: http://pastebin.com/wz5peZbG Looks like the download failed. Perhaps

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-14 Thread Jay Benner
for updates. In the meantime if you are using SYSTEM for the puppet agent, I would switch to something with network access and see if chocolatey works inside of puppet. On Fri, Feb 14, 2014 at 3:33 PM, Jay Benner long...@gmail.comjavascript: wrote: Some improvement. I'll attach

[Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-13 Thread Jay Benner
when I run chocolatey from the command prompt. I didn't realize that the chocolatey group supported the puppet provider as well; I'll note it in the future. On Wednesday, February 12, 2014 2:37:49 PM UTC-8, Jay Benner wrote: I have a bunch of windows servers with NewRelic installed on them

Re: [Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-13 Thread Jay Benner
you run puppet agent --test --verbose --debug and post that output (preferably in a gist / pastebin and then link that here)? Remove the sensitive information such as the license. On Thu, Feb 13, 2014 at 10:55 AM, Jay Benner long...@gmail.comjavascript: wrote: I got it from the forge. I

[Puppet Users] Re: moving from previous manual install to puppet/chocolatey

2014-02-13 Thread Jay Benner
I had deleted the entry in /lib. On Wednesday, February 12, 2014 2:37:49 PM UTC-8, Jay Benner wrote: I have a bunch of windows servers with NewRelic installed on them and I want to start managing those installs with Puppet. Seemed like the thing to do would be to have chocolatey uninstall

[Puppet Users] moving from previous manual install to puppet/chocolatey

2014-02-12 Thread Jay Benner
I have a bunch of windows servers with NewRelic installed on them and I want to start managing those installs with Puppet. Seemed like the thing to do would be to have chocolatey uninstall what is there and reinstall within the framework of chocolatey so that I get addressable version

Re: [Puppet Users] Customizing puppet run log format

2013-12-31 Thread Jay
Hi Felix, Sorry for delay in responding! Thanks, I am using red hat platform and logs are created as redirected output of console to a file on puppet run. Once again thanks for your input, Could you please point out a sample to use syslog ? Regards, Jay Regards, Jay On Sun, Dec 22, 2013

[Puppet Users] Customizing puppet run log format

2013-12-16 Thread Jay
Hi Friends, Is there any configuration file.. where I can add / remove log formats of puppet run? I need timestamp in the log which is currently missing. Thanks in Advance! Regards, Jay -- You received this message because you are subscribed to the Google Groups Puppet Users group

[Puppet Users] using mco to manage puppet resources by class

2013-12-07 Thread Jay Christopherson
Has anyone successfully use the class selectors for the puppet MCollective plugin? Something like: $ mco puppet runonce --tags mysql::master From the docs: *puppet_tags* *===* *Validates that a comma seperated list of tags are valid Puppet class names* * Author: R.I.Pienaar

[Puppet Users] scope question

2013-11-17 Thread Jay Christopherson
I have a parent class, a child class, and a defined type, like so: *init.pp*: class parent { create_resources(parent::versions, hiera('versions')) ... } *versions.pp:* define parent::versions($version) { } *child.pp*: class parent::child { include parent notify{ ${version}: } }

[Puppet Users] Re: scope question

2013-11-17 Thread Jay Christopherson
If I stick a notify { $version: } into the define, it shows the expected value, so my issue appears to be scope access. On Sun, Nov 17, 2013 at 4:50 PM, Jay Christopherson jc.listm...@gmail.comwrote: I have a parent class, a child class, and a defined type, like so: *init.pp*: class parent

[Puppet Users] frustrating dependency problem

2013-11-16 Thread Jay Christopherson
I'm having a difficult time with a dependency issue. Basically, I want to be able to call a defined type, but it's not working out so far. I have my manifests setup like this: init.pp: class foo { } bar.pp: class foo::bar { include foo package{ test:

[Puppet Users] Re: frustrating dependency problem

2013-11-16 Thread Jay Christopherson
There is a typo in the example class - ensure = running doesn't apply to a package... sorry if that creates any confusion. On Sat, Nov 16, 2013 at 10:52 AM, Jay Christopherson jc.listm...@gmail.comwrote: I'm having a difficult time with a dependency issue. Basically, I want to be able

Re: [Puppet Users] frustrating dependency problem

2013-11-16 Thread Jay Christopherson
oh damn. can't believe I missed that. On Sat, Nov 16, 2013 at 11:59 AM, Dan White y...@comcast.net wrote: Rename the file “services.pp” to myservice.pp” to match the defined type On Nov 16, 2013, at 1:52 PM, Jay Christopherson jc.listm...@gmail.com wrote: I'm having a difficult time

[Puppet Users] Is there a way to return/skip module code based on a validation

2013-10-10 Thread Jay
{...} } Appreciate your help on this. Regards, Jay -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email

Re: [Puppet Users] Is there a way to return/skip module code based on a validation

2013-10-10 Thread Jay
Thanks Ryan! I'm looking for something like a break statement, which should not proceed execution of following resources. Anyway thanks for the information about future parser. Appreciate your time in answering my question. Thanks, jay On Oct 10, 2013 11:57 AM, Ryan Coleman r

[Puppet Users] Re: External Facts on Windows with Powershell

2013-10-10 Thread Jay Benner
Did you figure this out? I am having the same trouble. On Tuesday, April 9, 2013 10:44:38 AM UTC-5, Grant Trevor wrote: I'm trying to follow the steps on http://docs.puppetlabs.com/guides/custom_facts.html in regards to declaring External Facts using powershell. I've created a simple

Re: [Puppet Users] Seeing an error that is totally confusing the heck out of me

2013-08-29 Thread Jay Kumbhani
Thanks Brother!!! This helps a lot to me. On Tuesday, October 9, 2012 9:26:42 PM UTC+5:30, Salty Old Cowdawg wrote: On Tue, Oct 9, 2012 at 11:52 AM, Michael Stahnke sta...@puppetlabs.comjavascript: wrote: The contents of that php/manifests/init.pp file might be helpful here. It

[Puppet Users] Failed to parse template, wrong number of arguments (create_resources)

2013-07-30 Thread Jay Christopherson
I'm having some issues trying to track down a problem I'm having parsing a simple template, using create_resources and Hiera. Here's my setup (abridged): ../hieradata/settings.yaml: *global:* * variables:* *env: foo* * * *appSpecific:* * serverName: someServer*

[Puppet Users] Re: Failed to parse template, wrong number of arguments (create_resources)

2013-07-30 Thread Jay Christopherson
can't quite seem to find the correct scope syntax to make it work. I've tried a few variations, but haven't hit on it yet. On Tue, Jul 30, 2013 at 10:32 AM, Jay Christopherson jc.listm...@gmail.comwrote: I'm having some issues trying to track down a problem I'm having parsing a simple template

[Puppet Users] Re: Failed to parse template, wrong number of arguments (create_resources)

2013-07-30 Thread Jay Christopherson
And I guess I solved my own issues. I muddled around and this syntax works: *% scope['test::appcfg']['backends']['nodes'].each do |server| -%* * %= server %* *% end -%* On Tue, Jul 30, 2013 at 11:32 AM, Jay Christopherson jc.listm...@gmail.comwrote: Ok, I figured out my first issues, which

Re: [Puppet Users] Re: randomly changing template (hiera backed)

2013-03-14 Thread Jay Christopherson
Yep, a hash structure. I didn't even think to check whether Ruby hashes were ordered (I just assumed they would be), which should have been the first thing to check when I noticed that my results were unordered. Thanks for the info! On Thu, Mar 14, 2013 at 6:36 PM, Ellison Marks

Re: [Puppet Users] Re: hiera / create_resources / define

2013-03-11 Thread Jay Christopherson
So, this is mostly working now (thanks for the pointers!), but how can I reference the top level configs within my define? For example: configs: config1: Name: app1 WorkingDir: /var/app1 config2: Name: app2 WorkingDir: /var/app2 ... config100: Name: app100

Re: [Puppet Users] Re: hiera / create_resources / define

2013-03-11 Thread Jay Christopherson
Awesome, that's exactly what I was looking for. On Mon, Mar 11, 2013 at 11:02 AM, Ellison Marks gty...@gmail.com wrote: You don't have access to the configs variable What you do have access to is the $title variable, which I think is what you want. This is automatically set by puppet to the

[Puppet Users] hiera / create_resources / define

2013-03-08 Thread Jay Christopherson
I'm trying to use create_resources to create a series of files with semi-custom content based on a template. This is what I have: foo.conf.erb: Name %= name % WorkingDir %= working_dir % ... a bunch of static entries YAML: configs: config1: Name: app1 WorkingDir: /var/app1

Re: [Puppet Users] Re: hiera / create_resources / define

2013-03-08 Thread Jay Christopherson
Yes, sorry about the case mixing. That was a mis-paste. Thanks for the advice, I'll start working through your suggestions. On Fri, Mar 8, 2013 at 2:49 PM, Ellison Marks gty...@gmail.com wrote: Through create_resources, Name and WorkingDir are being passed to your defined type as parameters.

[Puppet Users] Re: Windows Puppet msi packages question

2012-03-26 Thread Jay Ze
Anybody who can tell more about that? Is that the only way to get msi packages work with puppet? https://github.com/puppetlabs/puppet_for_the_win On 23 Mrz., 10:06, Jan Ivar Beddari jan.ivar.bedd...@uib.no wrote: On 03/23/2012 08:24 AM, Jay Ze wrote: Hi, Can anybody here tell me what msi

[Puppet Users] Windows Puppet msi packages question

2012-03-23 Thread Jay Ze
Hi, Can anybody here tell me what msi packages can be used with windows puppet? Can I somehow create msi packages for puppet on my own? Do I have to install some more gems to get puppet work with msi installation? Thx :-) -- You received this message because you are subscribed to the Google

[Puppet Users] Puppet Windows exec

2012-03-23 Thread Jay Ze
Hi, Is it correct that it's not possible to excecute Windows Commands directly with the puppet run? For example: exec { 'ExecCreatedFolder': command = mkdir C:\PuppetOrdner\ExecCreatedFolder, } I allways have to bind it with a .bat file right? file {

[Puppet Users] Re: Puppet Windows exec

2012-03-23 Thread Jay Ze
On 23 Mrz., 12:16, Paul Tötterman paul.totter...@gmail.com wrote: Hi Jay, exec { 'ExecCreatedFolder':        command = mkdir C:\PuppetOrdner\​ExecCreatedFolder, } mkdir is a command implemented by the windows command processor cmd.exe, not a callable program.http://docs.puppetlabs.com

[Puppet Users] Re: Puppet 2.7.12 on Windows

2012-03-22 Thread Jay Ze
On 21 Mrz., 19:22, Josh Cooper j...@puppetlabs.com wrote: Hi Jay, On Wed, Mar 21, 2012 at 7:02 AM, Jay Ze iltisannihila...@googlemail.comwrote: Hi, I posted an other problem with puppet and windows weeks ago. With the new Version 2.7.12 those problems were fixed. But now I

[Puppet Users] Puppet 2.7.12 Windows - Dependency Problem

2012-03-22 Thread Jay Ze
Hi, I finally got puppet to run. My first test successfully created a file with content, I specified in the init.pp for this client. After that I wanted to install a msi package. (Firefox) I placed it into the right place on the Puppetmaster and created following init.pp class windows() { file

[Puppet Users] Puppet 2.7.12 on Windows

2012-03-21 Thread Jay Ze
Hi, I posted an other problem with puppet and windows weeks ago. With the new Version 2.7.12 those problems were fixed. But now I don't get puppet to work. I installed puppet as explained here: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows It worked so far. But when I start

[Puppet Users] Re: Puppet on Windows

2012-02-16 Thread Jay Ze
On 16 Feb., 18:11, Josh Cooper j...@puppetlabs.com wrote: Hi Jay, On Thu, Feb 16, 2012 at 6:14 AM, Jay Ze iltisannihila...@googlemail.comwrote: Hi, I want to run Puppet on a Windows 2003 Server. I already have a working Puppetmaster (Scientific Linux). I installed Puppet

[Puppet Users] simple puppet setup for bioinformatics lab ....

2011-08-19 Thread Jay Vyas
that has alot of programs pre-installed on it, that can be deployed once and then synced automatically with the latest version of that virtual disk image (which has the latest databases and open source software, which is installed and maintained by our group.) -- Jay Vyas MMSB/UCHC -- You

[Puppet Users] ldap.conf modification problem

2011-02-15 Thread Jay N.
Hi Puppet Users, In my configuration, I modify in the pre stage the ldap.conf file which is originally generic and useless. Then, in the main stage, I try to modify the ownership of files with ldap users and groups and I have an error Cannot find user/group. I have done several tests : - just

[Puppet Users] Problem with yumhelper.py and python version

2011-02-15 Thread Jay N.
I have this ouput when I do a yum check-update which is the command which is run in the yumhelper.py : Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Skipping security plugin, no data compat-dapl.i386 2.0.13-4.el5

[Puppet Users] Re: Autorequiring and dependency problem

2010-12-18 Thread Jay N.
, thanks again. Jay On 16 déc, 17:15, jcbollinger john.bollin...@stjude.org wrote: On Dec 15, 4:27 pm, Jay N. the.s...@gmail.com wrote: Hi, I have a dependency problem in my configuration. I have thoses 2 objects. file { /etc/puppet/files: ... } file { /etc/puppet: ... require

[Puppet Users] Autorequiring and dependency problem

2010-12-15 Thread Jay N.
Hi, I have a dependency problem in my configuration. I have thoses 2 objects. file { /etc/puppet/files: ... } file { /etc/puppet: ... require = File[/etc/puppet/files], } I thought I would have no problem with that but /etc/puppet is autorequired by /etc/puppet/files, which means a dependency

[Puppet Users] Hashes in a definition

2010-11-30 Thread Jay Almers
Hello all, I am a new user to Puppet (system and language) and have a question regarding hashes and iterating through them in a definition. What I am trying to do is specify a multi-dimensional hash on a particular node, pass this hash to a define, and recursively do stuff using the key/value

Re: [Puppet Users] Re: facter (ruby) question

2010-11-20 Thread Jay Adkisson
, --Jay On Tue, Nov 16, 2010 at 9:12 AM, Dennis vdM cybernijn...@gmail.com wrote: Thanks Dan! The conversions action does exactly what I want. :-) On 16 nov, 18:02, Dan Bode d...@puppetlabs.com wrote: Hi Dennis, On Tue, Nov 16, 2010 at 7:28 AM, Dennis vdM cybernijn

[Puppet Users] Moving the puppet master

2010-10-29 Thread Jay Adkisson
Hey all, I need to move my puppet master to a different host with a different hostname. Is there a fancy way to do this that doesn't involve manually going to each client and cleaning the certificates? Thanks, --Jay -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Moving the puppet master

2010-10-29 Thread Jay Adkisson
Awesome, thanks guys. I think this time I'll have to move the ca directory and generate the new cert, but since we do have an alias of puppet which I'm going to switch over, I'll definitely look into using those certname and certdnsnames options. Thanks! Peace, --Jay On Fri, Oct 29, 2010 at 10

[Puppet Users] undefined method 'to_sym' for [var, var]:Array

2010-06-07 Thread Jay Christopherson
I am running into a problem with my LDAP puppet setup with this error message: PuppetClient: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment DR: undefined method `to_sym' for [ENV1, ENV2]:Array PuppetMaster: err: Could not parse for

[Puppet Users] Invalid parameter provider error on debian

2009-08-01 Thread Jay Janssen
Hi all, I am suddenly getting an Invalid parameter provider when puppet runs on a debian box that has been working fine.puppetd output is: info: Retrieving plugins err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: None of the provided sources