OK, so now that I understand where the functions run, I'll write a
type / provider.
The reason I need to get something custom run on the client is to
learn how puppet works at that level. Then once I'm happy with the
level of knowledge I will get with customizing puppet, I'll be able to
figure out
On Wednesday, April 18, 2012, Chris Donovan wrote:
> Hi,
>
> Yes, filename is what is supposed to be there. That's not my issue
> however though, my issue is that it doesn't load / run properly.
>
> If puppet 2.7.6 still does not run functions on the client then that's
> great, and I'll write a p
Hi,
Yes, filename is what is supposed to be there. That's not my issue
however though, my issue is that it doesn't load / run properly.
If puppet 2.7.6 still does not run functions on the client then that's
great, and I'll write a provider, and possibly a type.
Chris-
On Thu, Apr 19, 2012 at
At first glance (on phone), Check this line:
1. file = File.open(file, 'r+')
Don't you want filename as the argument?
n Wednesday, April 18, 2012, Chris Donovan wrote:
> Hello,
>
> So I'm working my way through writing custom functions for puppet 2.7.6,
> and what I think is valid seem
Hello,
So I'm working my way through writing custom functions for puppet 2.7.6,
and what I think is valid seems not to be, and unfortunately I can't find
any additional help in the docs. I've got a pastebin link
(http://pastebin.com/HimPyWHh) that shows my function, site.pp, and the
file I'm
On Apr 18, 2012, at 6:08 PM, Jo Rhett wrote:
> On Apr 16, 2012, at 6:51 PM, Dan White wrote:
>> I got a bunch of error complaining about "rpaths", and in the output was a
>> suggestion to prepend an environment setting to the command -- like this:
>>
>> QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba
On Apr 16, 2012, at 6:51 PM, Dan White wrote:
> I got a bunch of error complaining about "rpaths", and in the output was a
> suggestion to prepend an environment setting to the command -- like this:
>
> QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec
>
> When I ran this, the
# Vardir similarly moved to /app for space issues
vardir = /app/puppet/var
# The Puppet log directory.
# The default value is '$vardir/log'.
logdir = /app/puppet/log
# Where Puppet PID files are kept.
# The default value is '$vardir/run'.
rundir = /var/run/puppet
On Wed, Apr 18, 2012 at 22:33, Jax01 wrote:
> Hi everyone;
>
> I am trying to change the location of where the ssl cert files are
> stored. I have changed this in the puppet.conf file but, when I start
> the puppetmaster, the only certs being created are still in /etc/
> puppet. Can someone tel
Hi everyone;
I am trying to change the location of where the ssl cert files are
stored. I have changed this in the puppet.conf file but, when I start
the puppetmaster, the only certs being created are still in /etc/
puppet. Can someone tell me what I am missing here?
Thank you!
--
You receive
So there were two gotchas :-) One, my mis-typed / and the other the
missing ? in the evaluation ;-)
Thanks again, guys, I appreciate the feedback.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-use
Eric,
Thank you for the response, and yes, our current configuration and security
requirements have made things a bit difficult at the moment. Fortunately
we do already have an ENC which does access an access-controlled database
and does have the environment information in it, though we still do
Trevor,
Thank you for the response; I believe you got the idea pretty well and
while your suggestion makes sense, it is something we definitely can't
follow through with right now; our configuration is massive and complex and
having to maintain three different yet similar sets of configuration wou
I was just thinking about the problem of host groups and such trying to set
up our puppet infrastructure properly and came to the realization that
using MCollective better in puppet dashboard would allow for more cloud
like scaling of infrastructure services.
Here is the concept:
Right now in
I'll take a stab at some of this. Hopefully I'm correctly understanding
your issue.
Am I correct in the following? :
You define 3 environments development, staging, and production. These
environments are defined as such in Puppet but they are also separate
environments within your network, f
Ticket filed. http://projects.puppetlabs.com/issues/14066
--
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 unsubscribe from this group, send email to
puppet-users+unsubscr..
Hi Ken, thanks for posting.
It seems like you have introduced some tension between the security
requirements (clients which are in a particular environment must not be
able to retrieve other environments) and the need to have widespread
testing with good coverage. From what I understand you'v
Thanks for detailed explanation.
Using certname seems to be fine. I'll create some unchanging property as a
fact and will use it in manifests.
Thanks,
Artyom
On Wednesday, April 18, 2012 5:29:24 PM UTC+4, jcbollinger wrote:
>
>
>
> On Apr 17, 11:34 pm, Artyom Krilov wrote:
> > Hi Everybody,
In this case if hostname changes are frequent I'll get too much unnecessary
traffic.
On Wednesday, April 18, 2012 4:35:43 PM UTC+4, Ygor wrote:
>
> Been there, done that, got a link for you:
>
> http://infrastructure.fedoraproject.org/infra/docs/infra-hostrename.txt
>
> Basically, clean out the c
On Apr 17, 5:04 pm, Steve Roberts wrote:
> On Apr 17, 6:25 am, jcbollinger wrote:
> well, allowdupe doesn't fix the issue only masks it. I knew about
> taht attribute but
> it just adds a duped group instead of making right the user/group.
Indeed, but that's what you asked about.
> > That
On Apr 17, 11:34 pm, Artyom Krilov wrote:
> Hi Everybody,
>
> I have a puppet setup working, but run into issue, which couldn't figure
> out how to solve.
>
> Say I have puppet agent generated certificate and signed it on puppet
> master. If somehow puppet agent's hostname has been changed it wi
On Apr 18, 3:17 am, Luke Bigum wrote:
> If you're really really lucky you can look in ${vardir}/clientbucket on
> an Agent (usually /var/lib/puppet/clientbucket) and ${vardir}/bucket on
> the Master. They are backup directories of files that Puppet replaces,
> keyed on the MD5 sum of the file. U
On Apr 17, 10:42 am, Adam Heinz wrote:
> I think I've hit a minor permissions bug using
> puppet-2.6.13-2.el6.noarch from EPEL on CentOS 6. In order to
> reproduce production bugs on a test environment, I use puppet to copy
> the latest backup to a test server, followed by the remainder of the
Dear List,
i was running a few natty systems and upgraded one of them to oneiric.
Facter shows the right lsbdistcodename, lsbdistrelease, etc.
parameters, but when i'm running puppet agent the modules has access
to the previous (natty, etc.) values. As i see on puppetmaster in /var/
lib/puppet/yam
Been there, done that, got a link for you:
http://infrastructure.fedoraproject.org/infra/docs/infra-hostrename.txt
Basically, clean out the certificate info on the client/agent, clear the old
info from the master, and then re-certify the agent/client with the new info.
“Sometimes I think the s
I should add that I am using a masterless puppet environment, so a global
list of all nodes is not available.
Some Googling suggested the use of multiple files that are concatenated,
but I think that's a messy kluge, and would like to avoid doing that.
On Wednesday, April 18, 2012 12:38:08 PM U
No ideas?
> -Ursprüngliche Nachricht-
> Von: Bernd Adamowicz
> Gesendet: Montag, 16. April 2012 13:32
> An: 'puppet-users@googlegroups.com'
> Betreff: Could not send report: Error 400 on SERVER: execution expired
>
> Hi all!
>
> One of my Puppet masters has to compile some 3800 stored co
I have an internal web site that can only be accessed from other servers.
It seems to me that I should pass an array of the addresses to the class
that instantiates the template for the Apache configuration. That seems
easy.
The hard part is getting every node to "register" itself so that it's
If you wanted to do this all in Puppet, you could take the same approach
that people do with Nagios an use exported resources. Have each of your
nodes export some kind of resource that describes what it's DHCP
configuration would be based on it's IP and MAC address Facts, then
collect those res
If you're really really lucky you can look in ${vardir}/clientbucket on
an Agent (usually /var/lib/puppet/clientbucket) and ${vardir}/bucket on
the Master. They are backup directories of files that Puppet replaces,
keyed on the MD5 sum of the file. Unfortunately I don't think the User
providers
Hello,
I want to generate my infrastructure's dhcp/pxe config from puppet, but
to go through the node definitions? Btw. we only use explicit
definitions, no regexp. So everything is explicit.
I thought about using Puppet::Parser...something ... any hints?
Thanks for you help!
Christian
--
Y
Hi Everybody,
I have a puppet setup working, but run into issue, which couldn't figure
out how to solve.
Say I have puppet agent generated certificate and signed it on puppet
master. If somehow puppet agent's hostname has been changed it will stop
communication with puppet master. I would like
Hi Mangesh,
I don't believe you can do all this with the dashboard. You will be able to
show the your nodes and their puppet reports. This will also indicate their
current status (Unchanged, changed, failed, not responding). You will not
be able to show logs from other applications if thats what y
Hello folks,
After some conversation on #puppet on Freenode IRC, Eric Sorenson
requested I repost the information and question here, so I am doing so
and hopefully it will all make sense...
We currently have a well-established and relatively complex Puppet
setup in place at my company and I'm in
34 matches
Mail list logo