Hi there,
Thanks for the responses so far; the docs say "Instead of specifying
the server name explicitly using the / tells Puppet to look for the
file on the Puppet master currently managing the node.". The puppet
master managing the node is specified by the "server" config in /etc/
puppet.con
Run puppet --genconfig and find all the parameters that would need to
be changed to make it work. Most if not all of the important stuff can
be modified by either args to puppet/d or via the puppet.conf
Chris
On May 26, 2009, at 10:53 PM, Brian Ferris wrote:
> I understand that I can only ed
I understand that I can only edit files where permissions allow. But can I
run puppet without a "puppet" user?
Basically, after reading over the documentation, I noticed a number of
references to users ("puppet") and paths (/var/...) that puppet needs to run
that I won't be able to create / have
2009/5/26 Brian Ferris :
>
> I'd like to use puppet to manage configuration files on a couple of
> machines. The catch is that I don't have root on these machines. Is
> this possible? What kind of issues am I going to run into?
>
well you can do anything with puppet the user you're runni
I'd like to use puppet to manage configuration files on a couple of
machines. The catch is that I don't have root on these machines. Is
this possible? What kind of issues am I going to run into?
--~--~-~--~~~---~--~~
You received this message because you are sub
Ohad,
Thanks for that, that is quite interesting. Unfortunately AFAIK I can't
define the hashes in puppet so this is leading to a kinda - read the YAML,
parse it, output XML file kinda solution I think which is probably what I
was trying to avoid if only because it doesn't seem like the "puppet wa
You could simply dump xml output inside your template.
e.g. if you have a simple ruby hash a[:b]="c"
in your template do:
<%=a.to_xml%> and you will get the following output:
=> "\n\n
c\n\n"
cheers,
Ohad
On Wed, May 27, 2009 at 8:13 AM, Joel Heenan wrote:
> Greg,
>
> What I struggled with wi
Greg,
What I struggled with with a template is that the data is multi-dimensional.
So for instance I did:
$policyengines = [ "PolicyEngine01/10.4.4.1", "PolicyEngine02/10.4.4.2" ]
Then in the template I could $policyengine.split("/")[0] to pull out various
aspects. And this works, but its ugly a
Joel,
Would a template be more what you are looking for? I've only done
a couple of very simple templates myself, but it sounds like the sort
of thing that it would be suited to - provided you can get the
required
info to the .erb file...
Greg
On May 27, 9:24 am, Joel Heenan wrote:
> I have an
I have an XML file which contains a list of services for a piece of
middleware, where a service is a tuple: ServiceType, IP Address, Port
number.
I would like to generate this file automatically for each node whenever I
add a new service into puppet. I think external resources are the way to go
ab
2009/5/26 seph :
>
> I can't seem to get exec unless to work right, it ignores the unless and
> always runs the exec:
>
> r...@puppet-test:~# cat /tmp/exectest.pp
> exec{"echo 1 > /tmp/ran":
> path => "/",
> unless => "true",
> }
> r...@puppet-test:~#
Is the program 'true' in you
I can't seem to get exec unless to work right, it ignores the unless and
always runs the exec:
r...@puppet-test:~# cat /tmp/exectest.pp
exec{"echo 1 > /tmp/ran":
path => "/",
unless => "true",
}
r...@puppet-test:~#
r...@puppet-test:~# rm /tmp/ran ; ls /tmp/ran
ls: cann
Wonderful, that patch seems to have solved this error. Thank you so much
for fixing it.
seph
Marc Fournier writes:
> Hello,
>
>
>> The first couple lines look like:
>>
>> err: Could not create 01 localhost spoofing in: undefined method
>> `+' for
>> false:FalseClass /var/lib/puppet/lib/pupp
Puppet (and Facter) was installed by hand (I have a script to install
the latest from reductivelabs.com). I wasn't aware of EPEL, or that
it maintained a puppet package. I've forwarded this on to our
internal repo manager to see if this is something that we can include
in our local mirrors. Thi
Kyle Mallory wrote:
> Digging in, trying to get versions and paths, and all that stuff to
> answer your questions, I found that my problem machine didn't have
> 'which' installed. Apparently puppet relies on it to resolve the
> path. Once I installed it, puppet ran fine.
FWIW, installing the pup
Thanks Jim,
Digging in, trying to get versions and paths, and all that stuff to
answer your questions, I found that my problem machine didn't have
'which' installed. Apparently puppet relies on it to resolve the
path. Once I installed it, puppet ran fine.
Thanks again.
Kyle
--~--~-~--
I think the simplest answer for your case is to switch your launchd
plist around to not call puppet directly, but to instead call a script
that checks whether the right services are in place before actually
starting the first puppet run.
Alternatively, given that it sounds like this is only a pro
Hello List,
I'm running puppet on OS X Tiger 10.4.11. When using the launchd
plist to start up puppet, I'm frequently seeing this issue where
launchd will start up puppet very early in the boot process, often
before configd can set the hostname on the client. This results in
cert reques
Hey Pieter,
I purposely set up the VMs on the same subnet as my physical boxes.
I know that VMWare Server does set up multiple networks but I did have
the ability to ping each from the other. I will look into it when I
get home
from work though.
Thanks,
Steve
On May 26, 11:02 am, Pieter Barrez
Hey Dave,
I purposely set them up as 'bridged' so they're on the same subnet as
my entire LAN.
I modified the /etc/hosts table on each to have entries for both and
can ping each by
its name; I'm hoping that was a sufficient test.
Appreciate the help,
Steve
On May 26, 11:09 am, Dave Cheney wro
Hi Steve,
I can't think of an obvious reason for failure but to rule out network
issues you can run the puppetd command below on the puppetmaster itself ,
effectively making it a client which is a legitimate thing to do. If that
works I would start looking at your network settings between the mas
On Tue, May 26, 2009 at 6:31 AM, Mike Renfro wrote:
>
> Peter Meier wrote:
>
>> imho the tripple slashes just mean: puppet://puppet/
>>
>> So you might want to do: puppet://$server/
>
> I know the first statement isn't correct, since I use triple slashes all
> the time, and my server's name isn't
You mentioned that each Fedora install was running in its own VM. Is
TCP functional in those VM's and are they able to communicate with
each other ?
Cheers
Dave
On 27/05/2009, at 1:02 AM, Pieter Barrezeele wrote:
>
>
> On 26 May 2009, at 13:27, SteveCriscuoli wrote:
>
>
>> I manually insta
On 26 May 2009, at 13:27, SteveCriscuoli wrote:
> I manually installed Ruby, Factor, and Puppet as per the instructions
> in the book. All seemd to be going well.
> I added a puppet user/group to both VMs. I added
> puppetmaster.testing.com to the /etc/hosts of the client box.
> When I started
Peter Meier wrote:
> imho the tripple slashes just mean: puppet://puppet/
>
> So you might want to do: puppet://$server/
I know the first statement isn't correct, since I use triple slashes all
the time, and my server's name isn't puppet. The second statement should
work regardless.
I do hav
Chad Huneycutt wrote:
> I think the problem is that you are 'exit'ing. It looks like you are
> doing that to invert the return code? Try using 'unless' instead of
> 'onlyif', and you can drop everything after the diff.
Perfect. Thanks, Chad. I should have read a little further down the
type
Good morning all,
I've a VERY new user to puppet and picked up the "Pulling Strings ..."
book. I was working through the setup section and ran into a problem.
Here's my environment:
Windows Vista box running VMWare Server hosting 2 VMs; each is running
Fedora 10.
I manually installed Ruby, Fac
I think the problem is that you are 'exit'ing. It looks like you are
doing that to invert the return code? Try using 'unless' instead of
'onlyif', and you can drop everything after the diff.
On 5/26/09, Matt Adams wrote:
>
> Hi,
>
> I'm using Puppet 0.24.8 and facter 1.5.4 on RHEL4 update 7.
>
I'm using latest version on all systems 24.8 include puppetmaster
On Wed, May 20, 2009 at 8:19 PM, Brice Figureau <
brice-pup...@daysofwonder.com> wrote:
>
> On Wed, 2009-05-20 at 12:51 +0530, saurabh verma wrote:
> > Hi
> >
> > I have created virtual resource in my test module
> [snip]
> > I c
Hello,
> The first couple lines look like:
>
> err: Could not create 01 localhost spoofing in: undefined method
> `+' for
> false:FalseClass /var/lib/puppet/lib/puppet/type/iptables.rb:451:in
> `initialize' /usr/lib/ruby/1.8/puppet/type.rb:1129:in
> `new' /usr/lib/ruby/1.8/puppet/type.rb:1129
Hi
> I'm using the puppet:/// protocol with the triple slash as described
> in the advanced puppet recipe because I want to keep all my config
> files on the puppet server that serves the puppet nodes and such:
> http://reductivelabs.com/trac/puppet/wiki/AdvancedPuppetRecipe
>
> In terms of conn
Hi there,
I'm using the puppet:/// protocol with the triple slash as described
in the advanced puppet recipe because I want to keep all my config
files on the puppet server that serves the puppet nodes and such:
http://reductivelabs.com/trac/puppet/wiki/AdvancedPuppetRecipe
In terms of connectin
32 matches
Mail list logo