[Puppet Users] What are puppetd and puppetca?

2014-03-13 Thread pengyu . ut
Hi, The following video mentioned puppetd and puppetca (it is on ubuntu 12.04). But I don't find these commands on ubuntu 13.10 (the one I'm trying puppet on). Does anybody know what these commands become? Thanks. https://www.youtube.com/watch?v=l86W-WKzhBo Regards, Peng -- You received thi

[Puppet Users] How to install puppet on ubuntu 13.10?

2014-03-13 Thread pengyu . ut
Hi, I run the following commands to install puppet on ubuntu 13.10. But they are not successful. Does anybody know what is the correct way to install puppet on ubuntu 13.10? Thanks. wget https://apt.puppetlabs.com/puppetlabs-release-saucy.deb sudo dpkg -i puppetlabs-release-saucy.deb sudo apt-g

[Puppet Users] Writing a simple module

2014-03-13 Thread Adithya Khamithkar
Hi, I just got started using puppet got the Geppetto IDE I need help in writing a simple module to install a package and modify contents of a file. Thanks, -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and sto

Re: [Puppet Users] Ideas to allow users only on certain servers

2014-03-13 Thread Darin Perusich
Use LDAP so you have a single source for users and limit access w/groups and ssh allowgroups. Check out OpenDJ if you need a powerful and easy to setup LDAP server. On Mar 13, 2014 5:52 PM, "Philippe Conway" wrote: > So at my organization, we have different departments that should only have > acc

[Puppet Users] Announce: puppetdb-stencil 0.0.1

2014-03-13 Thread Daniele Sluijters
Good news everyone, After about 4hrs of food, beer and code Ewoud Kohl van Wijngaarden (ekohl on Github) and I are intoxicated to release puppetdb-stencil. Puppetdb-stencil is designed to render resource types based on a template. The canonical example of this is the nagios types in Puppet: $

[Puppet Users] Ideas to allow users only on certain servers

2014-03-13 Thread Philippe Conway
So at my organization, we have different departments that should only have access to certain servers. For example: Dev Team: Dev Servers Tech Support: Production Server Admins: All servers How Puppet manages our users now, is once you add the user to the user manifest, it adds them too *all *t

[Puppet Users] RDO/Havana Firewall dilema

2014-03-13 Thread Allan St. George II
I'm in need of some edification... Puppet agent run are failing with the following: LevelResourcemessageerrPuppetCould not prefetch firewall provider 'iptables': Invalid address from IPAddr.new: FA:16:3E:C2:1C:0Derr/Firewall[001 nova compute incoming]Could not evaluate: Invalid address from IPA

Re: [Puppet Users] exclusion/exception in server.pp file

2014-03-13 Thread José Luis Ledesma
Facts + hiera is the short answer. If different IP ranges means different zones or sites, just create a custom fact that returns the zone/site name. Setup the zone/site hierarchically in hiera and set the data there. Setup a higher level with the hostame in hiera and put the exceptions there. Reg

Re: [Puppet Users] add user to certain hosts

2014-03-13 Thread Philippe Conway
Thanks Peter I'll give that a shot. I'm still a noob to Puppet, but yeah I'm aware putting in node-specific logic in our manifests is not best practice. Still trying to figure out a way I could do what I'm trying to do. Thanks again sir. - Philippe On Thursday, March 13, 2014 1:01:41 PM UTC-7

Re: [Puppet Users] add user to certain hosts

2014-03-13 Thread Peter Bukowinski
On Mar 13, 2014, at 2:33 PM, Philippe Conway wrote: > Hey Guys, > > I am wanting to add certain users to certain hosts. I was thinking of listing > it in my users module. Here is an example: > > user {'llane': > if $fqdn = 'node1.example.com' { > ensure => present, > }else{ >

[Puppet Users] add user to certain hosts

2014-03-13 Thread Philippe Conway
Hey Guys, I am wanting to add certain users to certain hosts. I was thinking of listing it in my users module. Here is an example: user {'llane': if $fqdn = 'node1.example.com' { ensure => present, }else{ ensure => absent, } home => '/home/llane', managehom

[Puppet Users] Re: my puppets clients are unreachable

2014-03-13 Thread puppetstan
Thanks for you answer I'll look mcollective regards Le mardi 11 mars 2014 17:35:18 UTC+1, puppetstan a écrit : > > Hello > > After to change a network device beetween my puppetmaster and my puppets > clients my puppetmaster, my puppets clients are unreachable. > > I changed a network device i

Re: [Puppet Users] exclusion/exception in server.pp file

2014-03-13 Thread puppetstan
Hi Thanks for your answer. You say This kind of code is screaming, but what is your solution when you have a lot of server and the only solution is to locate with the IP address your prefer : node1 node2 ... node 200 ... ?? regards Le mercredi 12 mars 2014 19:02:06 UTC+1, Jose Luis Ledesma

[Puppet Users] augeas, syslog and defining numbered items.

2014-03-13 Thread trey85stang
How can one change an existing entry with augeas on a numbered entry list? specifically I want to add entries in syslog to the entry that has "file = /var/log/messages" I can use this search string to find the entry: augtool> print /files/etc/syslog.conf/*/action/file[. = "/var/log/messages"]

[Puppet Users] Puppet hiera lookup skipping first module lookup on restarts or skipping first module completely.

2014-03-13 Thread Toan Ngo
I'm running puppet 3.4.3 with hiera 1.3.2. I've been tracking this odd bug with my SSH module losing it's service name and lib path on occasion on my clients. I was able to finally reproduce the behavior in master debug mode. First connected client after start of puppet master. Debug: Automat

Re: [Puppet Users] when a puppet exec resource contains several "single commands", puppet exec only fails if the last exec command fails

2014-03-13 Thread José Luis Ledesma
My bad, tried it incorrectly :s El 13/03/2014 15:48, "Joachim Schrod" escribió: > On 03/11/14 11:08, José Luis Ledesma wrote: > > > > Moroever the ser -e its just for bash > > What makes you think that? > > "set -e" is specified in IEEE Std 1003.1, 2004 Edition, a.k.a. > The Single Unix Specifica

Re: [Puppet Users] Installing Puppet Enterprise Edition

2014-03-13 Thread Matthaus Owens
Ricky, Puppet Enterprise supports Ubuntu LTS releases as well as Debian releases (see http://docs.puppetlabs.com/pe/latest/install_system_requirements.html#operating-system for the complete list). Ubuntu 13.10 is not an LTS (long term support) release. If you'd like to request support for a platfo

[Puppet Users] Puppet on Windows (Package and File Dependencies)

2014-03-13 Thread Louis
I have several windows boxes as puppet agents and most of them install packages the following way.. file{ ... make sure my .msi file is where i want } package{ ... install the msi package from a local msi } Now, as a general rule Puppet will make sure that the .msi package

Re: [Puppet Users] when a puppet exec resource contains several "single commands", puppet exec only fails if the last exec command fails

2014-03-13 Thread Joachim Schrod
On 03/11/14 11:08, José Luis Ledesma wrote: > > Moroever the ser -e its just for bash What makes you think that? "set -e" is specified in IEEE Std 1003.1, 2004 Edition, a.k.a. The Single Unix Specification. It's by no means bash specific and will be supported by any sane /bin/sh on all current U

[Puppet Users] Module puppetlabs/nodejs on Ubuntu

2014-03-13 Thread Joerg Henning
Hi, not quite sure where to put this - tried to use puppetlabs/nodejs on a precise64 box using Vagrant. Bt default it just installs nodejs from the Ubuntu repos which does not contain the npm command. As a result, installing node packages globally using package{"foo", provider => "npm"} fails.

[Puppet Users] Puppet razor queries

2014-03-13 Thread Rudradeep Nath
Hi, I have downloaded the razor module on my puppetmaster server and i have done a puppet run on the client machine. After the puppet run, razor got installed on the client but for entire razor-server to run properly i had to set up postgres, tftp dhcp and pxe on my own manually . Then i

Re: [Puppet Users] scheduling defined resources

2014-03-13 Thread Felix Frank
On 03/12/2014 11:25 PM, jcbollinger wrote: > To answer the original point - no, I disbelieve you can tell puppet to > automagically pass certain metaparameters on to all contained > resources. > > > Well, you can't /tell it/ to do so, but see > http://docs.puppetlabs.com/puppet/latest

[Puppet Users] Installing Puppet Enterprise Edition

2014-03-13 Thread Rikki
Hi All, How are you doing? I am trying to install Puppet enterprise edition. But could not figure out which one to download. FYI I am running linux mint 16 Petra version which I think is equivalent to saucy release for ubuntu 13.10. Could you please help me in letting me know which tar ball sh

[Puppet Users] Re: puppet dashboard group and class

2014-03-13 Thread Suresh P
Hi Nicolas, I too have the same issue. Do you have doc to enable external_node feature. Thanks, Suresh On Wednesday, 15 December 2010 06:47:24 UTC+5:30, Nicolas Aizier wrote: > > Hi everyone, > > I'm actually kind of new in puppet but I'm doing good in progressing. > I have read lot of docs

Re: [Puppet Users] Re: Some of my OS X clients stop checking in with puppet master.

2014-03-13 Thread Merlin Hartley
We had this problem before and the only way we have found to fix it is to specify the certname in the each client's puppet.conf THe problem then just goes away . Hope this helps! On Monday, 3 March 2014 15:27:15 UTC, Philip Powell wrote: > > Hey Moses > > I'm still experiencing the same problem

[Puppet Users] Re: augeas, ntp.conf and iburst

2014-03-13 Thread zerozerounouno
On Wednesday, March 12, 2014 3:35:09 PM UTC+1, kbrede wrote: > How do I append "iburst" at the end of "time.example.com?" > AFAICT in augtool this works: set /files/etc/ntp.conf/server[1] "time.example.com iburst" So, did you actually try the following? Mind the quotes. changes => [

[Puppet Users] Problem with if resource ordering

2014-03-13 Thread Luis León
I have a problem with if statements, they execute first of all, for example the next code inside a class that is placed the last resource on node definition: exec { 'rabbitmqctl stop_app': } if $rabbitmq_version == '2.8.7-1' { exec { 'rabbitmqctl reset': }