On Tue, Oct 20, 2009 at 9:36 PM, Matt wrote:
>
> I'd really bite the bullet Stephen and give passenger 2.2.2 a try.
OK - tried passenger 2.2.2 - same behaviour.
I'm going to blow everything away and start again from scratch and see
if I get the same results.
S.
--
Stephen Nelson-Smith
Technic
On 21 Paź, 00:11, James Turnbull wrote:
> 2009/10/21 Adam Ryczkowski :
>
>
>
> > It looks that most people writing the puppet Wiki and posting letters
> > to this list are using puppet at least 0.25. I use a Ubuntu 8.04
> > server, where the most recent version of puppet I can get from
> > reposi
On 21 Paź, 06:54, Luke Kanies wrote:
> On Oct 19, 2009, at 5:29 AM, Adam Ryczkowski wrote:
>
>
>
> >> Really, though, you probably don't want to use Puppet to copy a 1gb
> >> file - it still copies the files into memory.
> > Is this true also for local copies (i.e. copies which doesn't involve
>
On Oct 21, 6:11 am, Luke Kanies wrote:
> The only real thing I can recommend is either 1) package the software
> yourself (by far the best option) or 2) use a defined type to do a
> wget, install, and rm of the tarball. Really, if you look at the
> Blastwave pkg-get script, that's pretty m
Thank you for reply.
Sorry, value '10' of the parallelize is not so significant,
because even if the value is changed, it becomes a same deal.
It became a same deal when not specifying it.
It is using report mail to information share a manifest application
result
because multiple people manage t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Luke Kanies wrote:
> On Oct 20, 2009, at 8:26 AM, Johan Finnved wrote:
>
>> Is there a list of builtin variables that get addad to thos from
>> facter.
>>
>> I have found $server and $servername and $environment in examples
>> from the puppet
>>
Hi, thanks for the reply.
reno# puppetd --test
warning: Certificate validation failed; considering using the certname
configuration option
err: Could not retrieve catalog: Certificates were not trusted:
hostname was not match with the server certificate
warning: Not using cache on failed catalog
Luke Kanies schrieb:
> On Oct 19, 2009, at 6:19 AM, Bernhard Bock wrote:
>
>> Hi,
>>
>> I'm trying to develop a class that autogenerates a config file based
>> on an .erb template.
>> It shall populate the config file with data exported from various
>> hosts.
>>
>> Some pseudocode to clarify
Hi Reno,
in puppet.conf on the client you have:
server = Asus-Vista-Box
this should be an host you can find (via hosts or dns) AND the
hostname of your server, otherwise you run into certificates problems.
I suggest to use "puppet" as servername (the default) or change things
in the followring wa
Hi,
I really do not get it.
the host name of the server is Asus-Vista-Box
This is my /etc/host in the server
127.0.0.1 localhost
127.0.1.1 Asus-Vista-Box.lokku.netAsus-Vista-Box
and this in the clent:
127.0.0.1 localhost
127.0.1.1 puppetclient.lokku.net puppetc
I've recently added a similar functionality to foreman - it allows you to
query within puppet (or externally via a script) to get back a list of hosts
that answer to a certain criteria.
Currently, one can query for a hosts that belong to a certain class or has a
certain fact, e.g.
in a template y
On Oct 21, 12:14 am, Luke Kanies wrote:
> On Oct 20, 2009, at 4:55 PM, Douglas Garstang wrote:
[...]
> > So obviously puppet can't find the Yumrepo['Core'] resource. How can I
> > let a puppet module include/access resources defined in nodes?
>
> You can't - you have to extract it into a class
ok I fix that just putting Asus-Vista-Box.lokku.net instead of Asus-
Vista-Box as client config but:
puppetd --test
info: Retrieving plugins
err: Could not retrieve plugins: execution expired
but no rules are apply
On Oct 21, 1:07 pm, Reno wrote:
> Hi,
> I really do not get it.
> the host
Just to recap, with Davids help, here are the steps that I had to take to
get augeas 0.5.3 to compile on solaris 10.
1. link to readline header file and libs in /usr/sfw
#>ln -s /opt/csw/lib/libreadline.so /usr/sfw/lib/
#>ln -s /opt/csw/include/readline /usr/sfw/include/
#>ln -s /opt/csw/lib/lib
Ok now, seems that all is workingalmost.but:
class aptsetup {
file { "/etc/apt/sources.list":
owner => root,
group => root,
mode => 644,
source => "puppet://asus-vista-box.lokku.net/files/etc/
apt/sources.list
}
}
It looks like you are missing the closing " at the end of the source
line.
-Adam
On Oct 21, 2009, at 7:27 AM, Reno wrote:
>
> Ok now, seems that all is workingalmost.but:
>
>
> class aptsetup {
>
> file { "/etc/apt/sources.list":
> owner => root,
> group
Luke Kanies wrote:
> To clarify - you're looking for a class generated by your external
> node tool, and sometimes it shows up in this list and sometimes doesn't?
>
> My guess, though, is that this is an ordering issue - the classlist is
> built as classes are evaluated, and the evaluation ord
Andrew S wrote:
> Hi all,
>
> I've just started deploying a puppet infrastructure, and have run
> across what I'm sure is a common problem - third party software that
> does not use the systems package manager, instead using their own
> script/binary blob/etc. Now my environment doesn't have any
sorry just a copy and past error ;-) btw I found the problem, stupid
like the previsious one...I forgot to copy the source.list in /etc/
puppet/files :-/
thnks for the repply btw ;-)
On Oct 21, 3:32 pm, Adam Crews wrote:
> It looks like you are missing the closing " at the end of the source
>
I have this:
class aptsetup {
file { "/etc/apt/sources.list":
owner => root,
group => root,
mode => 644,
source => "puppet://asus-vista-box.lokku.net/files/etc/
apt/sources.list"
}
}
exec { subscribe-echo:
comm
Hello Reno,
Try this:
exec { touch-file:
command => "touch /home/test",
require => Exec[subscribe-echo]
}
- or -
file { touch-file:
contents => " ",
path => "/home/test",
require => Exec[subscribe-echo]
}
Regards,
-Roy
Reno wrote:
>
Hello,
puppetd --test
return this output:
err: /File[/var/lib/puppet/lib]: Failed to generate additional
resources during transaction: Cannot access mount[plugins]
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: Cannot access mount[plugins] Could not describe /pl
hello,
what is the meaning of that:
require => Exec[subscribe-echo]
On Oct 21, 4:21 pm, Roy Nielsen wrote:
> Hello Reno,
>
> Try this:
>
> exec { touch-file:
> command => "touch /home/test",
> require => Exec[subscribe-echo]
> }
>
> - or -
>
> file { touch-file:
Something like the following should work:
exec { subscribe-echo:
command => "/usr/bin/apt-get -q -q update && touch
/home/test ",
logoutput => false,
refreshonly => true,
subscribe => file["/etc/apt/sources.list"]
Is there a formal grammar specification defined for the Puppet
language (e.g. EBNF)?
Cameron.
--~--~-~--~~~---~--~~
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@go
Hello Reno,
"require" is a metaparameter -- see:
http://reductivelabs.com/trac/puppet/wiki/MetaparameterReference#require
I believe the string proceeding the brackets is a "capitalized type" from:
http://reductivelabs.com/trac/puppet/wiki/TypeReference
and the string inside the brackets is th
Try the attached file. Put it in a module named pkgutil and put it in
pkgutil/plugins/puppet/provider/package/pkgutil.rb
Make sure you have plugin syncing on. I haven't tested it. I just
modified a different provider. Should be a starting point for you.
--~--~-~--~~
> Is there a formal grammar specification defined for the Puppet
> language (e.g. EBNF)?
how about looking into the code?
http://github.com/reductivelabs/puppet/blob/master/lib/puppet/parser/grammar.ra
cheers pete
--~--~-~--~~~---~--~~
You received this message
> Try the attached file. Put it in a module named pkgutil and put it in
> pkgutil/plugins/puppet/provider/package/pkgutil.rb
> Make sure you have plugin syncing on. I haven't tested it. I just
> modified a different provider. Should be a starting point for you.
and if you use it successfully
hi and thanks for the help
I use a more simple ( to me ) but effective solution:
exec { "touch /home/ciao":
cwd => "/home",
path => "/usr/bin:/usr/sbin:/bin"
}
On Oct 21, 4:30 pm, Roy Nielsen wrote:
> Hello Reno,
>
> "require" is a metaparameter -- see:
>
> http://reductivelabs.co
On Wed, 2009-10-21 at 08:53 -0700, Reno wrote:
> hi and thanks for the help
>
> I use a more simple ( to me ) but effective solution:
>
>
> exec { "touch /home/ciao":
> cwd => "/home",
> path => "/usr/bin:/usr/sbin:/bin"
> }
You can't guarantee this exec won't run _before_ your other
Yes I agree,
for example what you will do if I want to run the touch command only
if /usr/bin/apt-get -q -q update has run without error?
exec { subscribe-echo:
command => "/usr/bin/apt-get -q -q update",
logoutput => false,
refreshonly => true
Use the onlyif parameter of the exec type:
exec { "touch /home/ciao:"
cwd => "/home",
path => "/usr/bin:/usr/sbin:/bin",
onlyif => "/usr/bin/apt-get -q -q update"
}
Note: the onlyif parameter only works this way with the
"exec" type (works a bit differently for the augeas type)
Th
Thanks so much.
--~--~-~--~~~---~--~~
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+uns
Dan,
On Oct 21, 3:49 pm, Dan Bode wrote:
> Just to recap, with Davids help, here are the steps that I had to take to
> get augeas 0.5.3 to compile on solaris 10.
>
> 1. link to readline header file and libs in /usr/sfw
>
> #>ln -s /opt/csw/lib/libreadline.so /usr/sfw/lib/
> #>ln -s /opt/csw/incl
err: Could not retrieve catalog: Could not parse for environment
production: Syntax error at 'cwd'; expected '}' at /etc/puppet/
manifests/classes/source.list.pp:24
On Oct 21, 5:45 pm, Roy Nielsen wrote:
> Use the onlyif parameter of the exec type:
>
> exec { "touch /home/ciao:"
> cwd => "
oops, quote in the wrong place, try:
exec { "touch /home/ciao":
cwd => "/home",
path => "/usr/bin:/usr/sbin:/bin",
onlyif => "/usr/bin/apt-get -q -q update"
}
Reno wrote:
> err: Could not retrieve catalog: Could not parse for environment
> production: Syntax error at 'cwd'; exp
op sorry I didn't see too! :-)
Btw
onlyif => "/usr/bin/apt-get -q -q update"
say to do that just after the apt-get command is lunched but what if
I want the contrary ... to run the command only if the apt-get fail to
run?
On Oct 21, 6:02 pm, Roy Nielsen wrote:
> oops, quote in the wro
Suppose to have a small net with 5 machines 1 is the puppet master and
4 are clients.
We want to use puppet to be sure that the packages installed in each
machine will be the same, so that we will modify the master config to
add, remove or update package in all the machines.
is possible to do th
Hello Reno -
Use the "unless" exec parameter
http://reductivelabs.com/trac/puppet/wiki/TypeReference#unless
With unless, (from the page): "If this parameter is set, then this exec
will run unless the command returns 0."
Regards,
-Roy
Reno wrote:
> op sorry I didn't see too! :-)
>
> Btw
>
On Wed, Oct 21, 2009 at 9:53 PM, Reno wrote:
>
> Yes I agree,
>
> for example what you will do if I want to run the touch command only
> if /usr/bin/apt-get -q -q update has run without error?
>
>
thats what require is for use require => Exec[subscribe-echo]
exec { subscribe-echo:
>
When I use the latest puppet 0.25.1 I got the same problem. This is
what I do:
0. Install the Ubuntu 8.04 server with ssh, ruby, rdoc, libopenssl-
ruby and git-core (which gets removed after clone).
1. Install the latest puppet from git repositories on both machines
using git clone «git clone git:
Hey folks,
I'm running into a problem with rrdgraph, specifically that it is giving the
following error:
Report rrdgraph failed: Invalid owner puppet on setting . Valid owners are
root, service.
The section of puppet.conf that specifies reporting via rrd is:
[main]
vardir = /var/lib/puppet
On Oct 21, 2009, at 2:50 AM, kyawai wrote:
>
> Thank you for reply.
>
> Sorry, value '10' of the parallelize is not so significant,
> because even if the value is changed, it becomes a same deal.
> It became a same deal when not specifying it.
>
> It is using report mail to information share a ma
On Oct 21, 2009, at 8:43 AM, Peter Meier wrote:
>
>> Is there a formal grammar specification defined for the Puppet
>> language (e.g. EBNF)?
>
> how about looking into the code?
>
> http://github.com/reductivelabs/puppet/blob/master/lib/puppet/parser/grammar.ra
In other words, just a yacc-style
On Oct 21, 2009, at 3:34 AM, Sven Mueller wrote:
>
>
>
> Luke Kanies schrieb:
>> On Oct 19, 2009, at 6:19 AM, Bernhard Bock wrote:
>>
>>> Hi,
>>>
>>> I'm trying to develop a class that autogenerates a config file based
>>> on an .erb template.
>>> It shall populate the config file with data expor
On Oct 21, 2009, at 8:22 AM, Reno wrote:
>
> Hello,
>
> puppetd --test
>
> return this output:
>
>
> err: /File[/var/lib/puppet/lib]: Failed to generate additional
> resources during transaction: Cannot access mount[plugins]
> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
>
47 matches
Mail list logo