Re: [Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread Andrew Jones
e { 'puppet' : ensure => 'running', enable => true, } > } > I'll run puppet with debug and see what's happening...but basically, it > doesn't seem like its saving the state. > > On Monday, May 23, 2022 at 3:17:03 PM UTC-4 andrew...@puppet.com

[Puppet Users] Re: agent not launching on windows client

2022-05-23 Thread Andrew Jones
Open a power shell window and run `puppet resource service puppet` you should see something like this; PS C:\Users\Administrator> puppet resource service puppet service { 'puppet': ensure => 'running', enable => 'true', logonaccount => 'LocalSystem', provider => 'windows',

Re: [Puppet Users] How to organizing puppet code on the master

2018-05-16 Thread Andrew Grimberg
I know some folks think this is heresy, but I personally dislike defining each node in the default manifest. I think it's better to drive as much data as possible from hiera as possible, as such I do it more like this. I define a node definition that does a hiera lookup to determine what role to a

[Puppet Users] Customizing existing types / providers

2018-02-02 Thread Andrew Schofield
es anybody have any hints and/or links to documentation which might explain how (or even if) this is achievable? My googling isn't really bringing much useful information. Thanks, Andrew -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] Install modules from puppet forge at runtime

2017-08-16 Thread Andrew Grimberg
On 08/15/2017 11:45 PM, Rakshatha shetty wrote: > I have a query on the usage of modules present in Puppet Forge. > > When puppet agent -t command is run in puppet agent machine, if the > specified module is not present in Puppet master server will puppet > agent or master connect to puppet forge

Re: [Puppet Users] Automated PuppetDB/PostgreSQL install?

2017-07-24 Thread Andrew Grimberg
On 07/22/2017 09:50 AM, Keith Miller wrote: > Hey guys, new to Puppet and looking for some help. Some facts first: > > * Using Ubuntu 16.04 > * Cluster will be of about 60-80 nodes > * Building the infrastructure with Terraform > * Have Puppet Server and Puppet Agents installing through au

Re: [Puppet Users] hiera_hash string key variable

2017-06-27 Thread Andrew Grimberg
Greetings João, Do you have it inside double or single quotes? If it's in single quotes, like your example, then it's only going to be literal. To get interpolation you've got to use double quotes like Henrik had. -Andy- On 06/27/2017 08:26 AM, João Matos wrote: > Doesnt work. ${variable} is bei

Fwd: Re: [Puppet Users] Location of config files in roles/profiles pattern

2017-06-19 Thread Andrew Grimberg
Forwarded Message Subject: Re: [Puppet Users] Location of config files in roles/profiles pattern Date: Mon, 19 Jun 2017 08:46:14 +0200 From: Angel L. Mateo Reply-To: puppet-users@googlegroups.com To: puppet-users@googlegroups.com > > I do something similar by keeping files and

Re: [Puppet Users] Re: apt/yum.downloads.puppetlabs.com CDN & rsync deprecation

2017-05-24 Thread Andrew Elwell
On Thursday, 27 April 2017 02:31:42 UTC+8, Daniel Dreier wrote: > > I'm sorry we broke people's rsync-based repository mirroring. I should > have communicated this change well in advance. To get you all mirroring our > repositories again, I've configured rsync.puppet.com. You can sync from > i

Re: [Puppet Users] Manage delivery and execution of RPMs not in YUM

2017-03-02 Thread Andrew Grimberg
Repositories should _never_ contain binary objects. The only exception I ever allow my developers is graphical assets related to websites. On 03/02/2017 08:48 AM, warron.french wrote: > Garrett, thanks. > > So, to clarify for myself in terms of a BEST practice are you declaring > "don't deliver R

Re: [Puppet Users] rabbitMQ puppet module - deploy ssl certificate

2017-02-10 Thread Andrew Grimberg
On 02/10/2017 03:26 AM, Romgo wrote: > Hello, > > I am using the rabbitmq puppet module from > https://forge.puppet.com/puppetlabs/rabbitmq/readme > > I want to enable the ssl configuration for the management port. > So the declaration is like this : > > ssl_key=> '/etc/rab

Re: [Puppet Users] New to Puppet :wanted more information of VM provisioning in puppet

2016-11-22 Thread Andrew Langhorn
Puppet can be used to provision infrastructure, but to answer this in any more depth, we'd need to know what infrastructure you want to provision. Andrew -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

Re: [Puppet Users] profiles/hiera, defalults and defined

2016-11-03 Thread Andrew Grimberg
Sounds like you could use a little code-review process (such as Gerrit) managing the hiera repo. That coupled with something like hiera-eyaml-gpg (or similar) would allow you to have your junior admins submit changes for review allowing such hiera configs to be worked on by multiple parties and sti

Re: [Puppet Users] Spec testing and dalen-puppetdbquery

2016-11-01 Thread Andrew Grimberg
On 11/01/2016 02:25 PM, Garrett Honeycutt wrote: > On 11/1/16 4:03 PM, Peter Berghold wrote: >> I have a module that I am writing spec tests for that uses the Puppet >> Forge module cited in the subject line to query for a list of nodes >> fitting a particular criteria. When I run the spec test it

[Puppet Users] subscribe vs notify

2016-10-09 Thread Andrew
s? Is there a better way than subscribing the relevant services to the cert and key files ?? Any ideas ? Andrew. -- 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,

[Puppet Users] Re: Very frequent "Error: Could not request certificate: The certificate retrieved from the master does not match the agent's private key." on Windows

2016-10-09 Thread Andrew
strong now Replacing the puppet ca with the newer one fixed the errors tho. Sorry I dont have an easier fix for you :( Andrew. On Friday, 7 October 2016 17:33:23 UTC+10, Fredrik Nilsson wrote: > Hi Guys, > > Hopefully one of you have a splendid idea on how to solve this... > >

Re: [Puppet Users] Problem upgrading to puppetserver 2.5.0 and exported resources

2016-09-07 Thread Andrew Grimberg
On 09/07/2016 05:19 AM, Angel L. Mateo wrote: > Hello, > > I am upgrading my puppetservers (ubuntu 14.04) from 2.4.0 to 2.5.0. > Upgrading process it's fine, but after it whenever I connect a node > (puppet-agent 1.5.3 or puppet-agent 1.6.2) I'm having a lot of messages > about creating resou

Re: [Puppet Users] Re: hiera-eyaml not decrypting?

2016-07-08 Thread Andrew Grimberg
Our team completely dropped the yaml backend as we always ended up with weird issues of hiera not always finding the yaml. Doesn't matter if we don't actually have anything encrypted in the eyaml file, all files for us are eyaml now. -Andy- On 07/08/2016 10:37 AM, dkoleary wrote: > I'll be damned

Re: [Puppet Users] encrypting hiera data?

2016-07-08 Thread Andrew Grimberg
On 07/08/2016 06:29 AM, dkoleary wrote: > Hey; > > I've come to the point where I need to encrypt a password in hiera data. > After trying (and failing) the recipe in the puppet cookbook, I hit the > google searches and very quickly came across hiera eyaml. > > So, short question: is hiera.eya

Re: [Puppet Users] puppet exec to test if pattern exist in file

2016-06-30 Thread Andrew Morgan
Thank you , my solution works, but will use yours as it is best practice. On Thursday, 30 June 2016 06:49:09 UTC-4, Martin Alfke wrote: > > Hi Alonso, > > On 29 Jun 2016, at 19:06, Andrew Morgan > > wrote: > > > Thank you very much for your prompt reply.

Re: [Puppet Users] puppet exec to test if pattern exist in file

2016-06-29 Thread Andrew Morgan
;re not really modeling state. The best solution > would actually be to use something like Augeas to examine the file and > modify as necessary. "exec / onlyif" and "exec / unless" are kind of > measures-of-last-resort in the Puppet world (now, having said that, I must

[Puppet Users] puppet exec to test if pattern exist in file

2016-06-29 Thread Andrew Morgan
I want to check if pattern exist in a file and then if it doesn;t echo the pattern in the file. class environment { exec{'one_run': path=>'/usr/bin', command => "echo 'PATH=$PATH:/opt/logstash/bin' >> /etc/profile", onlyif => "grep -qFx

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

2016-06-17 Thread Andrew
d the code anyway ... I do hear what you are saying about having to go thru this exercise. Cheers, Andrew. On Monday, 13 June 2016 22:45:12 UTC+10, Matt Larson wrote: > Eric et al, > > Thanks again for your help with this! I realize how crazy it may seem to > want to rebuild

[Puppet Users] Puppet only partially applying configuration

2016-06-07 Thread Andrew
I have encountered a problem when running puppet on Windows. My environment is as follows: Puppet master: CentOS 6.5 puppetserver 2.3.1 Client: Windows 2012 R2 Puppet 3.8.7 What happens: I provision a machine with razor and wait for the first Puppet run to complete. After puppet is finished,

Re: [Puppet Users] Re-issuing agent certs from a newer Puppet Master

2016-06-01 Thread Andrew Grimberg
On 06/01/2016 09:39 AM, warron.french wrote: > Hello again, > I have a a few Puppet Agents on to which I installed the > puppet-agent software from my first Puppetmaster1, however, something > happened and I had to rebuild that server - for labelling purposes I am > (in this email) calling it P

[Puppet Users] com.puppetlabs.puppet.plist not loading as a LaunchDaemon

2016-05-18 Thread Andrew Marks
I am running into an issue at work, I am trying to deploy an El Capitan image with puppet 3.8.6 running on it. The com.puppetlabs.puppet.plist file was created using the instructions from puppet and has run successfully in /Library/LaunchDaemons in 10.9 and 10.10 I noticed under 10.11 the file

Re: [Puppet Users] New module classes not showing in cosole

2016-05-10 Thread Andrew Grimberg
On 05/10/2016 08:25 AM, Ali wrote: > thanks for quick reply. > > Problem is its not showing in enterprise console under classification - > node group - classes - add new class drop down list . > > Not sure if I am missing some configuration or need to add new module to > somewhere else so it can

Re: [Puppet Users] New module classes not showing in cosole

2016-05-10 Thread Andrew Grimberg
On 05/10/2016 07:43 AM, Ali wrote: > Hi , > > My new test module critical_policy class in not showing in console . I > restarted all pe-services , rebooted node but no luck . Any help will be > appreciated . > > # puppet --version > 4.4.1 > > # puppet module list > /etc/puppetlabs/code/environm

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

2016-05-09 Thread Andrew Grimberg
on/migration. > Ramin K: OS of the Master is Debian Wheezy. Have you actually done the > upgrade? > Andrew Grimberg: This approach in fact sounds as if its the best way, > considering also what Henrik says below about new > versions/modules/tooling/practices. But it sounds like

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 exported resources, with hund

Re: [Puppet Users] python on puppet

2016-04-22 Thread Andrew Grimberg
Bapi, I would go with Rob's suggestion here as well. I can definitely attest to stankevich/python being a good module as I use it extensively. Here's a code snippet that would do what you want using that module: --[cut]-- class { 'python': version => 'system', pip => 'present', dev

[Puppet Users] Re: Code_manager checkout fails during puppet run with a 401/404 error

2016-03-19 Thread Andrew Brader
t_name' param 3) The GitLab user you are using to access the REST API doesn't have sufficient rights Can you confirm project_name is correct and the GitLab has correct permissions: https://github.com/abrader/abrader-gms#permissions-to-use-api -Andrew On Thursday, March 17, 2016 at 1:0

[Puppet Users] Passenger setup and CA

2015-10-30 Thread Andrew Hibbert
Hi, Currently we have 3 puppet masters behind a VIP load balanced (by hardware load balancer). We have an NFS mount share across the 3 servers which stores the puppet code and certificates etc. We have some proxy balancers on the hosts for CA with the 1st puppet master being the active worker a

[Puppet Users] hiera and standard enc

2015-09-10 Thread Andrew Hibbert
Hi, I have an ENC script and also want to use hiera My ENC script returns parameters: location: loc1 purpose: hieratest fqdn: hostname os: CentOS-6.3 product: theproduct site: lab environment: Production status: Maintenance timezone: Europe/London is_virtual: yes en

[Puppet Users] hiera - data retrieved once or everytime a lookup is required

2015-08-20 Thread Andrew Hibbert
Hi, I'm looking into hiera particularly the http backend (https://github.com/crayfishx/hiera-http). I'm wandering when using hiera if a single lookup is done at the start of the puppet run or if everytime a value needs to be looked up the file is accesed or in this case the http api queried?

Re: [Puppet Users] Dictating class evaluation order

2015-07-20 Thread Andrew Langhorn
Morning Gareth, Ah - I re-read that, and that makes more sense, especially since renaming the class fixed it. I'll give it a go to neaten up the module; am sure it will work. Thanks both! :) A On Monday, 20 July 2015, Gareth Rushgrove wrote: > Hi Andrew > > On 20 July 2015 at

Re: [Puppet Users] Dictating class evaluation order

2015-07-19 Thread Andrew Langhorn
, Jul 19, 2015 at 7:07 AM, Andrew Langhorn < > andrew.langh...@digital.cabinet-office.gov.uk> wrote: > >> Hi Felix, >> >> Thanks for the reply. >> >> Yep - that snippet is representative. I've copied the full thing for you >> below. Granted, it ne

Re: [Puppet Users] Dictating class evaluation order

2015-07-19 Thread Andrew Langhorn
I should probably add that, for $reasons, I'm using Puppet 3.6.1. On Sunday, 19 July 2015 15:07:39 UTC+1, Andrew Langhorn wrote: > > Hi Felix, > > Thanks for the reply. > > Yep - that snippet is representative. I've copied the full thing for you > below. Granted,

Re: [Puppet Users] Dictating class evaluation order

2015-07-19 Thread Andrew Langhorn
ns]): Could not look up qualified variable 'tomcat::version'; class tomcat has not been evaluated Values for both tomcat::version and tomcat::instance_basedir are retrieved from a case statement which, ultimately, resides at https://github.com/camptocamp/puppet-tomcat/blob/master/manifest

[Puppet Users] Dictating class evaluation order

2015-07-18 Thread Andrew Langhorn
). I’ve seen a related problem before, and fixed that after a while, but this one’s got me a bit stumped. It doesn't help either that I can't remember how I fixed the last issue, even after looking through Git commits. Sad times. Thanks! Andrew -- You received this message becaus

[Puppet Users] Strategies for Source Control with Puppet 4

2015-07-05 Thread Rachel Andrew
heiradata and so on. Is there an accepted best practice for this? Any issues people have encountered? -- Rachel Andrew http://www.rachelandrew.co.uk http://twitter.com/rachelandrew -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-06-29 Thread Andrew Coggins
the issue. On Monday, June 29, 2015 at 11:40:02 AM UTC+10, Andrew Coggins wrote: > > The above steps fixed my installer issues on Ubuntu 14.04 running on a > VirtualBox VM, however moving to AWS and going through the steps again, I > can't successfully install puppet 3.8.1. >

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-06-28 Thread Andrew Coggins
The above steps fixed my installer issues on Ubuntu 14.04 running on a VirtualBox VM, however moving to AWS and going through the steps again, I can't successfully install puppet 3.8.1. The unusual thing is I don't see any issues logged in puppetserver.log and telnet to localhost 8140 works. An

[Puppet Users] where is PC1 for Debian Jessie?

2015-06-09 Thread Rachel Andrew
Hi all comments on this post https://puppetlabs.com/blog/say-hello-open-source-puppet-4 state that packages are available for Jessie, however they don't appear to be in the list at http://apt.puppetlabs.com/ Does anyone know where the package might be? Rachel -- You received this message be

[Puppet Users] Profile and configs

2015-06-05 Thread Andrew Ward
So I have a class(let say application_base) that installs $app_name(RPM based deploy, so it could be any number of apps), manages the service and the main config file. The only problem I'm running into is that each app requires 1 or more different .properties file that are templates in applicat

Re: [Puppet Users] Resource ordering syntax

2015-01-19 Thread Andrew Langhorn
Thanks Martin! That makes sense. Is it not possible to refer to the entire resource, then, when the title is used as the declaration? Andrew On Sunday, 18 January 2015 13:50:05 UTC, Martin Alfke wrote: > > When using an array on a resource title Puppet will internally create >

[Puppet Users] Resource ordering syntax

2015-01-17 Thread Andrew Langhorn
"linux-image-extra-${::kernelrelease}", 'lxc', 'lxc-docker-1.0.0', ]: ensure => present, } How do I reference the resource when using resource ordering? Do I just use Package['linux-image-

[Puppet Users] Moving to Directory Environments

2014-10-04 Thread Rachel Andrew
les will be compiled together? I can see best practice would be to use an ENC, which I may explore but as a small infrastructure I'd just like to make the transition in small steps. -- Rachel Andrew http://rachelandrew.co.uk http://twitter.com/rachelandrew -- You received this message because

Re: [Puppet Users] Managing multiple hosts in a single service

2014-08-15 Thread Andrew Melo
ched]', hostname) > > And then loop through this in your template - > > <% @hosts.sort.each do |host| -%><%= host %>:<%= @memcached_port %> <% end > -%> > > Matt > > On Aug 13, 2014, at 9:26 AM, Andrew Melo wrote: > > Hello, all- > >

[Puppet Users] Managing multiple hosts in a single service

2014-08-13 Thread Andrew Melo
actice than having to hardcode the hiera part. Cheers, Andrew -- 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

[Puppet Users] Re: Caught Encoding::CompatibilityError

2014-03-06 Thread Andrew Langhorn
I cross-posted this to AskPuppet, too: https://ask.puppetlabs.com/question/5624/caught-encodingcompatibilityerror/ On Wednesday, 5 March 2014 14:15:07 UTC, Andrew Langhorn wrote: > > Hi, > > I have a Puppet repository using Hiera as a lightweight ENC rather than > the more trad

[Puppet Users] Caught Encoding::CompatibilityError

2014-03-05 Thread Andrew Langhorn
* *}$* I'm running Ruby 1.9.3 locally, and 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] on the Vagrant host (Ubuntu 12.04 'Precise Pangolin'). I'm a bit stuck - can anyone help? Thanks in advance, Andrew -- You received this message because you are subscribed to the G

[Puppet Users] Re: Puppet Actions in Parallel?

2014-02-14 Thread Andrew Pennebaker
This is a fantastic idea! Any progress on this? On Sunday, March 4, 2012 10:53:23 PM UTC-5, Jon Forrest wrote: > > As many learning Puppet for the first time, the fact that the > order of actions is undefined unless specific metaparameters > like 'require' are used. Fine. > > This got me to thinki

Re: [Puppet Users] howto determine a users homedir in a class file

2014-01-29 Thread Andrew
refactored to include the > homedir as an input parameter. > > On Jan 29, 2014, at 11:04 PM, Andrew > > wrote: > > So ... > I am tasked with managing ssh keys for which I want to use puppet to do > the deployment. > I dont know ahead of time which users will using/assi

[Puppet Users] Re: ody/pkginventory problem / How do _you_ get a listing of all packages installed on a system?

2014-01-29 Thread Andrew
# every package, name only. rpm -qa --queryformat="%{NAME}\n" # or more info ... rpm -qa --queryformat="%{NAME} - %{VERSION} - %{ARCH}\n" Hi Stack, have you tried package { "kernel.$architecture": ensure => '2.6.32-358.el6', } to make sure it doesnt find the i686 version as well ? Also

[Puppet Users] Re: CA puppetmaster

2014-01-29 Thread Andrew
esume working the next time they check in. Andrew -- 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.

[Puppet Users] howto determine a users homedir in a class file

2014-01-29 Thread Andrew
advance. Regards, Andrew -- 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 view this discussion on the web vi

[Puppet Users] puppetlabs firewall module :: selective disable

2013-09-15 Thread Andrew
= stopped } class { 'firewall': ensure => stopped } } it's probably obvious I dont know what I'm doing so I'll save you the time by pointing that out myself :) iptables seems to want to start no matter what I change. Andrew -- You received this message because yo

Re: [Puppet Users] Purge puppet's reports

2013-09-11 Thread Andrew G
hi dan, it applies only to any server with a shortform dnsname == puppet. the facter variable $hostname matches the puppet master server name. alternatively, remove the case statement, put it in it's own class and apply that class specifically to your puppetmaster server. Andrew On Thu, S

[Puppet Users] Re: Purge puppet's reports

2013-09-10 Thread Andrew
gt; '14d', backup => false, recurse => true, rmdirs => true, type => 'ctime', } # notify { "debug: tidy command should run now": } } } Ciao, Andrew. -- You received this message beca

[Puppet Users] incompatible character encodings: UTF-8 and ASCII-8BIT

2013-07-02 Thread Rachel Andrew
Hi as part of our setup we have erb templates that are SQL files, we parse then to add in some user details to the SQL (these come from a hiera json file created from PHP) before using that file to create the database. If that data includes UTF-8 characters (for example an e with an acute accen

[Puppet Users] Error 400 on SERVER: No such file or directory - getcwd

2013-06-19 Thread Rachel Andrew
Hi fully expecting to have done something silly here but am struggling to debug why I am getting the error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: No such file or directory - getcwd at /etc/puppet/manifests/nodes.pp:2 on node my.domain.net the line in quest

Re: [Puppet Users] Executing a script after creating vhosts with create_resources

2013-06-14 Thread Rachel Andrew
On 12 Jun 2013, at 11:29, Brian Lalor wrote: > I'm pretty sure you'll have to do a custom define to make that happen, which > should play well with create_resources. You could also play with a single > notify used by all of the resources that have been created… thanks for the pointer, I most

[Puppet Users] Executing a script after creating vhosts with create_resources

2013-06-12 Thread Rachel Andrew
Hello I'd love a bit of advice in terms of how I should best go about this. I am creating a bunch of vhosts, their definitions are stored in json (I'm using heira) that json file will be generated from data held on another server. I'm just using the puppetlabs apache module and create_resources

[Puppet Users] hiera-gpg and 400 error

2013-05-20 Thread Rachel Andrew
Hello I am setting up servers with a puppetmaster and various nodes, all running Debian Wheezy with the Puppet 3 packages from Puppetlabs. The Puppetmaster is configured with Passenger and Apache. I am trying to use hiera-gpg to encrypt passwords, I have it installed and have created a key as

[Puppet Users] I want in the future HIERA-2

2013-04-11 Thread Andrew E.
I want in the future HIERA-2 to create a file like classes.txt, which clearly would have seen the use of the configuration on the node. Regards, Andrew -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

[Puppet Users] Unexpected hash's behavior

2013-03-25 Thread Andrew E.
Hi all. I'm newbie. Help me, please. I write Puppet function Piece of code : n_if={} over_if = arguments[1] over_if.each do |kk,vv| weth={} puts kk,vv,weth weth = arguments[0] weth['in_vlan'] = vv['in_vlan']

[Puppet Users] facter vs specs

2013-02-27 Thread Andrew Pennebaker
A friend pointed out that I may have been reinventing the wheel: My specs project is very similar to Puppet Labs' facter. What do you think? https://github.com/mcandre/specs#readme -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe

[Puppet Users]

2013-02-17 Thread Andrew Melo
n not permitted - /var/lib/puppet/yaml/node/se2.accre.vanderbilt.edu.yaml20130217-7515-10yio8g-0 Even if I recursively set /var/lib/puppet/yaml to be mode 777. I'm confused about whats's going on here, any suggestions? Thanks, Andrew -- -- Andrew Melo -- You received this message because you

Re: [Puppet Users] Purge puppet's reports

2013-01-30 Thread Andrew Sinclair
Great solution. Simple, effective. Thanks. On Thursday, 21 July 2011 14:50:32 UTC+1, vagn wrote: > > On 07/21/2011 08:52 AM, vagn scott wrote: > > Thinking about this some more, if you need the reports for dashboard > > to work, > > then any cleanup script should leave the latest report from any

Re: [Puppet Users] Re: Puppet Dashboard and Ruby 1.8.7 for EL5 systems HOWTO (draft)

2013-01-20 Thread Andrew Melo
ease-5-6.noarch.rpm) > has ruby 1.8.7 RPMs > FWIW, to get this to install on ScientificLinux (another RHEL recompile), I had to disable the yum priorities plugin since it seemed to want to prioritize a ruby 1.8.5 security update over the puppet-provided 1.8.7. -Andrew > > >> For

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2012-12-14 Thread Andrew Sharpe
To avoid the hardcoded memory limit you can install PECL packages with # pear install pecl/ Given your examples with the providers above I think your declaration might become package{ "pear": ensure => installed, provider => 'pear'; "pecl/zip": ensure => installed,

Re: [Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-07 Thread Andrew Beresford
How about creating a processorcorecount and processorthreadcount with "correct" meanings? That then leaves the option to deprecate processorcount. I've realised that at some point in the past I have created a processorthreadcount fact because I needed a consistent source of this information on bot

[Puppet Users] Re: Unnecessary changes when creating facts.yaml

2012-12-05 Thread Andrew Beresford
he keys in alphabetical order, but I ended up fighting with it too much and gave up as I had other more important stuff to work on. Andrew On Monday, 3 December 2012 17:44:08 UTC, Ellison Marks wrote: > > I ran into the same thing. I think whoever made the snippet on the facts > via YAM

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-05 Thread Andrew Beresford
Apologies, I re-read your post and understand what you mean. I prefer the core count definition, but whatever it is, it should be consistent between Linux and Solaris. Andrew On Wednesday, 5 December 2012 04:37:19 UTC, Alex Harvey wrote: > > > > On Monday, December 3, 2012 9:54:

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-03 Thread Andrew Beresford
42 core_id 44 core_id 44 core_id 46 core_id 46 Hope that helps! Andrew On Monday, 3 December 2012 02:03:25 UTC, Alex Harvey wrote: > > > > On Tuesday, Novem

[Puppet Users] Unnecessary changes when creating facts.yaml

2012-12-03 Thread Andrew Beresford
I have set up puppet to create a facts.yaml file for mcollective using the following line: content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s =~ /(uptime.*|timestamp|.*free|macaddress.*|ipaddress)/ }.to_yaml %>"), However, it is creating a lot of unnecessary changes by reord

[Puppet Users] Re: Puppet dashboard over passenger: The environment must be purely alphanumeric, not ''

2012-11-16 Thread Andrew Gooding
plication/master' # we're usually running inside a Rack::Builder.new {} block, # therefore we need to call run *here*. run Puppet::Application[:master].run Where should I apply the changes? On Thursday, October 18, 2012 10:37:54 AM UTC-7, Eric Sorenson wrote: > > Hi andrew, that er

Re: [Puppet Users] Storeconfig and mcollective using activemq

2012-10-23 Thread Andrew Stangl
RE: puppetdb and pgsql: it all depends on how big your environment is - the suggestion for puppetdb is, if you have fewer than 100 nodes, that you use the built in haskell/cloujure db - I've ended up doing this, since the env is fairly small where we've got this configured, and the storeconfigs

[Puppet Users] Puppet dashboard over passenger: The environment must be purely alphanumeric, not ''

2012-10-16 Thread Andrew Gooding
1.61-4.el6.x86_64 mysql-libs-5.1.61-4.el6.x86_64 mysql-server-5.1.61-4.el6.x86_64 Any help will be welcome. Thanks, Andrew -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https:/

[Puppet Users] Re: preseed chroot enterprise install failing

2012-10-09 Thread Andrew Galka
TY!!! On Wednesday, October 10, 2012 10:24:47 AM UTC+11, Andrew Galka wrote: > > Hi > > I'm installing puppet enterprise 2.6 in the preseed last_command process > for ubuntu. While running the installer in a chroot, it is failing while it > attempts to start the

[Puppet Users] preseed chroot enterprise install failing

2012-10-09 Thread Andrew Galka
p the installer from attempting to start the service? Thanks Andrew -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/icMo6mh0dv0J. To post to t

[Puppet Users] Puppet module submodule layout

2012-10-07 Thread Andrew McGilvray
parameters in the main module class like : class mymodule ( $absent, $disable, $disableboot, ) { } Is there a consensus about which way we should be writing out modules? Thanks. Andrew Mcgilvray -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] AW: Issue with large directory content

2012-09-14 Thread Andrew Stangl
se/managment. If this is the case, you would possibly be better off managing the mountpoint with the mount directive, in which case, you may be experiencing something similar to what we dealt with here: https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/xig1zZzoIpM Hope this helps,

[Puppet Users] puppet class and user groups question

2012-08-12 Thread Andrew
eeds to be in the sslcerts group, and httpd::ssl, so apache needs to be in the sslcerts group. how can I create the group so both classes can add their users to the group ? Thanks in advance, Andrew. -- You received this message because you are subscribed to the Google Groups "Puppet Use

Re: [Puppet Users] Puppet configuration: user

2012-08-10 Thread Andrew Hendry
Hi, user= is for the puppetmaster user which does not need to run as root. Regards, Andrew On Fri, Aug 10, 2012 at 8:05 PM, Axel Bock wrote: > Hi readers, > > I am having trouble understanding the puppet user= configuration setting in > the puppet.conf file. If puppet is configur

[Puppet Users] run puppet for few modules only, not for all catalogue

2012-07-19 Thread Andrew
I am looking the way to apply only few selected modules to the puppet node instead of all catalogue. I need this step to be done as the part of the maintenance. As of now the only idea I have - is to expose puppet tree via nfs or HTTP, download/mount only modules I need and run puppet in standalone

Re: [Puppet Users] OT: Monitoring solutions

2012-06-25 Thread Andrew Wasilczuk
re-scan my nodes and pick up any changes (or one can trigger a re-scan manually when/if needed). I tried many things before but OpenNMS works best for me so far. Cheers, Andrew. [1] http://www.opennms.org/ -- [ a...@zx23.net ] -- You received this message because you are subscribed to the Go

Re: [Puppet Users] SSL emailAddress interpreted as part of the CN when using puppet with an external PKI

2012-06-07 Thread Andrew Wasilczuk
ith OpenSSL (0.9.8q) and that's the default encoding it'll use, unless explicitly configured to move emailAddress to subjectAltName[1] (as recommended in RFC 3850) or if one sets -noemailDN option[2]. > I've filed the bug here and added you as a watcher Andrew: > http://pro

Re: [Puppet Users] SSL emailAddress interpreted as part of the CN when using puppet with an external PKI

2012-06-02 Thread Andrew Wasilczuk
f the common >name (CN). Yup, that's what it looks like. Cheers, Andrew. -- [ a...@zx23.net ] -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsub

Re: [Puppet Users] SSL emailAddress interpreted as part of the CN when using puppet with an external PKI

2012-06-01 Thread Andrew Wasilczuk
vely easily but someone else may not be as lucky, if they are trying to re-use their existing certificates with puppet. I guess it all boils down to how much work it would take to support this in puppet and if it's puppet or the Ruby OpenSSL bindings that need the work. Cheers, Andrew. --

[Puppet Users] SSL emailAddress interpreted as part of the CN when using puppet with an external PKI

2012-05-31 Thread Andrew Wasilczuk
efault, unless explicitly disabled. I'm running puppet-2.7.14 on FreeBSD 9.0 behind Apache and Passenger Cheers, Andrew. -- [ a...@zx23.net ] -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send em

[Puppet Users] Re: [Puppet-dev] Announce: Puppet 3.0.0rc1 Available

2012-05-18 Thread Andrew Parker
the Puppet 3.0.0 docs will > have more details when they are published. > > Puppet 3.0.0rc1 includes contributions from the following people: > 20after4, Aditya Patawari, Andrew Parker, Ben Ford, Brice Figureau, > Bruno Léon, Cameron Thomas, Carl Caum, Carla Souza, Chris Price, &g

[Puppet Users] Re: [Puppet-dev] Taking github noise away from puppet-dev list

2012-04-12 Thread Andrew Parker
I just recently started working at Puppet Labs and have been pretty much been ignoring most of what I see from this list because of the amount of github mail on it. I think that removing the github email from this list will help it to do what I'm hoping to see on it, which is to have discussions

[Puppet Users] Re: 2 package resources for the same package installation in two differents modules caused errors

2012-04-05 Thread Andrew Stangl
::install { include php_v_packages realize Package [ [ php5"], [php5-cli], [php5-gd], [php5-imagick]] } class cms::installpackage { include php_v_packages realize Package [php5-imagick] } That should do the trick :) Cheers, Andrew On Thursday, April 5, 2012 12:11:40 PM U

[Puppet Users] Re: Long config retrieval on nodes

2012-03-08 Thread Andrew Stangl
We ended up upgrading the EC2 instance from a m1.small to a c1.medium .. it was bottoming out on cpu load, and increasing this to a dual core instance resolved the issue :) No more timeouts!! and a happy customer too On Tuesday, March 6, 2012 11:46:14 AM UTC, Andrew Stangl wrote: > >

[Puppet Users] Re: Long config retrieval on nodes

2012-03-08 Thread Andrew Stangl
We ended upgrading the EC2 instance from a m1.small to a c1.medium .. it was bottoming out on cpu load, and increasing this to a dual core instance resolved the issue :) No more timeouts!! and a happy customer too On Tuesday, March 6, 2012 11:46:14 AM UTC, Andrew Stangl wrote: > >

[Puppet Users] Long config retrieval on nodes

2012-03-06 Thread Andrew Stangl
e got the puppetmaster running on a m1.small EC2 instance, which only seems to have a single core - I'm not sure if that's perhaps the cause of the bottleneck? Any suggestions / advice would be much appreciated, thanks in advance! Cheers, Andrew -- You received this message be

Re: [Puppet Users] Parameterized classes override of parameter

2012-02-20 Thread Andrew Forgue
This is actually filed in Bug #5517 (Accepted) and a few others and has 10 votes. http://projects.puppetlabs.com/issues/5517 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/

Re: [Puppet Users] Stupid Exec

2012-01-11 Thread Andrew Hendry
Did you sort this one out? I also found out puppet on some solaris systems doesn't like [ or ( as first character. A hack to get past it was to change the first character $command = "true && ( /apps/path/scripts/install.sh || true )  && touch /etc/ On Fri, Jan 6, 2012 at 7:52 AM, Jo Rhett wrote:

  1   2   3   4   >