On Fri, Jun 10, 2011 at 6:12 AM, Nigel Kersten wrote:
>
>
> On Thu, Jun 9, 2011 at 6:50 PM, Jacob Helwig wrote:
>>
>> On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote:
>> >
>> > https://projects.puppetlabs.com/issues/7697
>> >
>> > One problem people producing modules that make use of stag
Sorry, phone using auto complete..
Okay, there is a connection issue between your client and server. Puppet
clients need to reach the server on that port.
Is there a firewall in between? Can you connect on the server with the external
ip address? Can you connect from the client using the serve
On Jun 10, 2011, at 4:10 PM, Sans wrote:
> Dear all,
>
> This is my script in the bash: how can I put it into puppet?
>
> #!/usr/bin/env bash
>
> CONF_DIR="/var/mom_priv"
> CPU_COUNT=`cat /proc/cpuinfo | grep siblings | uniq | cut -d\ -f2`
>
> ideal_load_var=$(echo "scale=2; ${CPU_COUNT}+0.
Dear all,
This is my script in the bash: how can I put it into puppet?
#!/usr/bin/env bash
CONF_DIR="/var/mom_priv"
CPU_COUNT=`cat /proc/cpuinfo | grep siblings | uniq | cut -d\ -f2`
ideal_load_var=$(echo "scale=2; ${CPU_COUNT}+0.5" | bc)
max_load_var=$(echo "scale=2; ${CPU_COUNT}*1.2" | bc)
On Jun 10, 2011, at 3:36 PM, Denmat wrote:
> openssl s_client -connection ubuntu.ttinet:8140
-connection was a problem but -connect is valid
from ubuntu2 (intended puppet client system)
openssl s_client -connect ubuntu.ttinet:8140
connect: Connection refused
connect:errno=111
from ubuntu (
Hi,
What is the response of the following:
$ openssl s_client -connection ubuntu.ttinet:8140
Can you make the connection from the client?
Cheers,
Den
On 11/06/2011, at 3:40, Craig White wrote:
> trying to get started and this doesn't seem to be working as intended -
> clearly pebkac
>
> #
Guy Matz wrote:
Any of you folks have any good tests that you use to make sure a module
has completed successfully? Any best practice suggestions?
I looked around on the www but didn't see anything about this. Please
point me in the right direction if I missed it.
thanks,
Have you had a loo
Shouldn't your catalog apply any changes to the services then, and just
notify yourself on failures?
Or am I missing a bigger picture here?
From: puppet-users@googlegroups.com
[mailto:puppet-users@googlegroups.com] On Behalf Of Yushu Yao
Sent: F
I have the same question.
I will need to verify if the services are up after the puppet catalog is
applied.
Currently I have to use a shell script to do it. It will be great if it can
be defined as puppet script and included in the module.
-Yushu
+---
Any of you folks have any good tests that you use to make sure a module has
completed successfully? Any best practice suggestions?
I looked around on the www but didn't see anything about this. Please point
me in the right direction if I missed it.
thanks,
guy
--
You received this message bec
On 10.6.2011 21:18, JoE wrote:
> This is what I would like to do.
>
> define normal_user($fullname, $groups) {
> $username = $name
> user { "$username" :
> ensure => present,
> allowdupe => false,
> shell => '/bin/bash',
> home=> "/home/
This is what I would like to do.
define normal_user($fullname, $groups) {
$username = $name
user { "$username" :
ensure => present,
allowdupe => false,
shell => '/bin/bash',
home=> "/home/${username}",
gid => $username,
trying to get started and this doesn't seem to be working as intended - clearly
pebkac
# puppet agent --server ubuntu.ttinet --waitforcert 60 --test
info: Caching catalog for ubuntu.ttinet
info: Applying configuration version '1307724789'
notice: Finished catalog run in 0.01 seconds
# puppet cer
On Fri, Jun 10, 2011 at 8:34 AM, vella1tj wrote:
> Thanks going to try that right now sorry that the error wasn't more
> helpful.
>
You're completely misunderstanding me :) The error not being helpful is
Puppet's fault, not yours at all :)
--
You received this message because you are subscribe
Thanks going to try that right now sorry that the error wasn't more
helpful.
On Jun 10, 11:09 am, Nigel Kersten wrote:
> On Fri, Jun 10, 2011 at 7:51 AM, vella1tj wrote:
> > user {'username':
> > uid => 501,
> > gid => 'staff',
> >
Helwig:
> On Tue, 07 Jun 2011 10:29:12 -0500, Jennings, Jared L CTR USAF AFMC 46
> SK/CCI wrote:
> > pwck indeed behaves nicely with its exitcodes - the problem is I
want
> > the output to be an err, not a notice
>
> exec { 'pwck -r':
> path => '/usr/bin:/bin:/usr/sbin:/sbin',
> log
On Fri, Jun 10, 2011 at 7:51 AM, vella1tj wrote:
> user {'username':
>uid => 501,
>gid => 'staff',
>comment => 'comment',
>ensure => present,
>home =
user {'username':
uid => 501,
gid => 'staff',
comment => 'comment',
ensure => present,
home => '/Users/sysop',
shell=>
On Jun 9, 10:20 am, Guillaume Rousse wrote:
> Hello.
>
> I'd like to enhance the classical package/configuration/service pattern
> with an additional stage: configuration syntax checking. The goal is to
> ensure a service won't be restarted with an invalid configuration first,
> but also to ensu
On Fri, Jun 10, 2011 at 6:35 AM, Dan Bode wrote:
>
>
> On Thu, Jun 9, 2011 at 6:42 PM, Nigel Kersten wrote:
>
>> https://projects.puppetlabs.com/issues/7697
>>
>> One problem people producing modules that make use of stages are hitting
>> is that it's difficult to create something reusable that i
On Thu, Jun 9, 2011 at 6:42 PM, Nigel Kersten wrote:
> https://projects.puppetlabs.com/issues/7697
>
> One problem people producing modules that make use of stages are hitting is
> that it's difficult to create something reusable that integrates seamlessly
> into existing setups.
>
> This feature
Am Fri, 10 Jun 2011 12:08:28 +0200
schrieb Brice Figureau :
> [...]
> I think puppet is looking M in the scope of C, but not in the scope
> of P anymore.
> Can you rewrite it like this and test:
>
> class c inherits p {
>P::M["test"] {
> message => "overridden",
>}
>
On 06/10/2011 08:55 AM, jcbollinger wrote:
Maybe what is needed is an easier way to perform two or more
successive puppet runs in different environments.
It would be nice to have a puppet restart command.
Tell puppet that it should reinitialize and try again.
Then you could, as you say, ha
On Fri, Jun 10, 2011 at 4:35 AM, Vagn Scott wrote:
> Puppet already has stage[ Main ] which is the only
> stage it needs to define. All other stages
> can be defined relative to main and each other, and should
> be a matter of convention.
This is true, but only if you don't care about sharing
On Thu, Jun 9, 2011 at 6:50 PM, Jacob Helwig wrote:
> On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote:
> >
> > https://projects.puppetlabs.com/issues/7697
> >
> > One problem people producing modules that make use of stages are hitting
> is
> > that it's difficult to create something reus
On Jun 10, 3:06 am, Brice Figureau
wrote:
> On Thu, 2011-06-09 at 18:50 -0700, Jacob Helwig wrote:
> > On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote:
>
> > >https://projects.puppetlabs.com/issues/7697
>
> > > One problem people producing modules that make use of stages are hitting
> >
Hi,
you need to do one of these:
a) create a DNS entry for "puppet" pointing to your master
b) create a hosts entry for "puppet" pointing to your master
c) specify the --server parameter with an address resolving to your master
d) add a server= entry to your puppet.conf
HTH,
Felix
On 05/27/2011
Puppet already has stage[ Main ] which is the only
stage it needs to define. All other stages
can be defined relative to main and each other, and should
be a matter of convention. So I think it would be more
fruitful to talk about the purpose of stages, along with
their proposed names.
For exam
On 08-06-11 16:29, Chris Phillips wrote:
> updated, and hopefully finished:
>
> Facter.add(:bp_nagios_hostgroups) do
> setcode do
>
> if FileTest.exists?("/var/lib/puppet/classes.txt")
> bp_nagios_hostgroups = ""
> File.open("/var/lib/puppet/classes.txt") { |fi
On Fri, 2011-06-10 at 10:00 +0200, Lorenz Schori wrote:
> Hi,
>
> I've been upgrading from Debian Lenny to Squeeze and now many of my
> puppet modules are failing with the message "Could not find
> resource(s) X for overriding on node Y". I've isolated the problem case
> and apparently properties
Hi again,
Am Fri, 10 Jun 2011 10:00:28 +0200
schrieb Lorenz Schori :
> Debian Squeeze / Puppet 2.6.2
> [...]
> Could not find resource(s) M[test] for overriding on node
> puppet-squeeze
I've now verified that this problem was not present in the latest
legacy version 0.25.5 (install
On 10 June 2011 09:06, Brice Figureau wrote:
> On Thu, 2011-06-09 at 18:50 -0700, Jacob Helwig wrote:
> > On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote:
> > >
> > > https://projects.puppetlabs.com/issues/7697
> > >
> > > One problem people producing modules that make use of stages are
>
On Thu, 2011-06-09 at 18:50 -0700, Jacob Helwig wrote:
> On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote:
> >
> > https://projects.puppetlabs.com/issues/7697
> >
> > One problem people producing modules that make use of stages are hitting is
> > that it's difficult to create something reu
Hi,
I've been upgrading from Debian Lenny to Squeeze and now many of my
puppet modules are failing with the message "Could not find
resource(s) X for overriding on node Y". I've isolated the problem case
and apparently properties of defined resources may not be overridden
anymore in recent version
On 10 Jun 2011 07:52, "Jacob Helwig" wrote:
>
> Chris Phillips wrote:
>>
>>
>>
>> On 10 June 2011 02:50, Jacob Helwig wrote:
>>>
>>> On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote:
>>> >
>>> > https://projects.puppetlabs.com/issues/7697
>>> >
>>> > One problem people producing modules t
Chris Phillips wrote:
On 10 June 2011 02:50, Jacob Helwig wrote:
On Thu, 09 Jun 2011 18:42:54 -0700, Nigel Kersten wrote:
>
> https://projects.puppetlabs.com/issues/7697
>
> One problem people producing modules that make use of stages are hitting is
> that it's difficult to create something r
36 matches
Mail list logo