[Puppet Users] Re: Why the copied file on client site will not be recovered from server?

2015-10-08 Thread Wei Chen
Hi John, Thanks for your answer first. I am new comer of puppet. I just wrote some simple code as follow: The 'site.pp' on the server side: import 'nodes.pp' $puppetmaster = 's001ap38-test' The 'init.pp' on the server side: class httpd { package { "httpd": ensure => present, }

Re: [Puppet Users] PuppetDB Service Won't Install/Start

2015-10-08 Thread Wyatt Alt
Hey Dan, I see the bottom of a java stacktrace in your log snippet there -- could you get the full stacktrace from journalctl and stick it in a gist? Wyatt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and st

[Puppet Users] PuppetDB Service Won't Install/Start

2015-10-08 Thread Dan
Hi, I've just started to build a Centos 7 puppet master and I've applied the puppetdb classes as follows: class { 'puppetdb': } class { 'puppetdb::master::config': require => Class['puppetdb'] } The whole catalog runs fine also installing puppetserver but when it gets to starting

Re: [Puppet Users] Confused after system upgrade - F22, Puppet 4.1.0-5

2015-10-08 Thread Martin Alfke
Hi Bret, On 08 Oct 2015, at 09:08, Bret Wortman wrote: > So I upgraded our Puppet server to Fedora 22, which brought with it an > upgrade from Puppet 3.8-ish to 4.1.0-5. And as this wasn't expected (I should > have read and studied more -- it's definitely my fault), a few things have > confus

Re: [Puppet Users] Augeas type: Removing an entry from /etc/hosts

2015-10-08 Thread Seth Rice
I know this is way late, by 5 years or so, but I wanted to share what I just discovered, related to your post. Since your post did help me discover it after all. I only got into augeas 4 days ago, and puppet about a month ago. Though augeas is a harsh mistress, I found that you can do some go

[Puppet Users] How to specify wildcat in target path?

2015-10-08 Thread staceytian4321
Hi all, I am using open source puppet 3.7.3. Wondering if anyone knows how to specify wildcat in target path? For example, I want to specify a target path as: /home/user/*/test1/*/local I don't know what the pattern will be under folder /home/user, so I need to use /home/user/* But it doesn'

Re: [Puppet Users] Ordering agent runs

2015-10-08 Thread Rick Lindal
The steep learning curve is the problem. From my research, Salt has orchestration built in. Puppet does not. It has been a long process getting a component stack put together and subsequent maintenance is a challenge. Honestly, I don't have the cycles to integrate another component in the stack. :-

Re: [Puppet Users] Ordering agent runs

2015-10-08 Thread Christopher Wood
On Thu, Oct 08, 2015 at 09:45:54AM -0600, Rick Lindal wrote: >Thanks again. I certainly hope it will be made available to open source. I >like puppet but we are considering switching to SALT due to the lack of >orchestration capability. I'm nosy, what does salt get you that mcollective

[Puppet Users] Re: Confused after system upgrade - F22, Puppet 4.1.0-5

2015-10-08 Thread Bret Wortman
Actually, I think my hiera problem may be rleated to this line in my hiera.yaml file: :yaml: :datadir: '/etc/puppet/environments/%{environment}/data' Since I saw that environments changed in Puppet 4. On Thursday, October 8, 2015 at 12:08:35 PM UTC-4, Bret Wortman wrote: > > So I upgraded our

[Puppet Users] Confused after system upgrade - F22, Puppet 4.1.0-5

2015-10-08 Thread Bret Wortman
So I upgraded our Puppet server to Fedora 22, which brought with it an upgrade from Puppet 3.8-ish to 4.1.0-5. And as this wasn't expected (I should have read and studied more -- it's definitely my fault), a few things have confused me as I've started reading the Puppetlabs site for 4.1 documen

[Puppet Users] Re: Error:Could not autoload puppet/type/ec2_instance: /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:31:

2015-10-08 Thread jcbollinger
On Wednesday, October 7, 2015 at 11:06:50 AM UTC-5, Ramkumar Nagaraj wrote: > > Does anyone have experience with getting the puppetlabs-aws module to > work? > > I am running: > > Puppet 3.8.3 > > Centos 6.7 > > Ruby 1.8.7 > > > Following the readme on the forge: > > http://ift.tt/1Q4LHkQ > >

Re: [Puppet Users] Ordering agent runs

2015-10-08 Thread Rick Lindal
Thanks again. I certainly hope it will be made available to open source. I like puppet but we are considering switching to SALT due to the lack of orchestration capability. On Thu, Oct 8, 2015 at 12:27 AM, Thomas Müller wrote: > > > Am Mittwoch, 7. Oktober 2015 23:21:59 UTC+2 schrieb Xav Paice:

[Puppet Users] Re: Using ENC and node defintion for configuration

2015-10-08 Thread jcbollinger
On Wednesday, October 7, 2015 at 9:07:53 AM UTC-5, Richard Rechenberg wrote: > > Hello Puppet Users, > > for handling my different environments I'am using directory environments. > Every environment has its own node definiton stored in the nodes.pp. For > only one of the environments I want to

[Puppet Users] Re: The right way to create Hiera resources?

2015-10-08 Thread jcbollinger
On Wednesday, October 7, 2015 at 4:07:29 PM UTC-5, Marc Teale wrote: > > Is there a right/approved/standard way to create hiera resources for forge > modules that don't do it on their own? (This is a question about the right > way to structure my Puppet code. I'm not asking how to use > hier

[Puppet Users] Re: Why the copied file on client site will not be recovered from server?

2015-10-08 Thread jcbollinger
On Thursday, October 8, 2015 at 1:34:39 AM UTC-5, Wei Chen wrote: > > Hi, > > I change the copied file on client site on purpose to see if this will be > recovered by server. According to the document, the changed file on client > will be recovered by server every half an hour. But this doesn't

Re: [Puppet Users] Write arrays to an erb

2015-10-08 Thread Sergiu Cornea
Hi John, Thank you for your response. Well what I am trying to do is to create A file with data from Hiera. I am using this module: https://github.com/GRIF-IRFU/puppet-omd plus the one I have just developed to add new sites, hosts and commands. However, I have been asked to create Business Int

Re: [Puppet Users] Write arrays to an erb

2015-10-08 Thread jcbollinger
On Thursday, October 8, 2015 at 3:38:55 AM UTC-5, Sergiu Cornea wrote: > > Hi Martin, > > Thank you for your response. > > This is the code I have developed: > > http://pastebin.com/76SzwhZV > > Are we to assume that the commented-out File declaration in that code is the one that causes the di

Re: [Puppet Users] Write arrays to an erb

2015-10-08 Thread Sergiu Cornea
Hi Martin, Thank you for your response. This is the code I have developed: http://pastebin.com/76SzwhZV Thank you, Kind regards, Sergiu On Wednesday, 7 October 2015 20:39:56 UTC+1, Martin Alfke wrote: > > Hi Sergiu, > On 07 Oct 2015, at 09:12, Sergiu Cornea > wrote: > > > Hello guys, >

[Puppet Users] Waiting for Node Classifier to start

2015-10-08 Thread Nandaraj Ks
Hi , I am trying to install puppet enterprise in ubuntu 12.04 with 4 core processor and 16 GB ram at the final stage installation i stuck with the "Waiting for Node Classifier to start" and show following log message " ** HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= /opt/puppetlabs/puppe

Re: [Puppet Users] Managing Chocolatey sources with File resource and Template on Windows 7 x64 SP1

2015-10-08 Thread Fredrik Nilsson
Let's see if I can shed some light on this. Updated to Chocolatey 0.9.10-beta1 to see if this behaviour disappears, sadly it didn't. To puppet runs back to back will result in the file getting replaced both runs. There are no "manual" chocolatey interference during those runs as they are back t