On Oct 10, 11:15 am, Guy Matz gm...@matz.org wrote:
Hi! I've got a requirement that a few users need to have the same username,
but different passwords on qa prod server. The users are currently
defined as
@users which gets realized in an appropriate module, and I've been thinking
about
On Oct 11, 8:48 am, jcbollinger john.bollin...@stjude.org wrote:
In neither case does it matter whether the User declarations are
virtual.
I should clarify that I mean it does not matter *for this purpose*
whether the user declarations are concrete or virtual. Either of the
strategies I
Hi,
I have a problem with getting puppet to do what I want. I've written a
module which I configure via a define, and one of the define's
settings is an array of all user names that are supposed to act as
admins of this particular service this module is rolling out, like
this:
Hi All,
I've been exploring puppet and mcollective recently and I was
wondering if people here might be able to point me towards some
information on a potential use case. It seems like puppet is primarily
used at the moment as a tool for managing individual machine
configurations ('What do I need
Stupid question here: how does this line of code get the mysql root
password?:
https://github.com/puppetlabs/puppetlabs-mysql/blob/master/lib/puppet/provider/database/mysql.rb#L12
I am asking because when I run the set of commands to make a mysql
server and db locally, everything is fine. When I
I've done some work on creating entire networks using defined
resources or 100% exported resources for the nodes you build. The
following is an example environment with classes included:
https://github.com/kbarber/puppet-onedemo/tree/master/manifests
If you take a look at the nodes.pp you can
It expects the password to be set somewhere other than on the command line
(my.cnf)
On Tue, Oct 11, 2011 at 7:18 AM, adam adus...@gmail.com wrote:
Stupid question here: how does this line of code get the mysql root
password?:
~/.my.cnf ?
On 11-10-11 10:18 AM, adam wrote:
Stupid question here: how does this line of code get the mysql root
password?:
https://github.com/puppetlabs/puppetlabs-mysql/blob/master/lib/puppet/provider/database/mysql.rb#L12
I am asking because when I run the set of commands to make a mysql
Thanks, guys. Told you it was a stupid question. I know quite a bit
about programming and CS but am not fluent in mysql config. Thanks
again!
On Oct 11, 1:01 pm, Bruno Leon nonolem...@gmail.com wrote:
~/.my.cnf ?
On 11-10-11 10:18 AM, adam wrote:
Stupid question here: how does this
Hello all,
I have been searching through the list archives, but I have yet to find
an answer to my question. The problem I am having is this:
1. I have been using puppet without environments for some time now and it
works properly
2. I am trying to reconfigure to use environments, and I am
When I've run into this error, it was due to the environment
manifestdir/modulepath/templatedir not being set correctly or not
existing. Are you certain that those directories exist? What
environment is demonstrating this?
On Tue, Oct 11, 2011 at 10:30 AM, Deven Phillips
deven.phill...@gmail.com
Adrien,
I did double check, and the directories do exist. I am running
purely against production right now as I have yet to configure any of my
agents to use a different environment.
Deven
On 10/11/2011 02:08 PM, Adrien Thebo wrote:
When I've run into this error, it was due to the
One thing I've noticed is that you've typo'd your templatedir for
production, it's $confidr. Are there any useful errors in the puppet
master logs? And just for a lark, could you run puppet agent -tv
--environment=production on one of your nodes?
On Tue, Oct 11, 2011 at 11:13 AM, Deven Phillips
Did you restart the 'service' (web server) ? If you make changes to the
puppetmaster, you undoubtedly have to restart the service (webrick or mongrel)
or apache/nginx (if passenger)
Craig
On Oct 11, 2011, at 11:13 AM, Deven Phillips wrote:
Adrien,
I did double check, and the
On Oct 11, 2011, at 10:30 AM, Deven Phillips wrote:
Hello all,
I have been searching through the list archives, but I have yet to find
an answer to my question. The problem I am having is this:
1. I have been using puppet without environments for some time now and it
works
Nope, that didn't seem to help the way I tried it... So, here's my layout:
/etc/puppet/
prod/
modules/
files/
generic_node/
The manifest which calls this looks like:
file {/etc/ssh/sshd_config:
owner = root,
group = root,
mode= 0644,
ensure = present,
source =
puppet://lou1/modules/files/generic_node/etc/ssh/sshd_config,
We have a situation here where we have multiple internal subdomains, but want
to configure Nagios to identify hosts without our main domain. Thus, the
'hostname' we use for some items would be hostname.subdomain . We also have to
strrip off a certain subdomain (I wont go into the convoluted
The layout should look something more like this:
/etc/puppet/prod/modules/$module_name/files/generic_node/etc/ssh/sshd_config
With the source lines looking like:
puppet://lou1/modules/$module_name/generic_node/etc/ssh/sshd_config
If you wanted 'generic_node' to be the name of the module,
So, I've got a system that does this:
root@emcbackup8 puppet]# puppet agent -t
info: Loading facts in php_version
info: Loading facts in lsf_queues
info: Loading facts in need_proxy
info: Loading facts in n_mounts
info: Loading facts in compute_node
info: Loading facts in php_version
info:
Craig,
Craig, thanks for your input. It certainly gave me some ideas for what I needed.
I think I found a way to do exactly what I'm looking for. I'm not a Ruby wizard
by any stretch of the imagination but I think this will work:
Facter.add(network) do
setcode do
ipaddy =
Trying that out now.. I will respond back in a bit with results.
Thanks!!!
Deven
On Tue, Oct 11, 2011 at 3:42 PM, Jacob Helwig ja...@puppetlabs.com wrote:
The layout should look something more like this:
/etc/puppet/prod/modules/$module_name/files/generic_node/etc/ssh/sshd_config
With the
In playing around with something like this, I was able to tag the users and
then use the tags to realize the correct set of users:
@user {
user1: tag = [ 'app_1' , 'app_2' ];
user2: tag = [ 'app_1' , 'app_2' ];
user3: tag = [ 'app_2' ];
}
Then, you can use this to realize them:
Any chance of getting RPMS for EL 5?
On Mon, Oct 10, 2011 at 11:33 AM, Michael Stahnke stah...@puppetlabs.comwrote:
This is a maintenance release of Puppet Dashboard 1.2.2.
This release is available for download at:
http://downloads.puppetlabs.com/dashboard/
We have included Debian and
Jacob,
That was the problem!! Thanks so much for the help. And Aaron and
everyone else as well. Much appreciated!!
Deven
On Tue, Oct 11, 2011 at 3:56 PM, Deven Phillips
deven.phill...@gmail.com wrote:
Trying that out now.. I will respond back in a bit with results.
Thanks!!!
Deven
On
On 12 October 2011 06:52, Matthew Nicholson
matthew.a.nichol...@gmail.comwrote:
title414 Request-URI Too Large/title
/headbody
h1Request-URI Too Large/h1
Which run just fine. All the clients involved have identical puppet
versions (2.6.7, the master is 2.7.1). I know I can change the URL
On Tue, Oct 11, 2011 at 03:52:21PM -0400, Matthew Nicholson wrote:
So, I've got a system that does this:
root@emcbackup8 puppet]# puppet agent -t
info: Loading facts in php_version
info: Loading facts in lsf_queues
info: Loading facts in need_proxy
info: Loading facts in n_mounts
info:
Hi All,
In our environment, we have production and DR puppet clients that live on
different networks. Currently, we do things like include s_service::prod
or include s_service::dr, etc. Both of these subclasses would inherit from
s_service where common things lie.
I am re-doing the Puppet config
Somewhat related to this, is there a way for Puppet to source files in this
manner:
First: /etc/puppet/modules/module/$environment/file
Default: /etc/puppet/modules/module/file
Just to avoid having the same directory structure under
/etc/puppet/$environment/ as Deven has done.
Best regards,
On Oct 11, 4:38 am, Stephan stephan.eckwei...@admin.ox.ac.uk wrote:
User| title == $app-admin | {
groups + $title,
}
Stephan, I think you might want an in expression:
http://docs.puppetlabs.com/guides/language_guide.html#in-expressions
I've never tried these with the
Hi easybeats
On Oct 7, 4:54 pm, easybeats dext...@gmail.com wrote:
Hi Tim,
IMO, you've got to be clear what the underlying information model that
puppet / facter supports is. In particular, if you simply say that the
facts are the data reported by the underlying tools, then you've got
Hi Ken
[sorry for top-posting]
I'm not a fan of supporting bad practice too strongly, it just becomes
a stick with which to beat yourself with ;-)
I think that it would be better to show folk how to get a better
model, and to point out that fqdns are not properties of hosts
(they're properties of
On Tue, Oct 11, 2011 at 5:48 PM, Nick Fagerlund
nick.fagerl...@puppetlabs.com wrote:
I've never tried these with the collection operator, but it would look
something like:
User| title in $app-admin | {
groups + $title,
}
Does that work?
I wish it did. However, what you proposed
On Tue, Oct 11, 2011 at 2:06 PM, Nick Steel nick.st...@gmail.com wrote:
Any chance of getting RPMS for EL 5?
The Dashboard requires ruby 1.8.7, which isn't available natively on
EL5. If you have an updated ruby, you *should* be able to make the
EL6 ones work, I think.
You can also run:
http://docs.puppetlabs.com/references/stable/type.html#file
under source
If you specify multiple file sources for a file, then the first source that
exists will be used. This allows you to specify what amount to search paths for
files:
file { /path/to/my/file:
source = [
Thanks Dan. I thought Puppet may have a way to automagically search for a
file based on environment first (e.g. modules/nfs/$environment/foo), then a
default as specified by source (e.g. modules/nfs/foo). I can see how what
you pasted helps, but it could become tedious having to specify the search
I seem to have a weird error when trying to collect ssh keys and installing
them on our backup server.
On all hosts I have:
@@ssh_authorized_key { root@$fqdn:
type = ssh-rsa,
key = $rootsshkey,
tag = 'host',
user = backups,
}
Then on my backup server I have:
Hello,
I am installing Puppet Enterprise agent (puppet-enterprise-1.2.1-
solaris-10-sparc) on a Solaris 10 64bit SPARC system. When I view the
logs for the agent I see:
puppet-agent[14680]: [ID 702911 daemon.error] Could not run Puppet
configuration client: Could not retrieve local facts:
Hi,
I have setup puppet (2.7.5) on 2 different machines on ec2.
Puppet master config
1. Ruby - 1.9.3
2. OS - Amazon linux image
3. runs from root user
Puppet agent config
1. Ruby - 1.9.3
2. OS - centos
3. runs from root user
When i run the agent, it throws an error unknown ca (can been seen
in
39 matches
Mail list logo