Hi All,
For those of us dealing with slow puppet runs, due to having hundreds or
thousands of node manifests, I've release a simple rack wrapper app. The
app will determine which site.pp to use based on the fqdn of the requesting
agent. It just a wrapper to the puppet rack call that passes the
Hi All,
I currently make use of Icinga (nagios fork) + Puppet for fully automated
monitoring. It's worked great up to this point. I've recently been asked to
integrate fine grained notifications support into icinga. I'm not entirely
sure puppet manifests are the right place to manage contacts,
...Bueller
Anyone have an answer for this? This seems like a pretty pertinent feature
for anyone looking to take advantage of the ruby DSL. I for one would be
eternally grateful.
-Ryan
On Wednesday, June 13, 2012 8:08:07 AM UTC-7, Ingo Fischer wrote:
>
> I have the same question (see
> https:
Hi,
I'm running into a problem using the puppetlabs provided vcsrepo-module. It
keeps giving the same error:
--
notice: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: Creating repository
from latest
err: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: change from absent to
latest f
We went with git super projects and submodules instead of librarian-puppet.
Might want to look at using git for management of per puppet-module
repositories as well.
On Wednesday, July 25, 2012 7:37:10 AM UTC-7, llo...@oreillyauto.com wrote:
>
> I've heard this project mentioned a few times a
, 2012 at 9:49 AM, David Schmitt wrote:
>
>> On 24.07.2012 00:43, Ryan Bowlby wrote:
>>
>>> Can anyone comment on their experiences with librarian-puppet or using
>>> git superproject with per puppet module repositories? We are in the
>>> midst of determin
. What
then would be the advantages of librarian-puppet?
Thanks,
Ryan Bowlby
--
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/-/4Kf47PY2sIwJ.
To po
That's not really a puppet question. Typically installation of software in
normal (posix compliant) locations requires root privileges. Merely
limiting the commands one is capable of executing via sudo would likely be
enough.
-Ryan
On Saturday, July 14, 2012 10:29:33 PM UTC-7, Ganesh Ganesh wr
I would probably grimace and find my right eye twitch ramp back up if this
was in my environmentbut here you go:
node default {
if $::ipaddress =~ /^10\.0\.[3,4]\.\d{1,3}$/ {
include testing # testing class
}
}
Obviously make sure no other matching node defs exist for this host.
-R
I tend to expose the ensure related resource attributes as parameters that
can be specified at the node level:
class { "apache":
package_ensure => "absent",
}
The natural evolution is to get to a point within the organization where
reinstalling a host is no longer scary. If the provisioning p
h can be used on the
same file. The current conflict doesn't have to be a conflict, I assumed
puppet did this already.
-Ryan
On Sunday, June 10, 2012 9:58:23 AM UTC-7, Jeff McCune wrote:
>
> On Sun, Jun 10, 2012 at 3:56 AM, Ryan Bowlby wrote:
> > Hi All,
> >
> >
Hi All,
I am using the file_line type included in stdlib to add a line to
/etc/sudoers. On each run the sudo module replaces /etc/sudoers, then
file_line resource adds the line back. It's happening on each run and I
can't seem to figure out to get the sudo module's file resource to stop
replac
Hi Guys,
I searched through the forum and found a few related threads but no clear
puppet sanctioned solution. We have several modules that require the same
package, for example rsync or gcc. We usually solve these conflicts by
making that package a standalone module. We don't want to have modu
up just doing a few simple wrapper parameters as advised by
Nick. I like the Hiera idea but it will have to wait since we have so
much low hanging fruit to pick for the time being. Thanks everyone!
-Ryan
On May 30, 2:00 pm, jcbollinger wrote:
> On May 30, 2:37 pm, Ryan Bowlby wr
Hi All,
Is there a way to override the value of a parameter to a declared
class within my base class. My nodes use a base class that
occasionally need to be changed. Example:
class "base" {
class { "apache":
mpm => "worker",
}
..other awesomeness
}
Then in the nodes:
node "a" {
includ
On May 4, 6:34 am, jcbollinger wrote:
> On May 4, 1:54 am, Dan Carley wrote:
>
>
>
>
>
>
>
>
>
> > On 3 May 2012 23:32, jcbollinger wrote:
>
> > > Hmm. I guess I misunderstood your objective. It is still true that
> > > 'defined' is not a good approach, however, and also that
> > > os::motd:
7:19 am, jcbollinger wrote:
> On May 2, 3:14 pm, Ryan Bowlby wrote:
>
>
>
>
>
>
>
>
>
> > Hi All,
>
> > I recently added the puppet-concat module in order to implement the
> > example motd use case. Now our motd includes a list of modules being
&g
Hi All,
I recently added the puppet-concat module in order to implement the
example motd use case. Now our motd includes a list of modules being
used on the server, which is awesome.
All the modules define an motd::register so they expect that the motd
module was included. When a node does not in
Currently we have two puppetmaster servers with ALL requests being
load balanced. I use unison to keep the ssl directory in sync between
hosts. Each server runs keepalived and requests go to a VIP that
exists on one of the servers. The server with the VIP load balances
the requests (mod_proxy) betw
I'm hoping to have all the puppet agents run on a 20 minute interval
with 480sec on either side. I don't want to launch the agent from cron
in order to achieve a level of randomness. Is there a splay/random
option that can be included in the sysconfig file or config file?
I want to continue runnin
> On Mar 28, 3:00 pm, Ryan Bowlby wrote:
>
> > I'm having an issue where every single puppet node included our yum
> > class as part of the catalog. In all instances the nodes node
> > definition was empty. Has anyone experienced something like this
> > before?
I'm having an issue where every single puppet node included our yum
class as part of the catalog. In all instances the nodes node
definition was empty. Has anyone experienced something like this
before? Is the yum class colliding with an internal class?
We do not define a node default or use any n
were encountered.
Thanks!!!
Ryan Bowlby
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@google
Hi All,
I'd like to display which resources are managed by Puppet in a given
host's motd file. Does anyone know the best way to accomplish this?
As we transition to puppet it would be helpful to know what resources
are currently being managed by puppet. Alternatively, if anyone has
created a comm
Thank you, you just added hours to my life! 3.0.11 works perfect. Perhaps
the puppetlabs docs should make note of this?
--
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/pu
Wrap the file resource in an if that checks if $conf_file is defined.
I would also recommend replacing the case statement with a
parametrized class with the default for $conf_file being undef.
Also, if you were okay with having a default blank file present then
you could just replace your current
I second checking for required environment variables. Attempt to run
in a shell that hasn't sourced your .bash_profile and related login-
time config files. Also, try it with an exec with "/bin/bash -x /etc/
init.d/dropbox start" to further troubleshoot.
On Jan 30, 3:05 pm, "Richard K. Miller"
w
a lesser known repo.
Thanks again,
Ryan Bowlby
On Jan 26, 11:37 pm, Brice Figureau
wrote:
> On 27/01/12 02:14, Ryan Bowlby wrote:
>
> > Hi All,
>
> > I have a two puppet servers using Apache with mod_proxy as the
> > frontend. Similar to what what's describe
I use CentOS 6.2 with yum-priorities and several additional
repositories. In general the following priority order works well:
updates -> extras -> puppetlabs -> epel -> rpmforge
Then, as said previously, just run yum -y install puppet-dashboard and
continue following docs. That setup will allow y
Classes can only be declared once while defines can be declared
multiple times. So if you wanted two vhost files a define would be
needed.
On Jan 26, 3:47 pm, Joehillen wrote:
> whoa, my bad. I learned puppet before 2.6
>
> Now I don't know why there is a distinction between classes and defines.
t; 200 343 "-" "curl/7.15.5 (x86_64-
redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/
0.6.5"
That's a request from another server. Here are the Apache configs:
http://pastebin.com/rDKPSjjy
Thanks everyone!
Ryan Bowlby
--
You received this message be
Show off! ;) Great example thanks.
I noticed you fully qualify variables within the very class they were
assigned. Is that best practice now?
I've created a simple apache module using your openssh module as
inspiration. I still need to modify params.pp to check for globally
defined vars. In the c
pache':
ssl_package => true,
}
}
I'm just trying to do things "right" the first time.
On Jan 17, 9:59 pm, Nigel Kersten wrote:
> On Tue, Jan 17, 2012 at 9:33 PM, Ryan Bowlby wrote:
> > Thanks for the great replies Nigel. As a person currently rolling out
> &g
to be overridden by global namespace variables
(for enc support)
3. further allow parametrized class declarations to take precedence
over 1 and 2
Can you point me to a module that does this? Alternatively, can you
make a recommendation for module best practices going forward.
Thanks,
Ryan Bowlby
O
If I wanted to allow all the variables normally set within params.pp
to also be assigned as class parameters or as global variables how
would I do this?
I still want all the variables to be initially set to defaults within
the params.pp class but allow for them to be overridden at the node
level.
I have a somewhat abstract best practice question. In some instances
fully applying a node's puppet catalog results in that node
interacting with production infrastructure. Sometimes you want to
provision a new host and have it apply it's puppet catalog but not yet
integrate into the production env
Hi All,
We are going to setup two puppet masters, each will include the full
stack of services. Apache as the frontend on both load balancing to
the backend services on both. We will be using keepalived and VIP
whose A record is puppet.domain.
We would like to have the CA in active/active on the
;
> wrote:
> > On Sat, Jan 01, 2011 at 12:53:11AM -0800, bowlby wrote:
> >> Hi,
>
> >> I'm figuring out a way to build a ssh-gateway. For that to work I want
> >> access to the internal ipaddresses that are used by my slaves (which
> >> get ass
Hi,
I'm figuring out a way to build a ssh-gateway. For that to work I want
access to the internal ipaddresses that are used by my slaves (which
get assigned by dhcp and thus are not predictable). This way I can
change the host-file on my ssh-gateway so that hostnames point to the
right nodes.
So
Thanks, both of you! That solved it.
Merry Christmas (for what's left of it...)
On Dec 26, 12:54 pm, Daniel Pittman wrote:
> On Sun, Dec 26, 2010 at 22:45, bowlby wrote:
> > I have this in nodes.pp
> > $puppetmaster_fqdn = generate("/usr/bin/facter","
I have this in nodes.pp
$puppetmaster_fqdn = generate("/usr/bin/facter","fqdn")
and this in a template
http://<%= puppetmaster_fqdn %>:8080
When puppet runs, this is the result:
http://puppet.home
:8080
Anybody any clue to whats causing this? I've tried -%>
--
You received this message beca
Thanks for all your answers, but I settled for a different solution.
It appeared the perl-package was available in the debian-repo, so I
can use package{}.
On Aug 17, 5:49 am, Brian Gallew wrote:
> Sorry, when you use Gmail you end up top-posting whether you like it or not.
>
> On Mon, Aug 16,
Now we're getting somewhere!
I replaced /bin/sh for /bin/bash (mv /bin/sh /bin/sh_old; ln -s /bin/
bash /bin/sh). Probably an oddity of Lucid in /bin/sh?
'which mysql' gave me /usr/bin/mysql but then I checked for mysql-
client, it wasn't installed so I did.
Below is my debug info. As shown in t
eah, that kind of
> clobbered some of my puppetmaster configs and I had to rebuild a bit.
>
> Hope this helps. FWIW, I am using this module on CentOS and it's
> working for me, so just hang in there -- you'll get it!
>
> On Fri, Jul 16, 2010 at 2:29 PM, bowlby wrote:
&g
/socket", "/var/run/
mysqld/mysqld.sock"]
debug: Augeas[my.cnf/mysqld](provider=augeas): Skipping becuase no
files were changed
debug: Augeas[my.cnf/mysqld](provider=augeas): Closed the augeas
connection
debug: Service[mysql](provider=debian): Executing 'ps -ef'
de
dfsdf": ensure => present,}
}
On Jul 15, 5:15 am, "steve ." wrote:
> If you grab the Augeas module from the same source, that should
> satisfy the dependency...
>
> On Wed, Jul 14, 2010 at 7:11 AM, bowlby wrote:
> > Hi,
> > I tried the mysq-module (fromhttp:
Hi,
I tried the mysq-module (from http://github.com/camptocamp/puppet-mysql)
and it will install mysql but it won't create db's or users.
I had to create /usr/share/augeas/lenses/contrib, because the module
seems to expect it. Otherwise I get no error-logs, it just won't
create users or databases..
lt {
$proj_name = "myapp-test"
$domain = "myapp.webhop.org"
$path = "/var/www/$domain"
$docroot = "$path/src/myapp-test"
$aliases = "testserver"
$user = $proj_name
$passwd = XXX
simple-vhost { myapp
Hi,
New to puppet so this could be noob-problem.
I'm using the module I found here: http://github.com/camptocamp/puppet-mysql
to manage my mysql. The module does install mysq-server and creates a
root-user, but it does not create the database and user I specify. My
guess is that the custom types (f
49 matches
Mail list logo