Displaying 20 results from an estimated 20000 matches similar to: "apply.pp module missing?"
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 01
1
puppet-hiera used with Parameterised class
Hi Puppet Users,
For some bizzare reason I am unable to use hiera-puppet with a
parameterised class.
The output is:
----------------------------
root@hiera hieratest/manifests# puppet apply -e "include hieratest"
Error: undefined method `catalog'' for #<Hash:0xb6c53d00> at line 1 on node
hiera.localdomain
Wrapped exception:
undefined method `catalog'' for
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello.
This is my mysql-server.pp file, both master and client are runing
ubuntu.
--------------------
class mysql-server {
package { "mysql-server": ensure => installed }
package { "mysql-client": ensure => installed }
service { "mysql":
enable => true,
ensure => running,
require => Package["mysql-server"],
}
file
2009 Jun 10
10
puppet client looking for server puppet
In my puppet client I have
puppet.conf defined puppet server as mypuppet
server = mypuppet.example.net
Not sure why the puppet client puppet-test is still sending these
noises to the syslog
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911 daemon.error]
Could not find server : getaddrinfo: node name or service name not
known
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911
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 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
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
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
2011 Jun 13
15
puppet clients
I''ve gone over the documentation several times now and I can''t figure out how to ''apply'' a manifest to a client.
The client does have a signed certificate but the only thing in the /etc/puppet folder on the client is an ssl directory.
I have a manifest that works fine on the puppet ''master''
I have added the client into
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
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,
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
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
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
2010 Dec 10
11
pp grammar test-files?
Hi,
I am working on some tools that read and write pp files, and I wonder
if there are some pp files available somewhere that can be used to test
a parser.
I am especially interested in if there are some tests written that
capture invalid syntax.
- henrik
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send
2013 Sep 04
3
Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
Hi,
I am new to the job and forum. I installed puppet and puppetmaster and set
up my first dependencies acording to a manual that we have here in our
company. Everything works fine and I can set up new nodes with several
modules to choose from. Unfortunatley the Dashboard
<http://forge.puppetlabs.com/puppetlabs/dashboard>gives me errors instead
of starting correctley.
Here the
2012 Oct 12
6
PuppetDB Install error: "::postgresql::validate_db_connection" at /etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62
Hi Everyone;
I am getting the following error when I try to install PuppetDB.
Maybe I have stale instructions??
Thanks!
Bee
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Invalid tag "::postgresql::validate_db_connection" at
/etc/puppet/modules/puppetdb/manifests/server/validate_db.pp:62
--
You received this message because you are subscribed to the
2012 Jun 27
6
Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82
I have a module located at /etc/puppet/environments/test/modules/ruby.
I
n this I have a manifests folder with two .pp files - init.pp and
gemInstall.pp.
In one of my node def files I have:
include ruby
ruby::gemInstall { ''someGem-version.gem'':
path => ''/path/to/agent/local/gem/repo'',
}
ruby::gemInstall is a define, and it has some logic to get around
2007 Feb 17
1
Not authorized to call puppetmaster.freshness ?
What''s this mean?
root@gravity:/etc/puppet/manifests# puppetd -v --listen
info: Starting handler for Runner
info: Starting server for Puppet version 0.22.1
info: Listening on port 8139
notice: Starting Puppet client version 0.22.1
err: Could not run Puppet::Client::MasterClient: Host
gravity.example.org not authorized to call puppetmaster.freshness
Thanks,
Kent
--
"It may be true
2010 Oct 26
8
Failed to retrieve current state of resource: Error 400 on SERVER
Hello there,
I am very new to puppet and tried to copy some files (namely /etc/
puppet/manifests/files/websphermq/status.dat [on master] to /tmp/
status.dat [on puppet]) from master to the puppets. My setup is as
follows:
Puppet 0.25.5
fileserver.conf:
[webspheremq]
path /etc/puppet/manifests/files/webspheremq
allow *
auth.conf (default):
# allow nodes to retrieve their own catalog (ie their