Hi,
Why do your init scripts start puppet with a locale other than C?
Cheers,
--
Stephen Gran
Senior Systems Integrator - guardian.co.uk
Please consider the environment before printing this email.
--
Visit guardian.co.uk - newspape
... @joseph: do you have localized ipconfig output?
(btw I have facter 1.5.2, puppet 2.6.17, both from suse rpms)
Am Donnerstag, 6. September 2012 08:25:45 UTC+2 schrieb Axel Bock:
>
> uuh ... /inet addr[...]/ as pattern in ip.rb? a wild guess ... if the
> output is localized - then puppet won
uuh ... /inet addr[...]/ as pattern in ip.rb? a wild guess ... if the
output is localized - then puppet won't be able to get the IP address info,
right?
check.
*l1215022:~ # facter | grep _eth*
*l1215022:~ # export LC_ALL="en_US"*
*l1215022:~ # facter | grep _eth*
ipaddress_eth0 => 130.250.8.1
Hi Krysztof,
like this:
eth0 Link encap:Ethernet Hardware Adresse 00:50:56:99:05:02
inet Adresse:130.250.8.15 Bcast:130.250.8.255
Maske:255.255.255.0
inet6 Adresse: fe80::250:56ff:fe99:502/64
Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST M
On Wed, Aug 29, 2012 at 09:43:49AM -0700, Chris Price wrote:
> I'd love to put together a "test" manifest that illustrates how to do what
> you're doing w/o modifying params.pp directly,
I'd love to see this, myself, for educational purposes. I'm still pretty
new to puppet and the variable scopin
I can't believe I didn't think about the conf.d directory. I have it set
up for that and just skipped over that last line.
Ramin, I agree with you about wanting to control introducing change into
the system. We have grown from a very small team with only a couple servers
to what we are today r
On Wednesday, September 5, 2012 7:13:53 AM UTC-7, jcbollinger wrote:
>
>
> 'notify' is a specialization of 'before', so you don't need both or
> those, 'subscribe' is a specialization of 'require', so you don't need both
> of those, and all the other mixed pairs represent cycles.
>
>
John --
On Wed, Sep 05, 2012 at 03:01:42PM -0700, Douglas Garstang wrote:
> On Wed, Sep 5, 2012 at 2:23 PM, Christopher Wood
> wrote:
> > (inline)
> >
> > On Wed, Sep 05, 2012 at 02:04:59PM -0700, Douglas Garstang wrote:
> >> Couple of questions. Firstly, what's the plugin error about?
> >>
> >> puppet ag
On Wed, Sep 5, 2012 at 2:23 PM, Christopher Wood
wrote:
> (inline)
>
> On Wed, Sep 05, 2012 at 02:04:59PM -0700, Douglas Garstang wrote:
>> Couple of questions. Firstly, what's the plugin error about?
>>
>> puppet agent --onetime --test --verbose
>
> Could you also try with --debug?
I could. What
On Wednesday, September 5, 2012 10:37:40 AM UTC-5, Sean Murphy wrote:
>
> Hi,
>
> I have an ubuntu system with some of our own services on it. I prefer
> to run
> these services as a non-root user.
>
> I can control the services using upstart as a non root user and can
> start and
> stop th
Like I said, these aren't "issues" with Puppet, you're just using a
screwdriver to hit a nail. All resources only apply to the local machine.
Your manifests are supposed to declaratively describe what the state and
configuration of a node should be, and the Puppet agent makes it so after
compil
On Wednesday, September 5, 2012 1:19:16 PM UTC-5, Jakov Sosic wrote:
>
> Hi.
>
> I've seen in many modules at puppet-forge this kind of organization:
>
> class myclass(
> $somevar='value'
> ) inherits myclass::params {
> file { $mydir:
> ensure => directory,
> }
> }
>
> class m
hello Jenner:
thank you.
without intending to be rude or scornful: using MCollective? hmmm. instead,
i can use a simple shell script, and it works great in minutes. Puppet
makes us go bonkers and i do not think its really intuitive to understand.
instead a procedural scipt is just great.
i fi
hello Jenner:
thank you.
without intending to be rude or scornful: using MCollective? hmmm. instead,
i can use a simple shell script, and it works great in minutes. Puppet
makes us go bonkers and i do not think its really intuitive to understand.
instead a procedural scipt is just great.
i fi
(inline)
On Wed, Sep 05, 2012 at 02:04:59PM -0700, Douglas Garstang wrote:
> Couple of questions. Firstly, what's the plugin error about?
>
> puppet agent --onetime --test --verbose
Could you also try with --debug?
> info: Retrieving plugin
> err: /File[/var/lib/puppet/lib]: Could not evaluate:
On 9/4/2012 5:01 PM, Matthew Morgan wrote:
Hi All,
Sorry if this has been asked before but I am not entirely sure what to
search for so as to get the answer I am looking for.
I have recently started using puppet to manage our servers (we have 30
at the moment) and I have been posed the question
Puppet Dashboard 1.2.11-rc1 is a maintenance and bugfix release
candidate of Puppet Dashboard.
This release is available for download at:
https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.11-rc1.tar.gz
Debian packages are available at
https://apt.puppetlabs.com
RPM packages are ava
Couple of questions. Firstly, what's the plugin error about?
puppet agent --onetime --test --verbose
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
retrieve information from source(s) puppet://puppet/plugins
info: Caching catalog for mon01.ap1.xxx.com
info:
Puppet is not really designed to do what you're asking. The idiomatic
Puppet way to install ksh on all your nodes would be to create a node
declaration for each host and either add Package[ksh] on each node or have
them include a class with that resource definition.
If you're looking for a way
There should be a "nagcmd" group which both nagios and your apache
user are members of. The nagios.cmd pipe should have permission of
0660 and ownership of nagios:nagcmd. If you were using check_mk
livestatus then the livestatus.cmd socket would have the same perms
and ownership.
Usually this is t
hello fellow engineers:
i am currently developing a Puppet manifest to Deploy (Install, Configure)
a Software Package onto a number of Nodes from a Machine that is network
connected to the Nodes (can ssh). the Yum Repo for the Nodes is on this
Deployment Point.
it was and still is very surpris
I am going to guess this is the old 'There's no /sbin/ifconfig' thing.
I've got a pull request for facter that fixes this and a bunch of
other stuff at https://github.com/puppetlabs/facter/pull/267 if you
want to try checking out that version of Facter and trying it on your
SuSE box. It'll try an
Hi.
I've seen in many modules at puppet-forge this kind of organization:
class myclass(
$somevar='value'
) inherits myclass::params {
file { $mydir:
ensure => directory,
}
}
class myclass::params {
$mydir = '/some/path'
}
Now, I wonder how can I override $mydir from node definition
Hi.
I've been trying to develop a module for managing Cobbler from puppet.
So, I need a custom type - cobblerdistro, which will fetch ISO from
http, unpack it at desired destination and register distro with Cobbler.
I have one issue with ensure => absent situation.
First of all, here is my type:
OK I tryed to apply the idea and it seems to work up to the fact that the
db host forget the root password
I'm using puppetlabs mysql module and doing this in node hostdb
class { 'mysql::server':
config_hash => {root_password => 'changeme',}
}
Mysql
Hi,
How does your ifconfig -a output looks like?
Suspects:
https://github.com/puppetlabs/facter/blob/master/lib/facter/interfaces.rb
https://github.com/puppetlabs/facter/blob/master/lib/facter/util/ip.rb
KW
On Wednesday, 5 September 2012 09:52:03 UTC+1, Axel Bock wrote:
>
> Hello,
>
> @Joseph
I'm sure people have hit this problem before. In my nagios module, the
nagios command pipe file at /var/lib/nagios3/rw/nagios.cmd is owned by
the nagios user, but needs to be written to by the www-data user.
Adding the www-user to the nagios group is one solution, but that
requires that the nagios
On Sep 5, 2012, at 11:33 AM, JGonza1 wrote:
> Is there a puppet module for tomcat and another one for apache?
Puppet Forge is the first place you should go to look for modules:
http://forge.puppetlabs.com
A search for 'tomcat' and 'apache' both yield multiple results.
http://forge.puppetlabs.
On Wed, Sep 5, 2012 at 8:37 AM, JeremyCampbell
wrote:
>
>
> On Wednesday, September 5, 2012 5:20:49 PM UTC+2, Dan Bode wrote:
>
>>
>>
>> On Wed, Sep 5, 2012 at 8:15 AM, JeremyCampbell wrote:
>>
>>>
>>>
>>> On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote:
>>>
On Wed,
That was the problem indeed.
The agent was 2.7.19 and the master 2.7.14.
Thanks !
On Wednesday, September 5, 2012 4:38:58 PM UTC+1, R.I. Pienaar wrote:
>
>
>
> - Original Message -
> > From: "renaud" >
> > To: puppet...@googlegroups.com
> > Sent: Wednesday, September 5, 2012 4:20:17 P
- Original Message -
> From: "renaud"
> To: puppet-users@googlegroups.com
> Sent: Wednesday, September 5, 2012 4:20:17 PM
> Subject: [Puppet Users] Re: Weird variable dependency issue + different
> behavior between master/masterless
>
> I've found the problem !
> "$1-yy$2-redis1" just
On Wednesday, September 5, 2012 5:20:49 PM UTC+2, Dan Bode wrote:
>
>
>
> On Wed, Sep 5, 2012 at 8:15 AM, JeremyCampbell
>
> > wrote:
>
>>
>>
>> On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote:
>>
>>>
>>>
>>> On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell wrote:
>>>
I have
Is there a puppet module for tomcat and another one for apache?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/mQ_MgkwB0z0J.
To post to this group, send em
Hi,
I have an ubuntu system with some of our own services on it. I prefer
to run
these services as a non-root user.
I can control the services using upstart as a non root user and can
start and
stop the service using initctl without any problems. I'm trying to use
puppet to
start and stop these s
Hi Matthew,
We are on Red Hat and do the following with config files which will be
updated after yum update.
- our own customized config files of the rpm are in Puppet with an addon
for rpm name&version (for instance; files/lvm.conf_lvm2-2.02.88-7.el5)
- we have a custom facter which determin
On Wed, Sep 5, 2012 at 8:15 AM, JeremyCampbell
wrote:
>
>
> On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote:
>
>>
>>
>> On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell wrote:
>>
>>> I have written a custom function that returns a hash of data to be used
>>> by the *create_resources
I've found the problem !
"$1-yy$2-redis1" just didn't work on the puppetmaster, it needs better
escaping : ""${1}-yy${2}-redis1"
I'd still be interested to know the reason for that, and also why my
'notice' statement had no output when run from puppetmaster.
On Wednesday, September 5, 2012 3:24
On Wednesday, September 5, 2012 4:15:31 PM UTC+2, Dan Bode wrote:
>
>
>
> On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell
>
> > wrote:
>
>> I have written a custom function that returns a hash of data to be used
>> by the *create_resources* function.
>>
>> class network::multiroute::mhpeers (
I should add that I've added a 'notice' statement for debugging, which
again shows the correct things when the manifest is applied manually, but
doesn't seem to be executed (at all) when run through the puppetmaster
On Wednesday, September 5, 2012 3:19:07 PM UTC+1, renaud wrote:
>
> Thanks John
Thanks John,
The Puppet templating docs recommend referring to DSL variables via Ruby
> class variables, so as @master_host and @master_port in your case.
> Referring to them via local variables (as your template does) will often
> work, but it can fail in interesting ways if your variables ha
On Wed, Sep 5, 2012 at 7:05 AM, JeremyCampbell
wrote:
> I have written a custom function that returns a hash of data to be used by
> the *create_resources* function.
>
> class network::multiroute::mhpeers (
> ) {
> $routes = gen_ip_routes("gw.uk")
> create_resources(network::multiroute::mhpeer
On Wednesday, September 5, 2012 3:47:04 AM UTC-5, Axel Bock wrote:
>
> Hi readers,
>
> I had this idea. I am deploying a configuration file of a service with
> puppet, and I want to restart the service if the file changes.
>
> so I had this idea that the file definition contains a require=> an
On Tuesday, July 24, 2012 12:47:09 PM UTC-4, Matt Wise wrote:
>
> I've got a few puppet servers running behind Nginx, load balanced with an
> ELB. I occasionally see this error in bursts..
> >
> > Tue Jul 24 09:41:23 + 2012 Puppet (err): Could not retrieve catalog
> from remote server: end
Hi Matthew,
Some of this depends on your package manager. For example, on RedHat, if
you take puppet completely out of the picture:
1) I install mysql from yum
2) I modify my.cnf
3) I upgrade mysql via yum
In this case, if there was a configuration change to my.cnf by redhat, I
won't get them.
I have written a custom function that returns a hash of data to be used by
the *create_resources* function.
class network::multiroute::mhpeers (
) {
$routes = gen_ip_routes("gw.uk")
create_resources(network::multiroute::mhpeer, $routes)
}
However, on the puppet client I get "err: Could not
On Wednesday, September 5, 2012 5:09:52 AM UTC-5, renaud wrote:
>
> Hello all,
>
> I know that execution order is not guaranteed within a scope without
> explicitly declaring dependencies.
> However I've always been able to set variables in classes, and expect them
> to be used properly in te
On Tuesday, September 4, 2012 10:26:14 AM UTC-5, Bai Shen wrote:
>
> I've gotten an install of solr working, but it's pretty much a hack job at
> the moment. If y'all could give me your thoughts on how to improve my
> setup, I'd appreciate it. apache-tomcat is an rpm of Tomcat 7 that
> refer
The problem is:
when installing an application in a distributed environment I need to
create the application DB on a remote host and not on the same host as the
application.
To make an example I'm going to install zabbix on host1 and the mysql db is
on host2
I'll have to run the script to crea
Hello all,
I know that execution order is not guaranteed within a scope without
explicitly declaring dependencies.
However I've always been able to set variables in classes, and expect them
to be used properly in templates that I declare in a File statement in the
same class.
It looks like I
Am Mittwoch, 5. September 2012 11:25:51 UTC+2 schrieb R.I. Pienaar:
>
> why would you start a service before the config file is deployed?
> surely you want to configure the service before starting it?
>
sure :) . that's what I meant, basically.
> so the common pattern is:
>
> package{"some
- Original Message -
> From: "Axel Bock"
> To: puppet-users@googlegroups.com
> Sent: Wednesday, September 5, 2012 10:18:31 AM
> Subject: [Puppet Users] Re: notify vs. require of services
>
> hm, I still don't see the logic.
>
> I think this is a common scenario (please tell me I'm wron
Morning all
I'm trying to get puppet setup to manage our env.
I've managed to get the basic stuff working such as ntp, motd,
users/groups, sudo, etc...
I'm now starting to build a configuration framework for our applications,
including java, glassfish, j2ee apps, etc...
However I've hit a s
Hi All,
Sorry if this has been asked before but I am not entirely sure what to
search for so as to get the answer I am looking for.
I have recently started using puppet to manage our servers (we have 30 at
the moment) and I have been posed the question of whether I wholesale
change configs or
hm, I still don't see the logic.
I think this is a common scenario (please tell me I'm wrong) that you
ensure presence of a service generally, and then deploy a config file, and
on changes you want - of course - the service to be restarted. or ... not?!
is there a puppet pattern on how to do t
On Wednesday, August 29, 2012 11:12:12 PM UTC+2, jcbollinger wrote:
>
>
>
> On Wednesday, August 29, 2012 9:34:24 AM UTC-5, Frank Van Damme wrote:
>>
>> On Wednesday, August 29, 2012 4:14:27 PM UTC+2, jcbollinger wrote:
>>>
>>>
>>>
>>>
>> There is, in another class (and as I wrote, the collection
Hello,
@Joseph: not yet.
@Eric: sure :) . SLES 11 SP2, and the output is here:
http://pastebin.com/jqgNmewk
But I have an idea. I have another host where it still works. The host it
stopped working on has two IP addresses configured on one (!) network
device. so an "ip a" gives me:
[...]
2
- Original Message -
> From: "Axel Bock"
> To: puppet-users@googlegroups.com
> Sent: Wednesday, September 5, 2012 9:47:03 AM
> Subject: [Puppet Users] notify vs. require of services
>
> Hi readers,
>
> I had this idea. I am deploying a configuration file of a service
> with puppet, and
Hi readers,
I had this idea. I am deploying a configuration file of a service with
puppet, and I want to restart the service if the file changes.
so I had this idea that the file definition contains a require=> and a
notify=> for the service.
that does not work, because Puppet does assume cy
Actually I think the problem is that the source parameter should begin
with puppet:/// (3 slashes), otherwise it will tro to look up the
server "modules" and that failed.
On 4 September 2012 20:12, Sam Kottler wrote:
> That means that modules/connexity_apt/files/connexity.list doesn't exist.
>
>
59 matches
Mail list logo