Displaying 20 results from an estimated 10000 matches similar to: "Using stages in puppet"
2011 Mar 24
6
run stages in puppet 2.6
hello guys,
I am trying to incorporate run stages into my puppet setup. I''ve been
working with this for a few days and I haven''t quite got the hang of
it yet...
When I attempt my puppet run this is the error I see:
------------------------------------------------
[root@chromews21 ~]# puppetd -t
err: Could not retrieve catalog from remote server: Error 400 on
SERVER:
2007 Mar 11
5
Modules Search and Puppet
Hi,
I''m not using puppet in a standard way (ie. in a server/client
configuration), just the standalone ''puppet --use-nodes'' command.
I''m having problems with the directory structure of modules and using the
import feature.
My directory infrastructure looks like this:
/srv/puppet/facter/...
/srv/puppet/manifests/site.pp
/srv/puppet/manifests/libs/file.pp
2012 May 18
0
Run Stages and Puppet Dashboard
Hi guys.
I''m trying to use Run Stages with Puppet Dashboard as my ENC but I couldn''t
find a way to do it.
I see all examples running nodes.pp declarations. Is it possible to use Run
Stages via Puppet Dashboard ? If yes, could you give me an example ?
Thanks,
Felipe
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
2011 Jan 24
3
Run Stages & Dashboard
We''re utilizing the Dashboard to manage which modules are included for
each node. In this setup, nodes.pp is empty.
E.g.:
modules/repos includes the various repository files for each OS.
...And in the dashboard, there is a class titled ''repos'' and is
assigned to the various nodes that we want to have their repo files
managed.
I''d like the
2010 Sep 02
2
err: Could not run Puppet configuration client: Invalid parameter stage at ...
Hi, I am getting the following error on my CentOS clients;
err: Could not run Puppet configuration client: Invalid parameter
stage at /etc/puppet/manifests/nodes.pp:32
The server is CentOS 5.4 with packages from the epel-puppet repos;
# rpm -qa | grep puppet
puppet-dashboard-1.0.3-3
puppet-2.6.1-0.3.rc3.el5
puppet-server-2.6.1-0.3.rc3.el5
The clients are;
# rpm -qa | grep puppet
2009 Jan 23
7
Quote, dollar and pipe
Hi All,
By working on our bootstrap puppet scripts (executed wih standalone
puppet), I found a difference between pipe and file parsing :
A simple file with a content :
$ cat withdollar.pp
file { "/tmp/withdoller.txt":
content => ''something like echo $1''
}
When puppet parses the file :
$ puppet withdollar.pp
notice:
2007 Mar 07
3
Standalone puppet (i.e. no server) config
Hi,
I''m new to puppet and having difficultly setting it up the way I want to
(which is a little different from the norm I''d say).
What I''m trying to achieve is to have a automatic build of debian (etch at
the moment) using debian installer that installs a minimal system including
puppet using the debian package puppet (not puppetmaster). As part of the
initial setup
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral
servers but have problem with one of them.
When I invoke:
root@www ~ # puppet agent --server puppetmaster.domain.ltd --test
notice: Ignoring --listen on onetime run
info: Caching catalog for puppetclient.domain.ltd
info: Applying configuration version ''1326444431''
notice: Finished catalog run in
2013 May 28
3
Issue with Puppet & Packages which are installed multiple times
Hi,
hopefully this hasn''t been discussed too often, haven''t found anything in
the group:
I''m having some issues when a package gets installed twice ( x86 & x64
version).
#system is a RHEL5/x64 system.
*#following manifest:*
[root@kermit ~]# cat install_expect.pp
package { ''expect'':
ensure => present,
}
*#ok, let''s apply*
2008 Jul 04
4
Re ad in a file - produce independent vectors
Is there a way of reading in a file in a way that each line becomes a vector:
for example:
meals.txt
breakfast bacon eggs sausage
lunch sandwich apple marsbar crisps
dinner chicken rice custard pie
I want to read in this file and end up with 3 different vectors, one called
breakfast which contains "bacon", "eggs", sausage" One called
2011 Jan 11
2
Differences between puppet and puppetd
Hi all,
I am using Puppet to execute an Expect script (http://expect.sourceforge.net)
on a client. The Puppet recipe, test.pp, is:
exec { ''/root/test.exp'':
command => ''/root/test.exp'',
logoutput => true
}
The recipe runs correctly when run using ''puppet --debug --verbose test.pp'':
debug: /Stage[main]//Exec[/root/test.exp]:
2006 Dec 04
6
puppet definition
Hello,
still upgrading to .20.1 and i have another issue that puppet does
not regonize anymore my definitions, i use some ensure lines definition
in a function.pp file and since then i am unable to make it work.
puppetmasterd tells me this:
Unknown function sudoensure_line in file
/etc/puppet/manifests/./classes/backup.pp
the import of the function is my 2 line of the site.pp and i
2011 Oct 13
1
puppet apache module
I''m getting this and it isn''t applying my apache module. Is it because
of these warnings?
notice: Starting Puppet client version 2.7.5
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:8: warning: class variable access from
toplevel
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/
provider/service/freebsd.rb:9:
2012 Feb 09
2
Puppet master can not find file_metadata for my puppet module
Hello,
I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet
agent version 2.7.5. I am simply trying to apply changes to files by
defining a file resource in my manifest. When I execute my puppet
agent to do the installation it complains it can not find the file
meta data.
Here is my manifest.
class neospeech::config {
file { "/usr/vwmrcpd/vwmrcpd/vwmrcpd":
2012 Mar 22
3
Puppet 2.7.12 Windows - Dependency Problem
Hi,
I finally got puppet to run.
My first test successfully created a file with content, I specified in
the init.pp for this client.
After that I wanted to install a msi package. (Firefox)
I placed it into the right place on the Puppetmaster and created
following init.pp
class windows() {
file { ''c:/PuppetOrdner/sshd_config'':
ensure => file,
owner =>
2013 May 07
2
Modules doesn't work from puppet agent.
Hi all,
I think i''m forgetting something.
If i do: "puppet apply manifiests/site.pp" it works perfectly, loading
modules i have include in site.pp file.
site.pp:
cat manifiests/site.pp
node default {
include ntp, motd
}
But it does not work if i run puppet agent.
puppet agent --test --server=debianita.user.arinso --environment production
Info: Retrieving plugin
Info:
2012 Dec 14
4
New Puppet User: Issues with pre-commit script
Hi Guys,
I am new to puppet so please let me know if this is not the correct place
for asking this question. I am setting up a new puppet environment running
the latest 3.x version. I have the puppet master and client setup
correctly and tested with deploying a simple file to the client. Now, I am
working on adding all the configs to SVN since I will have all my users
checkout the
2013 Apr 18
1
Fetching class parameteres fails when tiering node inheritance under puppet 3.x
Hi,
I''m running into some trouble when trying to access some variables which
actually are a class parameter.
The following works OK:
node "common" {
$var=''foo''
}
node "gratia-base" inherits common {
class {
''gratia'':
dbhost => ''server.mysite.net'',
}
}
node "node1"
2007 May 21
2
Puppet newbie: using defines
Hi folks,
I''m trying to get my feet wet in puppet-land. I''ve successfully
installed a puppetmaster and client and managed to get them to do
something (the sudo file-permission example as explained in the
tutorials). Now I''m trying to do something a bit more complex using
defines but nothing seems to happen anymore.
Config files involved:
###### site.pp
filebucket {
2010 Mar 18
3
Puppet Client using wrong environment.
Hi,
I exposed few days ago this situation on the IRC, but unfortunately I
haven''t found a way to solve it yet.
I run the Puppet Master with multiple environments, and everything is
working good but a couple of nodes that are causing me some troubles.
These nodes are pointing to my production environment and I need to point
them back to development to grab some changes I made.
I