Re: [Puppet Users] puppet resource ordering/execution kungfu

2014-08-21 Thread Stefan Wiederoder
that´s the pattern I´m already using for a few other things, I was hoping there´s a cool new parameter to trigger a require only if necessary. thanks for your answer Flamarion! bye , Stefan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To u

Re: [Puppet Users] Encrypting /var/lib/puppet directory on clients

2014-08-21 Thread Darin Perusich
As mentioned, you'll gain no additional security while the volume since anyone who can log into the machine and switch to the root/puppet users will be able to access said data. However there are solutions which provide encryption and fine grained access control which remove the ability for any "

Re: [Puppet Users] puppet resource ordering/execution kungfu

2014-08-21 Thread jcbollinger
On Thursday, August 21, 2014 2:10:18 AM UTC-5, Stefan Wiederoder wrote: > > that´s the pattern I´m already using for a few other things, I was hoping > there´s a cool new parameter to trigger a require only if necessary. > No new parameter, but you could also repackage your RPM so that it hand

Re: [Puppet Users] Re: "require" broken with create_resources() ?

2014-08-21 Thread jcbollinger
On Wednesday, August 20, 2014 8:11:13 AM UTC-5, R.I. Pienaar wrote: > > > It also works if you quote the 'Class[myclass]' so it should work if it > comes from JSON or whatever > Really? That's news to me. I wonder when that was added. John -- You received this message because you are su

[Puppet Users] mco ping is only showing one node i.e. server node

2014-08-21 Thread vivek sharma
I have two nodes one master which is on centos and other agent which is on windows. PE is installed on both server and agent. When I am trying to use mco ping from server its showing only server node. Moreover in PE console under node tab I am able to see both the nodes but under live management

[Puppet Users] Re: Error 400: Could not find declared class (consistently)

2014-08-21 Thread jcbollinger
On Wednesday, August 20, 2014 8:13:56 AM UTC-5, Lutz Behnke wrote: > > > Hi there, > > I am getting the following error on one of my client machines: > > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Puppet::Parser::AST::Resource failed with error ArgumentError: C

[Puppet Users] custom script execution and sending output back to master

2014-08-21 Thread kaustubh chaudhari
Hi All, I am looking to run a shell script on the agent, i know there are many ways to to do that through manifests, customfacts etc. What i want is, how to send output of this shell script or a file that is created by shell script back to master. eg: i am running below script == #!bin/bash c

Re: [Puppet Users] puppet resource ordering/execution kungfu

2014-08-21 Thread Wil Cooley
On Aug 21, 2014 5:53 AM, "jcbollinger" wrote: > No new parameter, but you could also repackage your RPM so that it handles the permissions of /tmp itself. I suspect that would conflict with the package that already owns /tmp ("basefiles" or whatever it's called). It might be possible to remount

[Puppet Users] Install local rpm with puppet

2014-08-21 Thread Juliano Resende
Hi people, I created a module to install some rpms, but after rpm is installed, in the next time the agent go check for new changes in my puppet master, i get the error with the information that rpm packages is already installed. My module package {'epel-repo-centos7': ensu

Re: [Puppet Users] Re: "require" broken with create_resources() ?

2014-08-21 Thread Vincent Miszczak
I've done some tests : Foreman really just reply a YAML hash with the class name and its parameters (there is a viewer, it just output what it should). I've been trying parse order issue ("myclass" is output after "applications"), but having "anotherclass" that come before, it does not work. I

Re: [Puppet Users] Re: "require" broken with create_resources() ?

2014-08-21 Thread Ramin K
On 8/21/14 6:00 AM, jcbollinger wrote: On Wednesday, August 20, 2014 8:11:13 AM UTC-5, R.I. Pienaar wrote: It also works if you quote the 'Class[myclass]' so it should work if it comes from JSON or whatever Really? That's news to me. I wonder when that was added. John I'm curious

Re: [Puppet Users] Re: "require" broken with create_resources() ?

2014-08-21 Thread R.I.Pienaar
- Original Message - > From: "Vincent Miszczak" > To: puppet-users@googlegroups.com > Sent: Thursday, August 21, 2014 7:19:07 PM > Subject: Re: [Puppet Users] Re: "require" broken with create_resources() ? > > I've done some tests : > > Foreman really just reply a YAML hash with the cl

Re: [Puppet Users] User management

2014-08-21 Thread Garrett Honeycutt
On 8/20/14 11:45 PM, Gregory Orange wrote: > How do people manage users? I'm slowly marching toward LDAP (someone > recently suggested FreeIPA, not sure if it's relevant), but trying to > stave it off for the time being. I've read a few blogs and posts on the > topic, but nothing clear comes out -

[Puppet Users] Re: Install local rpm with puppet

2014-08-21 Thread Juliano Resende
Hi, I made a mistake, the name of the rpm package is wrong, the correct form is package {'epel-release-7-0.2.noarch': ensure => present, provider => 'rpm', install_options => ['-ivh'], source => "/tmp/epel-release-6-8.noarch.rpm

[Puppet Users] Script to track orphaned resources

2014-08-21 Thread Manuel Quiñones
Hello, I'm working on a utility script to track orphaned resources. With orphans I mean: resources that were previously managed by Puppet, but they no longer are. I want to track those while I do a refactor in my manifests. Here is the script I wrote: https://gist.github.com/manuq/eec269ce7b

Re: [Puppet Users] Script to track orphaned resources

2014-08-21 Thread Garrett Honeycutt
On 8/21/14 5:45 PM, Manuel Quiñones wrote: > Hello, > > I'm working on a utility script to track orphaned resources. With > orphans I mean: resources that were previously managed by Puppet, but > they no longer are. I want to track those while I do a refactor in my > manifests. > > Here is the

[Puppet Users] Puppet - Managing Clients over Site-To-Site VPN

2014-08-21 Thread Szymon Raclawicki
Hi Guys, 1) I am running a Puppet master server with console in one location and all of my agents are being deployed to remote locations over Site-To-Site tunnel, however for those machines that are not in the same domain I have discovered a problem. Basically after running "puppet agent --test