Not sure that this is what you are looking for. however I think better way is
to set your environment in puppet.conf.
Like this:
[prod]
manifest=$confdir/$enironment/site.pp
That way you have it all defined, and seperated.
Also modules can be defined that way.
Disclaimer not in front of co
Is it a known issue that you can't use the $environment variable in an
"import" line? This is from site.pp on a system using environments,
and it doesn't work:
---
notify { 'environment_notify':
message => "NOTICE: This system is being configured with the
environment ${
Hi,
I am getting the "Could not evaluate: No child processes" error
message in dashboard for the task as
/Stage[main]/Ubuntu_laptop/Exec[/bin/echo -e 'runinterval=7200' >> /
etc/puppet/puppet.conf] but when I
execute the puppet syntax (puppetd -td) manually in terminal on the
node then it does not
I was able to track this down. Apparently
$puppet_master_storedconfigs is either reserved or too long. When I
changed it to $puppet_master_storedcfgs, the catalog compiled. Go
figure.
On Wed, Feb 29, 2012 at 7:09 PM, Chad Huneycutt
wrote:
> I'm really digging hiera, but I have a problem that I
At the beginning of the year we shuffled our repository structure to
use apt.puppetlabs.com without a trailing /debian or /ubuntu.
This means that your repository lists should be changed to something
like the following:
deb http://apt.puppetlabs.com/ $dist main
and
deb-src http://apt.puppetlabs.c
Hi Daniel,
On Wed, Feb 29, 2012 at 2:33 PM, Daniel wrote:
> Those items corrected the issues except that it hangs. It copies the
> file as specified and sets all the permissions then just hangs.
>
> puppet agent --verbose --server master.puppet.marketvine.com --
> logdest c:\junk\puppetinfo_43
Yes indeed, that was it!
Things were getting switched around from /var/lib/puppet/ssl to
/etc/puppet/ssl.
Thanks for the help!
Tom
On Wednesday, February 29, 2012 1:21:31 PM UTC-8, Russell VT wrote:
>
> Any chance you've hit one of those conditions where package defaults point
> the SSLDI
Thx I'll think about it.
Le 29 févr. 2012 22:58, "Elias Abacioglu" a écrit :
>
>
> Antidot SAS skrev 2012-02-29 11:04:
>
>>
>> I have extremely big trouble using " instead of ', any idea?
>>
>> You could try replacing double escaping \\ and see if that works.
>
> Perhaps it's simpler if you have
I'm really digging hiera, but I have a problem that I just can't seem
to work out:
I am working on a puppet module, and I have two classes: puppet::agent
and puppet::master. The layout of the classes are very similar, but
hiera can only successfully find my variables in one of them.
$confdir/env
On 29.2.2012 21:55, Tom wrote:
> Ok, I'm new to puppet, but I've got everything working for my setup.
> Almost.
>
> I'm trying to set up a new server, using cobbler, and then puppet.
>
> CentOS 6.2
> Puppet 2.7.11
> Cobbler 2.0.11
>
> I have things set up so I can use kickstart to install the se
Those items corrected the issues except that it hangs. It copies the
file as specified and sets all the permissions then just hangs.
puppet agent --verbose --server master.puppet.marketvine.com --
logdest c:\junk\puppetinfo_430.txt
notice: Starting Puppet client version 2.7.12
info: Caching cat
Hi Marco,
On Wed, Feb 29, 2012 at 10:52 AM, Marco Parra D. wrote:
> Hi Josh,
> I'm runnig from cmd.exe, I'm using Administrator account on the windows
> box, this is the output for the command that you asked:
>
> C:\Users\Administrator>whoami /groups
>
> GROUP INFORMATION
> -
>
>
Antidot SAS skrev 2012-02-29 11:04:
I have extremely big trouble using " instead of ', any idea?
You could try replacing double escaping \\ and see if that works.
Perhaps it's simpler if you have file { /tmp/script.sh : content => "for
...$variable" }
or using a template and create a .erb
I use puppet to bootstrap my puppet master. Here is my passenger
module (reliably tested on Fedora 14 and CentOS 6).
class httpd::passenger {
package {[ gcc, ruby-devel, rubygems ]:
ensure => latest,
provider => yum,
}
package { rack:
ensure => "1.0.1",
I have a similar problem. I did not find a way to install just the 32bit
package.
I wanted to install 32 bit compat-libstdc++33.i686 because HP Operations
Agent needs it, even if it's a 64 bit agent.
You can do like this: package { 'compat-libstdc++-33.i686' : ensure =>
present }
But the pro
Any chance you've hit one of those conditions where package defaults point
the SSLDIR to /var/lib/puppet/ssl instead of /etc/puppet/ssl? I've seen
this, specifically, when moving between RedHat/CentOS RPMs and gems, just
as an example. (or, they're specified one way in your puppet.conf, and
expecte
Ok, I'm new to puppet, but I've got everything working for my setup.
Almost.
I'm trying to set up a new server, using cobbler, and then puppet.
CentOS 6.2
Puppet 2.7.11
Cobbler 2.0.11
I have things set up so I can use kickstart to install the server on
boot. It installs puppet and facter from t
On Feb 29, 2012, at 1:10 PM, Matt Mencel wrote:
> In my network every subnets default gateway is X.X.X.1. That router gateway
> is always running ntpd which I want to give be default as the ntp server in
> every hosts ntp.conf.
>
> Since there is no official "default gateway" fact yet, what I
Hi Josh,
I'm runnig from cmd.exe, I'm using Administrator account on the windows
box, this is the output for the command that you asked:
C:\Users\Administrator>whoami /groups
GROUP INFORMATION
-
Group Name Type SID
Attributes
===
> In my network every subnets default gateway is X.X.X.1. That router gateway
> is always running ntpd which I want to give be default as the ntp server in
> every hosts ntp.conf.
> Since there is no official "default gateway" fact yet, what I want to be able
> to do in my manifest is take th
Thx for info
Le 29 févr. 2012 17:41, "Gary Larizza" a écrit :
> I believe running puppet agent with -t or --test will turn on
> --detailed-exitcode which provides extended non-zero exit codes (2 for
> resource changes, 4 for transaction failures)
> http://projects.puppetlabs.com/issues/4968
>
>
In my network every subnets default gateway is X.X.X.1. That router
gateway is always running ntpd which I want to give be default as the ntp
server in every hosts ntp.conf.
Since there is no official "default gateway" fact yet, what I want to be
able to do in my manifest is take the $ipaddress f
On Wed, Feb 29, 2012 at 2:37 AM, Smith wrote:
> Hello,
>
> Thanks for the info !
> But what I'm trying to do is to pass parameters from the dashboard to
> the class.
>
> For example the following :
>
> class ntp ($ntp_servers) {
> ...
> }
You need either a wrapper class
class ntp::wrapper {
cl
Hi Marco,
On Wed, Feb 29, 2012 at 5:46 AM, mparrad wrote:
> Hi Guys, I'm recently start working with puppet and mostly puppet for
> windows, On linux works perfect, but on windows works fine!, but I got a
> issue working on c:\windows\system32\inetsrv\config folder, I need modify
> the file appl
I believe running puppet agent with -t or --test will turn on
--detailed-exitcode which provides extended non-zero exit codes (2 for
resource changes, 4 for transaction failures)
http://projects.puppetlabs.com/issues/4968
On Wed, Feb 29, 2012 at 2:46 AM, Antidot SAS wrote:
> Hi everyone,
>
>
>
Hi Daniel,
On Wed, Feb 29, 2012 at 7:36 AM, Daniel wrote:
> I just installed the latest rc 1.7 to solve another issue I had. It
> solved the issue, but I'm getting a different issue.
>
> I'm running it interactively from an administrator command prompt. It
> connects to the master puppet serve
I had build a new client & sync the client with ntp server for the
first time but i am getting a certificate error as "err: Could not
request certificate: Retrieved certificate does not match private key;
please remove certificate from server and regenerate it with the
current key" ?
what is t
We have a similar setup. The way we do this is to simply enforce as a
procedure to create a group and each class we declared, then we would
reference the class in that group, and create variables under that group.
>From dashboard's organization standpoint we would only assign nodes to a
group (inst
I just installed the latest rc 1.7 to solve another issue I had. It
solved the issue, but I'm getting a different issue.
I'm running it interactively from an administrator command prompt. It
connects to the master puppet server, processes the configuration
items then gives an error. The interes
I installed the latest rc from: puppetlabs-puppet-2.7.12rc1-7-
g281901e.zip
https://github.com/puppetlabs/puppet/zipball/2.7.x
I no longer get the fork error. It connects to the master puppet
server and runs the configuration. But, it gets a different error at
the end. As the new error does
Hi Guys, I'm recently start working with puppet and mostly puppet for
windows, On linux works perfect, but on windows works fine!, but I got a
issue working on c:\windows\system32\inetsrv\config folder, I need modify
the file applicationHost.config using puppet, to keep centralized the
config f
Here's the command I use:
puppetdoc --outputdir //htdocs/puppetmaster \
--mode rdoc --manifestdir /etc/puppet/manifests \
--modulepath /etc/puppet/modules
I hope this helps.
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tri
Hello everyone,
I'm testing puppetmaster with mongrel and apache over Ubuntu 11.10
To do it i'm following that guide:
http://projects.reductivelabs.com/projects/puppet/wiki/Using_Mongrel_On_Enterprise_Linux
I'm looking for a file to set some ports in ubuntu, but i can find any file
to do it. How c
Hi everyone,
Is that normal that when I have some puppet actions made but with no error
the return status is not "0":
[root@]:/var/spool/mail # puppet agent -t --verbose
info: Retrieving plugin
info: Loading facts in root_home
info: Loading facts in meminbytes
info: Loading facts in fact
Hello,
Thanks for the info !
But what I'm trying to do is to pass parameters from the dashboard to
the class.
For example the following :
class ntp ($ntp_servers) {
...
}
Add this class to dashboard, in a group called "Global" and set in
this group a parameter key = ntp_servers with value = som
Hi everyone,
I am trying to exec the following command:
exec { 'Apply all kernel variables' :
path=> '/bin:/usr/bin:/usr/local/bin',
user=> 'root',
logoutput => true,
provider=> shell,
command => "for file in ${config_file} ${c
On Tue, 28 Feb 2012 09:02:09 -0500
Eric Lake wrote:
> If I remember right I used a combination of mostly
> http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger and a
> little of
> http://www.uncompiled.com/centos-6-puppet-27-mcollective-foreman-rabbitto
> get my install working on CentOS
I get the same problem with CentOS.
No error but no LV created.
I've tried with Ubuntu client and same issue.
Something might be wrong within the module...
Matt
On Feb 4, 1:59 am, Luke wrote:
> Oh well. Maybe thislvmmodule doesn't like centos or something :(
>
> Thanks for all your help Felix.
38 matches
Mail list logo