Thanks :) . Sounds like good advice, I have adjusted my setup now.
Unfortunately that means doing a two-step bootstrap process of a new
environment.
Greetings,
Axel.
Am Montag, 15. Juli 2013 14:36:21 UTC+2 schrieb Axel Bock:
>
> Hello group,
>
> I am trying to run a puppet
Hello group,
I am trying to run a puppet agent v3.2.2 against a puppet master with
version 2.7.18, and I get this weird error:
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: Could not intern from pson: source '"#http://groups.google.com/group/puppet-use
yes, found it already (see my last messge).
sorry for wasting your lifetime ;)
Am Donnerstag, 17. Januar 2013 10:59:33 UTC+1 schrieb Dominic Cleal:
>
> On 17/01/13 09:54, Axel Bock wrote:
> > Hi group,
> >
> > I am trying to template a bash script with pup
oops. forget everything. my mistake. stupid one. and of course this _can_
only be discovered after you posted a stupid question to really document
your own idiocy.
:)
Thanks,
Axel.
Am Donnerstag, 17. Januar 2013 10:54:23 UTC+1 schrieb Axel Bock:
>
> Hi group,
>
> I am trying t
Hi group,
I am trying to template a bash script with puppet. Unfortunately, this
fails with a bang, and even more unfortunately I have no idea why.
The script starts with the usual
#!/bin/bash
When I run puppet, I get this:
info: Caching catalog for l1211022.sdst.sbaintern.de
err: Failed
Hi Klaus,
why not simply manage the file using puppet (file { "/to/my/file" : ensure
=> present, content => "..." }) ? Puppet actually makes sure the file's
contents are always constant.
HTH,
Axel.
Am Dienstag, 9. Oktober 2012 14:08:52 UTC+2 schrieb Klaus Ethgen:
>
> Hello,
>
> is it poss
o go here.
Thanks!
Axel.
Am Montag, 1. Oktober 2012 15:31:10 UTC+2 schrieb jcbollinger:
>
>
>
> On Friday, September 28, 2012 7:44:02 AM UTC-5, Axel Bock wrote:
>>
>> Okay, I am one step farther.
>>
>> After seeing "Invalid resource" for about 100 time
e forgotten to do this on occasion which amounted in a few minutes
> of frustration.
>
> Good luck,
>
> Trevor
>
> On Fri, Sep 28, 2012 at 8:44 AM, Axel Bock
> >
> wrote:
> > Okay, I am one step farther.
> >
> > After seeing "Invalid resour
Does nobody have any idea? I am using puppet 2.6.17 from the SuSE SLES 11
SP2 repo.
thanks in advance & greetings!
Axel.
Am Freitag, 28. September 2012 08:15:14 UTC+2 schrieb Axel Bock:
>
> plugincheck on client: check.
> commented out property: check.
>
> unfortunately
pic/puppet-users/C5Pfg_r_Srs/discussion
>
> I am not positive however I believe your issue likely falls fowl of the
> same problem I had, essentially the manifest directive only takes a single
> file location.
>
> Peter.
>
> On Monday, September 24, 2012 9:48:56 PM UTC
plugincheck on client: check.
commented out property: check.
unfortunately same result :(
thanks,
axel.
Am Donnerstag, 27. September 2012 21:37:02 UTC+2 schrieb Jakov Sosic:
>
> On 09/27/2012 05:21 PM, Axel Bock wrote:
> > p.s.: my type can be seen here: http://pastebin.
p.s.: my type can be seen here: http://pastebin.com/20N8teKV
and the provider here: http://pastebin.com/SjqyWegu
thanks,
axel.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/
Hi readers,
I have developed a custom SVN type (based on http://is.gd/W0cIMS among
others), and I guess it's fairly correct ruby code. (at least I don't get
any syntax errors).
now I have deployed it in my module in
/lib/puppet/type/repo_checkout.rb and
/lib/puppet/provider/repo_checkout/sv
> My puppet client only uses the node definitions in the environment
> specific site.pp
>
> Anyway you can debug the master with:
>
> puppet master --verbose --no-daemonize --debug
>
>
> On Wednesday, September 26, 2012 9:55:21 AM UTC+2, Axel Bock wrote:
>>
&g
t setting.
thanks & cheers!
Axel.
Am Montag, 24. September 2012 13:48:56 UTC+2 schrieb Axel Bock:
>
> Hello readers,
>
> I am configuring my environment to have a separate manifest file, using
> $environment to in the module and manifest path.
> For the modules it works now. Th
I've done it with hashes as Trevor suggests. I do it to pass values to
templates, what's your use case?
basically my class looks like this:
class myclass( $myhash => {}) {
...
}
and I use the class like this:
myclass { "myclass" :
myhash => { "mykey" => "myvalue" },
}
works like a charm.
if the package is in under the management of the system's package manager
it should not matter whether it is puppet-"managed". puppet checks for the
presence of the package in the system,and then fails if it's not there and
can't install it.
and you can always go with an exec{} resource, which
Hello readers,
I am configuring my environment to have a separate manifest file, using
$environment to in the module and manifest path.
For the modules it works now. The site.pp file ... is another issue. I was
under the impression it did, but it wasnt.
Basically I did the following:
module
Disregard, it seems to work now for some reason.
thanks anyways!
Axel.
Am Donnerstag, 20. September 2012 14:43:47 UTC+2 schrieb Axel Bock:
>
> Hello readers,
>
> I have a little thing here. I am configuring my environment to have a
> separate manifest file, using the [ENV]
Hello readers,
I have a little thing here. I am configuring my environment to have a
separate manifest file, using the [ENV] blocks and the manifest= setting in
puppet.conf. So far, so good.
Now if I run the puppet agent on the client machine, the catalog does seem
to be empty. I deliberately
, 2012 at 2:00 AM, Axel Bock
> >
> wrote:
> >
> > I am trying to manage /etc/sysconfig/apache2 with puppet. Due to our
> > internal security guidelines I have only rw- rights on the file itself,
> but
> > not the directory it's in.
> >
> &g
Hello readers,
I am trying to manage /etc/sysconfig/apache2 with puppet. Due to our
internal security guidelines I have only rw- rights on the file itself, but
not the directory it's in.
Now this happens:
err: /Stage[main]/Bas3::Webserver/File[/etc/sysconfig/apache2]/content:
change from {m
Am Mittwoch, 5. September 2012 16:13:53 UTC+2 schrieb jcbollinger:
>
> perhaps you mistook the direction of the 'notify' relationship.
this is it :) . thank you very much for this precise explanation :)
--
You received this message because you are subscribed to the Google Groups
"Puppet U
I have no idea what my init scripts are doing actually :) . I am just
wondering why nothing shows up when *I* run puppet agent --test.
And it still confuses me that this seems to be a requirement (which I could
not find anywhere ... not that I looked, though :) for a command line tool
which usua
... @joseph: do you have localized ipconfig output?
(btw I have facter 1.5.2, puppet 2.6.17, both from suse rpms)
Am Donnerstag, 6. September 2012 08:25:45 UTC+2 schrieb Axel Bock:
>
> uuh ... /inet addr[...]/ as pattern in ip.rb? a wild guess ... if the
> output is localized - th
ipaddress_eth0 => 130.250.8.15
macaddress_eth0 => 00:50:56:99:05:02
macaddress_eth1 => 00:50:56:99:18:02
netmask_eth0 => 255.255.255.0
*l1215022:~ #*
oh boy. seriously? NO ONE noticed that before?? I'm stunned right now.
Am Donnerstag, 6. September 2012 08:17:02 UTC+2 schrieb Axel Bock:
thub.com/puppetlabs/facter/blob/master/lib/facter/util/ip.rb
>
> KW
>
> On Wednesday, 5 September 2012 09:52:03 UTC+1, Axel Bock wrote:
>>
>> Hello,
>>
>> @Joseph: not yet.
>>
>> @Eric: sure :) . SLES 11 SP2, and the output is here:
>> http://pa
Am Mittwoch, 5. September 2012 11:25:51 UTC+2 schrieb R.I. Pienaar:
>
> why would you start a service before the config file is deployed?
> surely you want to configure the service before starting it?
>
sure :) . that's what I meant, basically.
> so the common pattern is:
>
> package{"some
how to do this maybe?
Thanks,
Axel.
Am Mittwoch, 5. September 2012 10:47:04 UTC+2 schrieb Axel Bock:
>
> Hi readers,
>
> I had this idea. I am deploying a configuration file of a service with
> puppet, and I want to restart the service if the file changes.
>
> s
Could you please run 'facter
> --debug' and pastebin the output somewhere?
>
> On Monday, August 20, 2012 1:19:39 AM UTC-7, Axel Bock wrote:
>>
>> Hi readers,
>>
>> another problem of mine. A host which worked just fine on friday is now
>> not able to
Hi readers,
I had this idea. I am deploying a configuration file of a service with
puppet, and I want to restart the service if the file changes.
so I had this idea that the file definition contains a require=> and a
notify=> for the service.
that does not work, because Puppet does assume cy
s because I have an old version. File
autorequires don't seem to work too well here, too, I think.
Am Mittwoch, 22. August 2012 14:27:03 UTC+2 schrieb Axel Bock:
>
> Hi readers
>
> another question for my little puppet project: Can I (and if yes, how)
> define dependendie
'server' { include webserver }
node 'host1' inherits 'server' { preparevhost {"url" : } }
I'd appreciate any help :) . Oh, and yes, my puppet version is 2.6.12 from
SLES 11 SP2.
Thanks in advance & greetings!
Axel.
Am Mittwoch, 22. August 2012
Hi readers
another question for my little puppet project: Can I (and if yes, how)
define dependendies between puppet "defines"? (define like in define
mymodule::mydefine() {...})
Example: I have a define "prepare_cool_thing" and another define
"cool_thing". Both can be on a machine several ti
Hi readers,
another problem of mine. A host which worked just fine on friday is now not
able to find out its own IP address. The reason is pretty simple as far as
I have figured out: Facter. Facter returns the network interfaces just
fine: interfaces=eth0,eth1, but then the ipaddress_ETHx entr
12:05:05 UTC+2 schrieb Axel Bock:
>
> Hello readers,
>
> I am wondering - what's the difference between executing "puppet agent"
> and "puppetd"? I am on SLES 11 SP2, and both commands want to use the
> /var/run/puppet/agent.pid lock file, both pull
Hello readers,
I am wondering - what's the difference between executing "puppet agent" and
"puppetd"? I am on SLES 11 SP2, and both commands want to use the
/var/run/puppet/agent.pid lock file, both pull the configurations from the
server, but they seem to be mutually exlusive. When I run "sud
hm, nevermind, I solved it somehow, although I don't know how (yet). it
involved a lot of deleting and restarting :) ...
thanks anyways!
/Axel.
Am Freitag, 10. August 2012 14:10:57 UTC+2 schrieb Axel Bock:
>
> Hello readers,
>
> I have this little issue that my puppet cli
Hi Calvin,
that works great :) ! thanks!
/Axel.
Am Mittwoch, 8. August 2012 14:11:27 UTC+2 schrieb Calvin Walton:
>
> On Tue, 2012-08-07 at 22:53 -0700, Axel Bock wrote:
> > Hello readers,
> >
> > I might have the need for something like "delete all unmanaged f
hm, nevermind, I somehow solved it. although I'm not (yet) sure how. It
involved a lot of restarting and deleting :)
thanks anyways!
Axel.
2012/8/10 Axel Bock
> Hello readers,
>
> I have this little issue that my puppet client refuses to do anything
> because of SSL validat
Hello readers,
I have this little issue that my puppet client refuses to do anything
because of SSL validation errors. Maybe I'll just post dump of what
happens, that makes it clear I hope. Does anyone have a suggestion why that
might happen? what I already checked:
On the master:
- Pup
easy. every resource may only be defined _once_.
you try ... twice (file { $path : ... } and file { $path: ... }, right?)
why not simply
file { $path:
ensure => directory,
recurse => true,
purge => true,
source => 'puppet:///modules/jboss/lib
}
?
if you _need_ to do this twice for
Hi readers,
I am having trouble understanding the puppet user= configuration setting in
the puppet.conf file. If puppet is configured to run as "puppet" by
default, how can puppet execute system configuration settings? installing
packages etc. is done basically by root and root only, so does t
Hello readers,
I might have the need for something like "delete all unmanaged files".
Explanation: I am creating a bunch of apache config files, which contain
information about the hostname and the port they're listening on. Now if I
change the host name - or the port - the last generated file
Hi Oren,
I'm kind of new to puppet myself - but I think this is not working as you
might like. If you import a class with your definitions, your scope changes
AFAIK. So between
import more_defs.qa
and
import more_defs.dev
there is - again: AFAIK - one major disadvantage. Using classes you will
ady exists :) .
Not great, but working.
Thanks for your answer!
Am Freitag, 3. August 2012 16:04:48 UTC+2 schrieb jcbollinger:
>
>
>
> On Wednesday, August 1, 2012 1:18:51 AM UTC-5, Axel Bock wrote:
>>
>>
>> Mainly I just want to have the directory to have the correct
nly I just want to have the directory to have the correct permission
when it is not currently mounted.
Thanks & greetings,
Axel.
Am Mittwoch, 1. August 2012 00:24:21 UTC+2 schrieb Christopher Wood:
>
> (inline)
>
> On Tue, Jul 31, 2012 at 05:23:00AM -0700, Axel Bock wr
thanks for the reply, I actually made an error in my declaration. I used
two variables which I had just moved out of scope, and so I declared two
empty File[] objects - and puppet complained.
When your solution didn't work either it hit me :) .
thanks & greetings!
Axel.
Am Dienstag, 31. Ju
Hello readers,
I am wondering - I intend to create a few directory trees with the file{
[array] } pattern, but unfortunately Puppet complains. It says "File[] is
already declared in file ..." - which kind of looks like as if Puppet takes
a file object with an array as parameter as a single, u
Hi group,
I am managing an NFS mount with puppet. And it does not work, and seriously
I really don't see how this can work out nicely. First I make sure with a
file {} class that the directory I want to mount exists. Cause it is used
by the webserver it should belong to the wwwrun/www group on
that sounds quite like what I need. thanks :)
Am Montag, 30. Juli 2012 16:04:56 UTC+2 schrieb R.I. Pienaar:
>
>
>
> - Original Message -
> > From: "Axel Bock"
> > To: puppet-users@googlegroups.com
> > Sent: Monday, July 30, 2012 5:50:41 AM
>
ike said in the docs.
thanks in advance,
axel.
Am Donnerstag, 19. Juli 2012 15:58:06 UTC+2 schrieb R.I. Pienaar:
>
>
>
> - Original Message -
> > From: "Axel Bock"
> > To: puppet-users@googlegroups.com
> > Sent: Thursday, July 19, 2012 2:54:36 P
Hello all,
I am new to puppet and I am currently designing a set of deployment rules
for our company web servers. The Puppet DSL brings me quite far, but now I
could really use the possibility to extend the DSL with one or two ruby
functions.
Example: I would like to iterate over all the IP
53 matches
Mail list logo