Displaying 20 results from an estimated 30000 matches similar to: "pp in the logs"
2011 Jul 23
2
Node or site.pp for global variables without dynamic lookup
Hi all,
I am working on rewriting my entire puppet environment and try to
''fix'' ''Dynamic lookup'' as it will be deprecated in some time, but even
after reading quite some docs and on the forum, it''s not really clear
to me.
What I have read so far, is that each variable must be fully-qualified
or parameterized in a class.
As a quick
2007 May 17
3
Community common.pp
Should a page in the wiki be created to describe a good common.pp?
For example, Luke states in the documentation for ''Exec'' that
"...there is a strong tendency to use exec to do whatever work Puppet
can''t already do; while this is obviously acceptable (and unavoidable)
in the short term, it is highly recommended to migrate work from exec
to native Puppet types as
2011 Mar 23
1
way of importing .pp file or some string that contain class definition in ruby dsl
I''m finding the way to import a file or a class stored in string in
ruby manifest.
I have tried following code to parse the class having packages and
services.
pp = Puppet::Parser::Parser.new("development")
pp.string = "class webhttpd{package { ''httpd'': ensure => installed, }
service { ''httpd'': ensure => running, enable =>
2009 Feb 04
1
Issue with template.pp
Hi i am creating a template.pp for different OS.. Following is my
template.pp file
node basenode {
case $operatingsystem {
fedora: { include fedora }
default: { include debian }
}
include baseapps, sshd, admin, default
} <=== line 7
node default inherits basenode {}
I receive an error.
err: Could not parse for environment production: Syntax error
2006 Feb 14
0
Rails puts and pp logs are showing up on browser
Hi,
I am using Ruby 1.8.3 and Rails 0.14.2, running on Linux (Fedora) and
lighttpd.
When there is an exception during RSS parsing or Webservice call, I am
getting the error messages shown on the browser. This happens only when
there is an exception thrown. This happens only on Linux, not on windows
server.
lighttpd has write access to the log files.
Am I missing some configuration or
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
I''m having some trouble with getting an ENC to work alongside site.pp:
Even with a ''default'' node definition, and an ENC that only returns 0,
regardless of input, consistently results in a ''cannot find node'' error.
I''m wondering what I''ve missed here.
I''ve tried to reduce everything to a ''base case'': and
2011 Jul 13
2
nodes.pp in different environments
Hi guys
I have a small question, I have 3 environments in puppet.conf file:
[development]
modulepath=/etc/puppet/development/modules
manifests=/etc/puppet/development/manifests/site.pp
I have defined the site.pp path, my question is do I need to make a
nodes.pp for every environment??????
Thanks
--
You received this message because you are subscribed to the Google Groups "Puppet
2012 Apr 25
2
Unable to import a manifest file from a different directory to the one where site.pp is located using environments
Hi List,
Puppet Version: v2.7.13
Question - If I correctly setup multiple manifestdir''s in the puppet.conf
file how can I import a node pp file located in a different directory tree
to site.pp?
My configuration information is below.
In my puppet.conf file I have setup an environment called "stable", within
this environment I have setup the manifestdir, modulepath and
2012 Jul 02
3
is site.pp a must to have
Hi,
is site.pp a file must to have? I have set up a puppet server, but my
following manifest just cannot apply to my client, the server itself.
# cat haitest.pp
file { ''/etc/motd'' : source => "puppet:///files/motd" ,}
Thanks.
Hai T.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this
2012 Dec 19
3
Template in site.pp
Can I use a template in site.pp?
I have a templates directory in my /etc/puppet directory which has my
template, but i get this error message:
Wed Dec 19 09:19:23 -0800 2012 Puppet (err): Could not retrieve catalog
from remote server: Error 400 on SERVER: Could not find template
''server.xml.erb'' at /etc/puppet/manifests/tcuser.pp:52 on node
2012 Dec 18
4
site.pp referring to other manifests without modules
Hi all,
I want to do some code reuse, and modules seem overkill. Is it possible to
have something like this?
A file called myuser.pp
class myuser {
user {...}
file {...}
...
}
Then in site.pp have this:
node ''foo.example.com'' {
include myuser
.. other things ..
}
node ''bar.example.com'' {
include myuser
.. other things ..
}
When I try this,
2013 Feb 12
6
Run Puppet Against Master with Local node.pp Manifest?
Does anyone know if it''s possible to run Puppet as if it''s running with a
Master, but using a locally created node.pp manifest?
I''m looking into doing some unit tests on applications that are installed
by Puppet. To do this, I''m trying to use a test VM server which I''ll deploy
applications onto. I figure that the easiest way is probably to
2011 Oct 02
4
apply.pp module missing?
Hello,
I have succesfully installed puppet on ubunu, one master and one
client.
I am going through the documentation and I am having a hard time
getting this example to work http://docs.puppetlabs.com/learning/manifests.html
$ puppet apply my_test_manifest.pp
I get this error
root@puppet:/etc/puppet/manifests# pwd
/etc/puppet/manifests
root@puppet:/etc/puppet/manifests# puppet apply
2010 Oct 12
1
err: Could not retrieve catalog: Could not parse for environment production: Could not find file /etc/puppet/manifests/site.pp warning: Not using cache on failed catalog
I change my ubuntu to mac os, and rsync my puppet file to the puppet
server. I run puppetd -tv in the client, and then this error happens
puppetd -tv
err: Could not retrieve catalog: Could not parse for environment
production: Could not find file /etc/puppet/manifests/site.pp
warning: Not using cache on failed catalog
--
You received this message because you are subscribed to the Google Groups
2007 Nov 23
9
Usage of ''case'' in site.pp
Hi
Does anyone know if the following is supposed to work?
------------------------------------------------------
site.pp
case $psi_rank {
Devel: {
import "Devel/psi_gfa/*"
import "Devel/nodes"
import "Devel/os/yum_update"
}
Prod: {
import "Prod/psi_gfa/*"
import "Prod/nodes"
import
2012 Apr 12
1
Define node environment on puppet master nodes.pp?
Hello,
Is there a way to define an environment for the prospective nodes in
nodes.pp (maybe a default node?) I''d like to be able to define it there and
then have my puppet module configure the node puppet.conf (erb template)
based on the parameters that’s passed on from the master. Possible?
Thanks,
Will
--
You received this message because you are subscribed to the Google Groups
2013 Jul 02
1
How to: In nodes.pp - point "node" to hostnames in a file
I am working on a project that involves host names with now sequence to
them.
I would like my "node" hostnames in nodes.pp to point to a file with a list
of these hostnames.
Example: node {path/filename} {
instead of the usual:
node ''www1.example.com'' {
or
node /^www\d+$/ {
Can this be done?
Can anyone show my an example of how this was achieved?
Thanks
2005 Apr 15
1
pp-test in timeseries
Test for stationarity (pp-test). In R source code all other command executions I understood, but how I am getting the ssqrtl value
ssqrtl <- .C ("R_pp_sum", as.vector(u,mode="double"), as.integer(n),
as.integer(l), trm=as.double(ssqru), PACKAGE="ts")
please explain the above command.
Thanks in advance
Ramesh
[[alternative HTML version
2012 Feb 19
1
fully qualified variables and nodes.pp
hi folks,
As a response to " Dynamic lookup of $var at is deprecated. Support will
be removed in Puppet 2.8. Use a fully-qualified variable name (e.g.,
$classname::variable) or parameterized classes." warning
i''m trying to apply fully-qualified variable name solution following this
Doc http://docs.puppetlabs.com/guides/scope_and_puppet.html, but i have a
problem with variable
2012 Jan 31
0
Command to run the pp file on server to execute on client
Hi,
I have installed the Puppet and configured the Client / server set up.
I have noticed that when I place any code in site.pp on server
machine, that is executed in regular intervals of time and runs the
script on client.
Is there any command that takes the Client IP as parameter and
executes the modules specified on the client.
Thanks in advance,
Sateesh B.
--
You received this message