On 9 March 2012 09:58, Garrett Honeycutt wrote:
> On 3/8/12 4:28 PM, John Warburton wrote:
> > I am turning my kickstart files into templates, but am having issues
> > with percent signs in free form text. This returns a syntax error:
> > %post
>
ERB should not have any problems with percent si
On Thursday, 8 March 2012 at 18:19, Dan White wrote:
> Would it be overkill to be worried about launching the puppet agent before
> the last run has finished ?
>
> If so, I would use a bash script that generates a pid-file like this:
> http://www.xarg.org/2009/10/write-a-pid-file-in-bash/
>
>
On Thu, Mar 8, 2012 at 2:05 PM, Mike wrote:
> I'm very new to Puppet, and new to this group, so I apologize if this has
> already been covered. I did a quick search but didn't quickly find an
> answer.
>
> I have a manifest that among other things installs a couple of packages.
> These are not par
On 3/8/12 4:28 PM, John Warburton wrote:
> Hi
>
> I am scratching my head on this not being a ruby person...
>
> I am turning my kickstart files into templates, but am having issues
> with percent signs in free form text. This returns a syntax error:
> %post
>
> OK, fine , let me escape it:
>
>
Hi
I am scratching my head on this not being a ruby person...
I am turning my kickstart files into templates, but am having issues with
percent signs in free form text. This returns a syntax error:
%post
OK, fine , let me escape it:
%%post
No error, but the end result is
%%post
Not quite what
I believe this can work with a team.
The team should construct the master manifest/catalog to fit their requirements.
Use techniques that separate the node-specifics from the general catalog --
like parameterized classes and such.
This master catalog is then locked down and jealously guarded and
After experiencing the same problem I came to the conclusion that was
all firewall related.
Things to look at:
1. On puppetmaster server look at your puppet.conf option for reporturl;
reporturl = http://puppetmaster.mydomain.com:80/reports/upload
2. Web service is running on your puppemaster
I'm very new to Puppet, and new to this group, so I apologize if this has
already been covered. I did a quick search but didn't quickly find an
answer.
I have a manifest that among other things installs a couple of packages.
These are not part of a repository, so I use puppet to send the rpm fi
Why does puppet return an error when a package is already installed?
I use ensure => installed to make sure that a package is installed, and
then have a file that is dependent on that package. When the manifest is
applied and the package is already installed, it reports an error and then
doesn'
Check this out:
]# yum -y list available | grep nrpe
nagios-plugins-nrpe.x86_642.12-16.el6
epel
nrpe.x86_64 2.12-16.el6
epel
so there's a package named nrpe there.. right?
so why do I see this when I run the puppet agent?
err: /Stage[main]/Nagios::
On 8 Mar 2012, at 19:13, Christophe L wrote:
> Hello,
>
> Thank you very much for your answer !
>
> We will look into your approach.
>
> I understand what you explained but I'm a bit surprised by this
> approach.
> Let's say you have a small team for managing the whole infrastructure,
> the appro
OK... apparently the first time I ran "ruby install.rb" for puppet I did
not do it in "Run As Administrator" mode. Even though the account I'm
logging in as is a local adminit seems to work only if I open the
command prompt with "Run As Administrator" privileges.
Deleting the folder structure
On Thu, Mar 8, 2012 at 8:47 AM, Josh Cooper wrote:
> HI Matt,
>
> On Thu, Mar 8, 2012 at 6:45 AM, Matt Mencel wrote:
>
>> Hi Josh,
>>
>> On Wed, Mar 7, 2012 at 6:12 PM, Josh Cooper wrote:
>>
>>> Hi Matt,
>>>
>>> On Wed, Mar 7, 2012 at 2:58 PM, Matt Mencel wrote:
>>>
I recently noticed tha
Hello,
Thank you very much for your answer !
We will look into your approach.
I understand what you explained but I'm a bit surprised by this
approach.
Let's say you have a small team for managing the whole infrastructure,
the approach you described seems to be quite relevant.
In our scenario, w
On Thu, Mar 8, 2012 at 11:12 PM, Drew wrote:
> If I externalise my Puppet module config to a directory outside of
> Puppet using the modulepath / manifestdir settings:
>
> [main]
> pluginsync=true
> modulepath=/home/ec2-user/projects/qmg-puppet/etc/puppet/modules
> manifestdir=/home/ec2-u
If I externalise my Puppet module config to a directory outside of
Puppet using the modulepath / manifestdir settings:
[main]
pluginsync=true
modulepath=/home/ec2-user/projects/qmg-puppet/etc/puppet/modules
manifestdir=/home/ec2-user/projects/qmg-puppet/etc/puppet/
manifests
the agent
Would it be overkill to be worried about launching the puppet agent before the
last run has finished ?
If so, I would use a bash script that generates a pid-file like this:
http://www.xarg.org/2009/10/write-a-pid-file-in-bash/
That way, if the previous run is still running, you can skip doing it
Hi,
On Thursday, 8 March 2012 17:05:47 UTC, Jeeva wrote:
>
> Hi Peter,
>
> with the help of Jerrery, i got the below module and i modified it as per
> our requirement. So the below module will create a crontab on root user
> right ?
>
> # Generate the times when the cronjob will run
> class
On Thursday, March 8, 2012 7:48:52 AM UTC-8, jcbollinger wrote:
>
>
>
> On Mar 7, 8:02 pm, Ramin K wrote:
> > I managed to trigger this behavior when I realized the readline package
> in
> > the ruby_devel class instead of specifying it. It appears that the
> resource
> > chain in the rvm cla
Munna,
Here is a typical module tree:
xinetd/
|-- manifests
| `-- init.pp
`-- templates
I chose this module as my "pattern" for you to look at because it is a very
simple module.
In your case I'd be creating
puppetcron/
`-- manifests
with a single file "init.pp" with a single class:
class p
Hi Peter,
with the help of Jerrery, i got the below module and i modified it as per
our requirement. So the below module will create a crontab on root user
right ?
# Generate the times when the cronjob will run
class cron_puppet {
$cron_time1= generate('/usr/bin/env', 'sh', '-c', "printf $(($(e
HI Matt,
On Thu, Mar 8, 2012 at 6:45 AM, Matt Mencel wrote:
> Hi Josh,
>
> On Wed, Mar 7, 2012 at 6:12 PM, Josh Cooper wrote:
>
>> Hi Matt,
>>
>> On Wed, Mar 7, 2012 at 2:58 PM, Matt Mencel wrote:
>>
>>> I recently noticed that the Windows host where I installed the Puppet
>>> agent for testin
Hi Jeffrey,
Thanks for the quick response.
I need to copy the below content into init.pp file which is under my module
right ? Also i created the module like this.
/etc/puppet/modules/cron_puppet
also should i define my class in the init.pp file. could you please help me
on this. i am getting e
Here's what I do. I use generate() to calculate the run times for our jobs
so that each server runs twice per hour at a pseudo-random but consistent
time. I use the IP address of the server, modulo 30.
# Generate the times when the cronjob will run
$cron_time1= generate('/usr/bin/env', 'sh',
We are planning to run the puppet client as a cron rather than running
as a daemon. Could you please help me in creating a module for running
the puppet client as a cron
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send
On Mar 7, 8:02 pm, Ramin K wrote:
> I managed to trigger this behavior when I realized the readline package in
> the ruby_devel class instead of specifying it. It appears that the resource
> chain in the rvm class does not include the realized resource. Is this the
> current expected behavior?
On Mar 8, 5:43 am, Christophe L wrote:
> Hello,
>
> We are actually evaluating "Puppet Open Source Project" as the tool
> for managing our hosting processes and we have a question about the
> security in Puppet.
>
> As far as we have read, there are only two places where the security
> is taken
Hi,
I'm having some issues with it doing an apt-get update before
installing packages. In my Apt modules I have
Exec["apt-update"] -> Package <| |>
and in the run itself I see
debug: /Stage[main]/Apt/Exec[apt-update]/before: requires
Package[libmysqlclient-dev]
debug: /Stage[main]/Apt/Exec[apt
It is not...
You just need to register your normal email address as google account, with a
password (for the google acount, not the real one). No more info is required.
BR/Pablo
On Thursday 08 March 2012 06:20:43 jcbollinger wrote:
> On Mar 7, 10:22 am, jimbob palmer wrote:
> > A colleague of
On Mar 7, 10:24 am, Bob Rontomskin wrote:
> Hello group,
>
> I have a Tomcat class which takes a java package name as a parameter.
> The parameter looks like openjdk-1.2.3 or sunjava-2.3.4. The purpose of the
> parameter is that it sets a configuration option in the Tomcat
> configuration to tel
On Mar 7, 10:22 am, jimbob palmer wrote:
> A colleague of mine has pointed out that to post to Google Groups, he
> must give his mobile phone number to Google to send an SMS or to call
> him so that he can create a Google account.
>
> Are there any alternatives? Thanks.
I thought providing a p
As Jeff said, ideally you wouldn't have any cross-module dependencies, but
everyone still does it.
There's a couple of ways you can solve this issue at the moment. The first
(and my preferred way) is to setup a fixtures directory as described in
http://bombasticmonkey.com/2012/03/02/automati
We ended up upgrading the EC2 instance from a m1.small to a c1.medium ..
it was bottoming out on cpu load, and increasing this to a dual core
instance resolved the issue :)
No more timeouts!! and a happy customer too
On Tuesday, March 6, 2012 11:46:14 AM UTC, Andrew Stangl wrote:
>
> Hi all, h
We ended upgrading the EC2 instance from a m1.small to a c1.medium .. it
was bottoming out on cpu load, and increasing this to a dual core instance
resolved the issue :)
No more timeouts!! and a happy customer too
On Tuesday, March 6, 2012 11:46:14 AM UTC, Andrew Stangl wrote:
>
> Hi all, hopi
I've got 3 custom facts configured within a couple of modules and am using
pluginsync to sync them to the clients. My clients are CentOS 5.7.
If I run "puppet agent --test -v", I get the following output and the
custom facts get loaded and I can use those facts in my module classes:
info: Loadin
Hello,
We are actually evaluating "Puppet Open Source Project" as the tool
for managing our hosting processes and we have a question about the
security in Puppet.
As far as we have read, there are only two places where the security
is taken into account:
- the connection between the server and th
We do this via multiple Environments.
We have a Dev, Test and Production environment, and migrate between them using
subversion scripts.
The only thing to be aware of, is that you need to set up the file server so
that all puppet: resources include the environment; thus:
puppet:///files-$environ
37 matches
Mail list logo