On Oct 14, 2010, at 10:23 PM, Don Jackson wrote:
>
> I'd like to extend my use of puppet to manage my desktop/notebook macs.
>
> As others have noted, the hostname of the mobile machines tends to change
> frequently, so basing the node name (in my site.pp) and the corresponding
> cert and pri
Looks like there's a bug filed : http://projects.puppetlabs.com/issues/3234
On Thu, Oct 14, 2010 at 4:59 PM, Phil Plante wrote:
> Hello,
>
> I have puppet setup on 8 nodes with 1 puppetmaster server. So far 7
> of the 8 nodes have performed flawlessly, 1 is currently failing with
> the followin
I'd like to extend my use of puppet to manage my desktop/notebook macs.
As others have noted, the hostname of the mobile machines tends to change
frequently, so basing the node name (in my site.pp) and the corresponding cert
and private key names seems to be an issue.
I seem to recall somewhat
"puppet.config" should be the fqdn of the node that created that request.
Does "facter fqdn" give you "puppet.config" on that node?
Does "puppetd --genconfig | grep certname" give you "puppet.config" on that
node?
On Oct 14, 2010, at 3:13 PM, john maclean wrote:
> What gives with the hostname
To save you some hassle in the future, I recommend not defining new
fileserver mount points and instead use a module to distribute the
files.
Puppet master automatically exposes the files directory of a module
via the fileserver. More information is available at
http://docs.puppetlabs.com in the
That's not puppet, it's how you've configured the hostname of the system itself.
What does facter fqdn say? It will have .config as well on those nodes.
On Thursday, October 14, 2010, Bruce Richardson wrote:
> On Thu, Oct 14, 2010 at 11:13:00PM +0100, john maclean wrote:
>> What gives with the
On Oct 14, 3:49 pm, Michal Ludvig wrote:
> On 10/15/2010 08:36 AM, Arnau Bria wrote:> On Thu, 14 Oct 2010 23:47:16
> +1300
> > Michal Ludvig wrote
> >> 1) kickstart installs the system, including puppet from our local repo
> >> 2) after reboot I have to login and set the hostname and IP
> > k
On 10/14/2010 03:49 PM, Michal Ludvig wrote:
On 10/15/2010 08:36 AM, Arnau Bria wrote:
On Thu, 14 Oct 2010 23:47:16 +1300
Michal Ludvig wrote
1) kickstart installs the system, including puppet from our local repo
2) after reboot I have to login and set the hostname and IP
kickstart is able to
On 10/15/2010 08:36 AM, Arnau Bria wrote:
On Thu, 14 Oct 2010 23:47:16 +1300
Michal Ludvig wrote
1) kickstart installs the system, including puppet from our local repo
2) after reboot I have to login and set the hostname and IP
kickstart is able to configure your network / hostname. Why don't
On Thu, 14 Oct 2010 18:37:01 -0400, Peter Berghold wrote:
>
> <% nagios_conf_dirs.each |dir| -%>
> cfg_dir=<%= dir %>
> <% end -%>
>
> Anybody have any idea why that would cause a syntax error in a template?
>
> According to debug mode on puppetmasterd it is
>
> err: compile error
> (erb):1
<% nagios_conf_dirs.each |dir| -%>
cfg_dir=<%= dir %>
<% end -%>
Anybody have any idea why that would cause a syntax error in a template?
According to debug mode on puppetmasterd it is
err: compile error
(erb):18: syntax error
_erbout.concat "cfg_dir"; _erbout.concat(( dir ).to_s); _erbout.c
Hello Nigel,
Am 13.10.2010 17:35, schrieb Nigel Kersten:
> ...
> Have you tried running the recent packages on Debian stable? They do
> work, you're more than welcome to go to a bleeding edge release if you
> wish.
>
> This is all pretty standard practice for Debian...
>
> I wasn't being sarcast
On Thu, Oct 14, 2010 at 11:13:00PM +0100, john maclean wrote:
> What gives with the hostname "config" extension and where is this set?
>
>
> puppetca --list --all
> + pclient1.config
> + pclient2
> + puppet.config
>
That looks to me as if there is something odd in puppet.conf on your
nodes. I
What gives with the hostname "config" extension and where is this set?
puppetca --list --all
+ pclient1.config
+ pclient2
+ puppet.config
puppet --version
0.25.4
--
John Maclean
MSc (DIC)
Enterprise Linux Systems Engineer
--
You received this message because you are subscribed to the Goog
I understand what you're saying, but I'm having a hard time picturing
how you actually invoke the command then. Something along the lines
of "puppet agent --server myserver.dom.com"?
On Oct 14, 3:40 pm, Darren Chamberlain wrote:
> We run puppet as root, but we do it from cron, not puppetd.
>
> *
We run puppet as root, but we do it from cron, not puppetd.
* nickt [2010/10/14 13:03]:
> Oh! (Thanks for the links! :) Okay, that would make sense then, it
> must be trying to do the useradd as puppet user rather than as root.
> Then, how do people typically deal with this sort of thing on
> S
And for that matter, why does it work "right" on Linux? If I run the
puppetd with sudo ( sudo puppetd --server myserver.dom.com --verbose --
no-daemonize ) it works fine on Linux (or at least an Ubuntu 10.10
box).
On Oct 14, 3:03 pm, nickt wrote:
> Oh! (Thanks for the links! :) Okay, that woul
Oh! (Thanks for the links! :) Okay, that would make sense then, it
must be trying to do the useradd as puppet user rather than as root.
Then, how do people typically deal with this sort of thing on
Solaris? Give puppet user permissions to execute useradd via ACL/
roles or something?
On Oct 14,
According to
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/head/userdefs.h#118,
an exit status of 1 means No permission. (See
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/oamuser/user/useradd.c
for the source to useradd.)
* nickt [2010/10/14 12:32]:
> Thu Oct
On Thu, 14 Oct 2010 23:47:16 +1300
Michal Ludvig wrote:
> Hi guys,
Hi Michal,
> Here's my situation:
> 1) kickstart installs the system, including puppet from our local repo
> 2) after reboot I have to login and set the hostname and IP
kickstart is able to configure your network / hostname. Wh
Exact command I ran was /usr/local/sbin/puppetd --server
myserver.dom.com --debug --logdest file --no-daemonize
Sorry this is so long!
Thu Oct 14 14:27:00 -0500 2010 Puppet (debug): Failed to load library
'shadow' for feature 'libshadow'
Thu Oct 14 14:27:00 -0500 2010 Puppet (debug):
Puppet::Type
On Thu, Oct 14, 2010 at 6:47 AM, Michal Ludvig
> 1) kickstart installs the system, including puppet from our local repo
In our case, kickstart sets the hostname and the ip/netmask/gateway/dns
Why dont you set hostname and the ip/netmask/gateway/dns... in the
kickstart file?
Mohamed.
--
Yo
Excerpts from Michal Ludvig's message of Thu Oct 14 06:47:16 -0400 2010:
> I'm installing Puppet on RHEL5 systems using KickStart but struggle with
> the first boot.
>
> Here's my situation:
> 1) kickstart installs the system, including puppet from our local repo
> 2) after reboot I have to login
you can always use http://theforeman.org to do the provisioning for you.
Ohad
On Thu, Oct 14, 2010 at 12:47 PM, Michal Ludvig wrote:
> Hi guys,
>
> I'm installing Puppet on RHEL5 systems using KickStart but struggle with
> the first boot.
>
> Here's my situation:
> 1) kickstart installs the sys
Nvm. I fixed it.
On Oct 14, 2:58 pm, Kikanny wrote:
> I'm pretty sure this is simple, but I just can't get it to work. I
> have a directory called test (in location /home/server/test) and it
> has sub directories and other files. I want to copy this directory and
> all its contents into a locatio
On 10/14/2010 3:47 AM, Michal Ludvig wrote:
> Hi guys,
>
> I'm installing Puppet on RHEL5 systems using KickStart but struggle
> with the first boot.
>
> Here's my situation:
> 1) kickstart installs the system, including puppet from our local repo
> 2) after reboot I have to login and set the hos
I'm pretty sure this is simple, but I just can't get it to work. I
have a directory called test (in location /home/server/test) and it
has sub directories and other files. I want to copy this directory and
all its contents into a location on the client machine. I'm not sure
what I'm doing wrong. Th
On Thu, 2010-10-14 at 23:47 +1300, Michal Ludvig wrote:
> Hi guys,
>
> I'm installing Puppet on RHEL5 systems using KickStart but struggle with
> the first boot.
As Stephen says, use cobbler (we do as well!) and put it into your
kickstart.
Here's ours:
== sample.ks
We done it 2 different ways:
*) Pull and run a shellscript that sets puppet to run when the computer first
boots up.
Or instead of running the shell script, run something like this:
get private_keys/bootstrap.pem (Pseudocode)
get signed/bootstrap.pem (Pseudocode)
get public_keys/ca.pem (Pseudoc
Michal Ludvig writes:
> Hi guys,
>
> I'm installing Puppet on RHEL5 systems using KickStart but struggle with
> the first boot.
>
> Here's my situation:
> 1) kickstart installs the system, including puppet from our local repo
> 2) after reboot I have to login and set the hostname and I
Hi guys,
I'm installing Puppet on RHEL5 systems using KickStart but struggle with
the first boot.
Here's my situation:
1) kickstart installs the system, including puppet from our local repo
2) after reboot I have to login and set the hostname and IP
3) then run puppet, register it with the se
There's a split function in Puppet's DSL as well. If you don't want
to do the inline_template() route.
http://docs.puppetlabs.com/references/stable/function.html#split
On Thu, Oct 14, 2010 at 10:26 AM, Dennis vdM wrote:
> THNX! Just what I needed ;-)
>
> On 14 okt, 16:18, Mohit Chawla wrote:
Hello,
I have puppet setup on 8 nodes with 1 puppetmaster server. So far 7
of the 8 nodes have performed flawlessly, 1 is currently failing with
the following error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: undefined method `fact_merge' for nil:NilClass
warning:
On Thu, Oct 14, 2010 at 9:48 AM, Mohit Chawla
wrote:
>
>
> On Thu, Oct 14, 2010 at 9:55 PM, Nigel Kersten
> wrote:
>>
>> On Thu, Oct 14, 2010 at 7:18 AM, Mohit Chawla
>> wrote:
>> > Split & Join inside an inline template should work well.
>>
>> Wouldn't it be a bit cleaner to use the builtin reg
On Thu, Oct 14, 2010 at 9:55 PM, Nigel Kersten wrote:
> On Thu, Oct 14, 2010 at 7:18 AM, Mohit Chawla
> wrote:
> > Split & Join inside an inline template should work well.
>
> Wouldn't it be a bit cleaner to use the builtin regsubst function?
>
> http://docs.puppetlabs.com/references/latest/funct
On Thursday, October 14, 2010, Nigel Kersten wrote:
> On Thu, Oct 14, 2010 at 9:10 AM, nickt wrote:
>> No problem if I do that "by hand", as root. Just gives me the normal
>> message, "64 blocks", and creates the account and directory as
>> indicated.
>
> Are you running puppet as root? If not,
On Thu, Oct 14, 2010 at 9:10 AM, nickt wrote:
> No problem if I do that "by hand", as root. Just gives me the normal
> message, "64 blocks", and creates the account and directory as
> indicated.
Are you running puppet as root? If not, does it work as the user
puppet is running as?
>
> On Oct 13
On Thu, Oct 14, 2010 at 7:18 AM, Mohit Chawla
wrote:
> Split & Join inside an inline template should work well.
Wouldn't it be a bit cleaner to use the builtin regsubst function?
http://docs.puppetlabs.com/references/latest/function.html#regsubst
"Example:
Get the third octet from the node’s I
No problem if I do that "by hand", as root. Just gives me the normal
message, "64 blocks", and creates the account and directory as
indicated.
On Oct 13, 2:04 pm, Bruce Richardson wrote:
> On Tue, Oct 12, 2010 at 07:59:40AM -0700, nickt wrote:
>
> > err: /Stage[main]/User::Virtual/User[user1]/en
On Thursday 14 Oct 2010 14:57:08 Dennis vdM wrote:
> I'm trying to manipulate the following facter variable:
>
> ipaddress => 10.85.207.2
>
> What I need is the second group of digits. If it's 84 then location is
> A, but if it's 85 then location is B.
> In puppet I couldn't grab this second set
I think the bigger question is, what problem are you trying solve with this?
On Oct 14, 2010 10:26 AM, "Dennis vdM" wrote:
> THNX! Just what I needed ;-)
>
> On 14 okt, 16:18, Mohit Chawla wrote:
>> Split & Join inside an inline template should work well.
>>
>> For eg.,
>> $nsip=inline_template('
THNX! Just what I needed ;-)
On 14 okt, 16:18, Mohit Chawla wrote:
> Split & Join inside an inline template should work well.
>
> For eg.,
> $nsip=inline_template('<%= ipaddress.split(".")[0..1].collect{|x|
> x}.join(".") %>')
>
> This will split an ip address, say 192.168.1.3, split it at each o
Split & Join inside an inline template should work well.
For eg.,
$nsip=inline_template('<%= ipaddress.split(".")[0..1].collect{|x|
x}.join(".") %>')
This will split an ip address, say 192.168.1.3, split it at each occurrence
of a "." and will join the first two numbers ( referenced as [0..1] ),
I'm trying to manipulate the following facter variable:
ipaddress => 10.85.207.2
What I need is the second group of digits. If it's 84 then location is
A, but if it's 85 then location is B.
In puppet I couldn't grab this second set of digits, but maybe there
is a way?
I've already tried to make
Hi Doug,
What i did with my manual puppet runs was a copy of the ntp.conf files
to the clients and restart the ntp service.
So if you would declare that as a time change... yeah i did change
it.
Times on server and clients are complete identically. I checked the
validity of the certificate regard
45 matches
Mail list logo