Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-30 Thread Satish Katuru
Hi Brian Mathis, I think no need to put 3 slashes after "puppet" because i have declared this variable in site.pp $server="..." . Event I tried with placing 3 slashes and it was throwing an error message. Am I missing any thing here? My site.pp : import 'nodes.pp' $puppetserver = 'dayrhetamp0

[Puppet Users] Re: Problem using hiera variable in templates

2014-06-30 Thread Christian Charpentier
It was due to some kind of syntax error (= missing) : <%= scope.lookupvar('apache::config::servername') %> -- 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 pupp

[Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-30 Thread Rich Burroughs
I think you're right about the two slashes, if you're specifying the hostname. One thing you might try is running puppet parser validate on your manifest, if you haven't. I'm not sure what the problem is based on your code examples, it's not jumping out at me, but that might point it out. There's

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-30 Thread Satish Katuru
Hi Brain, Here is the detailed steps: *Error: /Stage[main]/Httpd/File[/etc/puppet/modules/hello.txt]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://dayrhetamp076.enterprisenet.org/modules/httpd/hello* In Master Server it couldn't identify t

[Puppet Users] Forge doesn't work reliably for me

2014-06-30 Thread Jonathan Gazeley
Recently I have been unable to upgrade some modules (or check for upgrades) from Puppet Forge using the module tool. All of my modules were originally installed from the Forge. This problem only occurs with some modules but it always occurs. [jg4461@puppet-prod ~]$ sudo puppet module upgrade

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-30 Thread Martin Alfke
Hi Brian, braindead question: is a file with name hello in modules/httpd/files/ available?? - Martin On 30 Jun 2014, at 14:06, Satish Katuru wrote: > Hi Brain, > > Here is the detailed steps: > > > Error: /Stage[main]/Httpd/File[/etc/puppet/modules/hello.txt]: Could not > evaluate: Could

[Puppet Users] PuppetLabs-openstack version 4 (IceHouse) PuppetEnterprise Installtion

2014-06-30 Thread Filippo Gaudenzi
Hi everybody, i'm trying to install openstack icehouse using puppet as describe in this video (https://www.youtube.com/watch?v=HRzlmt56gCk) using puppet entrprise. As stated in the puppetlabs-openstack github page, this module require puppet > 3.5, but after i run the PE installation i get puppet

[Puppet Users] Re: Delete file under dynamic folder ?

2014-06-30 Thread jcbollinger
On Friday, June 27, 2014 3:40:29 AM UTC-5, Jérémy D wrote: > > Hello, > > I need delete file : /usr/lib/zsh/4.3.17/zsh/newuser.so > > But version will change and i don't find how to for this scenario > > file { "/usr/lib/zsh/??/zsh/newuser.so": > ensure => absent, > require => Pac

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-30 Thread jcbollinger
On Monday, June 30, 2014 7:06:22 AM UTC-5, Satish Katuru wrote: > > Hi Brain, > > Here is the detailed steps: > > > *Error: /Stage[main]/Httpd/File[/etc/puppet/modules/hello.txt]: Could not > evaluate: Could not retrieve information from environment production > source(s) puppet://dayrhetamp076

Re: [Puppet Users] Puppetdb not receiving any catalog updates.

2014-06-30 Thread Ken Barber
Well that looks fine. How odd. If you run the puppet master in debug mode, (something like this): puppet master --no-daemonize --debug --trace What do you get? My results are here: https://gist.github.com/kbarber/a70eee998ec8ae1acf8e You can clearly see the replace catalog attempt. I wonder i

[Puppet Users] Re: Resource: destroy before create?

2014-06-30 Thread jcbollinger
On Friday, June 27, 2014 3:45:49 AM UTC-5, Andreas Schuster wrote: > > Hi all, > > > > i have written a own resource type to manage Interfaces, ipaddresses and > mor on Solaris systems. > > I also enabled purging for the ipaddress resources to destroy no longer > included ipaddresses in a cat

[Puppet Users] Do modules need to be installed on agents?

2014-06-30 Thread zerozerounouno
Hi, I'm getting confused about module paths... In a master - agent configuration, if the classes applied to the agent need some additional Forge modules to be installed, is it enough if I install them on the master, or do I need to install them on all clients too? I didn't need to install them

[Puppet Users] Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
Hi! I used 'import' in my previous config. I had the following structure: site.pp : import 'nodes.pp' nodes.pp: import 'node1.pp' import 'node2.pp' import 'node3.pp' etc. Now I'm moving to 3.6.2 and after getting the deprecation warning decided to remove all imports from my manifests. N

[Puppet Users] issue in generating password hash via puppet

2014-06-30 Thread Suresh P
Hi, I have store password in variable called "passwd". earlier i used "openssl passwd -1 " . Now, it tried to generate sha-512 password hash. pass => generate('/bin/sh, '-c', "python -c 'import crypt;print crypt.crypt(\'$passwd\',\'\$6\$mpouwk\')'|tr -d '\n' "), But puppet run failed. Plea

[Puppet Users] Re: Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
I forgot to mention that I'm using directory environments. Also when I remove site.pp I get Error: Could not run: Could not find file /etc/puppet/environments/production/manifests/site.pp -- Best regards, Sergey Arlashin On Jun 30, 2014, at 9:52 PM, Sergey Arlashin wrote: > Hi! > > I use

[Puppet Users] Re: First anniversary of the module team

2014-06-30 Thread Daniele Sluijters
Sounds great! <3 and happy birthday (albeit a few days late but feel free to consume more cake). On Wednesday, 25 June 2014 18:53:25 UTC+2, Ashley Penney wrote: > > The 1st anniversary of the module team! > > Hello from the module team here at Puppet Labs! I’m starting this email > with a lie b

Re: [Puppet Users] Dealing with Packages on Windows that contain special characters

2014-06-30 Thread Rob Reynolds
On Thu, Jun 26, 2014 at 9:33 AM, Ken Sykora wrote: > I'm currently trying to prevent a specific package from continuing its > install run on subsequent puppet apply commands. The package in Question is > the Windows Azure SDK for .Net 2.3. The package's name listed in the > registry contains an e

[Puppet Users] Re: Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
I half an hour it magically started to work. Seems to be some caching issue? Did I need to restart puppet master after removing 'imports' ? Or do something like this ? -- Best regards, Sergey Arlashin On Jun 30, 2014, at 10:07 PM, Sergey Arlashin wrote: > I forgot to mention that I'm usin

[Puppet Users] "Each" loop issue

2014-06-30 Thread martin . listz
Hi Puppet users! I'm having an issue with "each loop" on puppet, and I just can't figure out what am I doing wrong, so any help will be much appreciated. Here is my test.pp example: class mytestclass { $stuff = ["1", "2", "3"] each($stuff) |$x| { notice { $x: } } } And here is the o

[Puppet Users] Re: "Each" loop issue

2014-06-30 Thread Tristan Smith
Hayo. Other than s/notice/notify/ for best effect, that works a treat when I invoke it with puppet apply --parser future test.pp (added an 'include mytestclass' for invocation, but that's it). The parser=future is required on whatever node is doing the catalog compilation, and needs to go in [

Re: [Puppet Users] Re: Puppet 3.6.2: import is deprecated

2014-06-30 Thread Rich Burroughs
I think what you were seeing is related to the last note on this page: http://docs.puppetlabs.com/puppet/latest/reference/lang_import.html Restarting the master should have corrected it, did you end up trying that? Rich On Mon, Jun 30, 2014 at 12:15 PM, Sergey Arlashin < sergeyarl.maill...

Re: [Puppet Users] Do modules need to be installed on agents?

2014-06-30 Thread Rich Burroughs
You should not need to install modules on the agents. If they use plugins you will want to have pluginsync enabled, see: http://docs.puppetlabs.com/guides/plugins_in_modules.html That may be what you ran into with the Augeas module. You shouldn't need to install the module on the client though.

Re: [Puppet Users] ssl signing issue

2014-06-30 Thread Chris
On 30/06/14 16:24, Martin Alfke wrote: Hi Chris, On 30 Jun 2014, at 05:23, Chris wrote: master gets it: # puppet ca list client (SHA256) D4:6D:33:FE:33:98:C1:42:77:ED:D3:33:16:8D:A0:C6:37:1F:90:6B:03:D2:EC:79:52:FF:03:2E:8C:7F:D8:50 and has signed itself: # puppet ca list --all client

Re: [Puppet Users] Do modules need to be installed on agents?

2014-06-30 Thread Garrett Honeycutt
On 6/30/14, 8:01 PM, Rich Burroughs wrote: > You should not need to install modules on the agents. If they use > plugins you will want to have pluginsync enabled, see: > > http://docs.puppetlabs.com/guides/plugins_in_modules.html > > That may be what you ran into with the Augeas module. You shoul

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-30 Thread Satish Katuru
Yes It is.The file is available in the /modules/httd On Monday, June 30, 2014 6:12:14 PM UTC+5:30, Martin Alfke wrote: > > Hi Brian, > > braindead question: > is a file with name hello in modules/httpd/files/ available?? > > - Martin > > > On 30 Jun 2014, at 14:06, Satish Katuru > > wrote: >

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-30 Thread Martin Alfke
Next braindead question: in your file resource you want the destination on the node to be /etc/puppet/modules/hello.txt. Is the directory /etc/puppet/modules already present? (_on the node_ !!) - Martin On 01 Jul 2014, at 08:23, Satish Katuru wrote: > Yes It is.The file is available in the /m