Hello,
Thanks a lot for your input. Steve's solution is not possible in my
environment because I do not have the previous client cert on
reinstallation.
Nan's solution seems to work fine in my context:
On the server: /etc/puppet/autosign.conf:
*.mydomain
On the client:/etc/puppet/puppet.conf
On Thu, Aug 16, 2012 at 10:42 AM, jerome wrote:
> Hello,
>
> Thanks a lot for your input. Steve's solution is not possible in my
> environment because I do not have the previous client cert on
> reinstallation.
>
> Nan's solution seems to work fine in my context:
>
> On the server: /etc/puppet/aut
Hi,
We've ran into the same problem. Our current solution, which we're not
happy about, is to also have the custom types on the master/production
environment. Doing that at least the custom types are always available.
Unfortunately, it makes it impossible to deploy an update of a custom type
t
Hello,
We've been using Hiera for a while and one of the things I'd like to do is
use the data we have in the YAML backend and generate our BIND zonefiles
and DHCPD.conf from it.
Every node has a stanza defined with it's 'primary' IP-address and
MAC-address like so:
hostname.yaml:
---
m_interf
Douglas Garstang wrote:
> What a horrible clusterf*ck mess.
>
Douglas
Can you please keep your tone polite on the list.
Regards
James Turnbull
--
James Turnbull
Puppet Labs
1-503-734-8571
To schedule a meeting with me: http://tungle.me/jamtur01
--
You received this message because you are
Hi,
I've tried differents solutions, but no one worked for me. Is there a way
to get dual backups ? For example, one backup locally on each nodes and
another on the filebucket. The idea is to have a local backup for different
purposes and on the filebucket to get a visual diff on the dashboard.
Woops sorry (but still doesn't work :
File { backup => ["main", ".puppet-bak"] }
Le jeudi 16 août 2012 11:03:10 UTC+2, Deimos Fr a écrit :
>
> Hi,
>
> I've tried differents solutions, but no one worked for me. Is there a way
> to get dual backups ? For example, one backup locally on each nodes
Thanks jcbollinger! Great reply!
--
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/-/0IUtFeEsDFcJ.
To post to this group, send email to puppet-users@googlegr
On Wed, Aug 15, 2012 at 08:34:03PM +0200, Marc Haber wrote:
> On Tue, Aug 14, 2012 at 07:58:21PM +0100, Stephen Gran wrote:
> > The classic is:
> > https://github.com/ripienaar/puppet-concat
>
> So that is a module that would need to be compiled and installed (on
> the puppetmaster, run by a diffe
Hi,
The issue is probably that the Puppet package is requiring librack-ruby. In
the case of Debian Squeeze this neatly resolves to 1.1.0 and there are no
issues.
Dashboard should be fixed to work with more recent versions of Rack though
as Wheezy ships with 1.4.1 so the issue will be more prom
On Wednesday, August 15, 2012 11:41:34 AM UTC-5, Douglas wrote:
>
> On Wed, Aug 15, 2012 at 7:38 AM, jcbollinger
> >
> wrote:
> > I agree that the problem seems general. Does it not work to put your
> > Apt::Source resources into their own classes, and assign those classes
> to
> > your in
I'm piloting a puppet deployment that may grow to a fair size (~100 nodes,
at least two distinct sites, dev/stage/prod environments). I'm struggling a
bit with settling on a strategy and processes for managing and deploying
puppet code.
As seems to be generally accepted best practice and as req
Hi,
>From the puppet module tool documentation, I note that it is possible to
>specify an alternate repository to install modules from
>(http://docs.puppetlabs.com/puppet/2.7/reference/modules_installing.html#installing-from-another-module-repository).
Other than some unresolved newsgroup quest
On Wednesday, August 15, 2012 11:38:47 AM UTC-5, Nan Liu wrote:
>
>
> Pluginsync distributes all modules lib dir in modulepath to the
> client. It's not based on whether a class in a module is assigned to
> the client. So yes custom facts get shipped to every system in that
> environment.
>
>
Although it doesn't seem to do svn yet (You could extend it), I'm fairly
certain you could accomplish this with librarian-puppet.
It's on github.
Your Puppetfile would be in your main repo which could have
dev/stage/prod branches.
Jason
On 08/16/2012 07:22 AM, Benjamin Priestman wrote:
I'm
On Wednesday, August 15, 2012 4:12:52 AM UTC-5, André Fernandes wrote:
>
> I'm currently running a puppet master-client setup and using facter to
> gather information on the client hosts.
> However, I've run into a problem when trying to get the deployed apache
> version for some of the hosts.
On Wednesday, August 15, 2012 7:54:27 PM UTC-5, jwright wrote:
>
> I was testing parameterized classes using an external node classifier
> running on a 3.0.0rc2 master and found that catalog compilation fails
> if I have a parameterized class that uses defaults if I declare an
> instance of th
On Thursday, August 16, 2012 3:37:23 AM UTC-5, Daniele Sluijters wrote:
>
> Hello,
>
> We've been using Hiera for a while and one of the things I'd like to do is
> use the data we have in the YAML backend and generate our BIND zonefiles
> and DHCPD.conf from it.
>
> Every node has a stanza defi
On Thursday, August 16, 2012 3:26:23 AM UTC-5, Daniele Sluijters wrote:
>
> Hi,
>
> We've ran into the same problem. Our current solution, which we're not
> happy about, is to also have the custom types on the master/production
> environment. Doing that at least the custom types are always avai
May I politely disagree ?
I feel that using subversion branches for the different environments is
defeating the fact that Puppet separates the environments thru the use of the
environment setting.
Does that make any sense to you all ?
“Sometimes I think the surest sign that intelligent lif
Below - didn't mean to toppost last time.
On 08/16/2012 10:46 AM, Dan White wrote:
May I politely disagree ?
I feel that using subversion branches for the different environments
is defeating the fact that Puppet separates the environments thru the
use of the environment setting.
Does that m
Hi experts .
i am runnig foreman 1
puppetmaster 2.7.18
i have setup a test client machine .
on foreman i have configured the new client to be part of the development
environment .
on the client i have setup that it will run the following from site.pp to
debug information .
notify { "environment"
Hi All,
I am using hiera for storing configuration values. I have setup puppet to
use facter following the article from
http://nuknad.com/2011/02/11/self-classifying-puppet-nodes/
I have custom facts
company_role
company_platform
company_location
I have defined the following in hiera.yaml
The idea is that let say I have a Class define as "helperFunctions" where I put
in a bunch of shell script exec resources, along with some file resources as
requirement.
Can I then have other classes' resource to Subscribe and/or Notify to specific
Exec resource within that helperFunction clas
Typo error location=frankfurt is actually location=london.
On Thursday, August 16, 2012 5:25:17 PM UTC+2, linuxbsdfreak wrote:
>
> Hi All,
>
> I am using hiera for storing configuration values. I have setup puppet to
> use facter following the article from
>
> http://nuknad.com/2011/02/11/self-c
Hi all,
I'm developing my own module, and i want to declare same resources in
different class like this :
This resource is used to configure my Jboss server by copying conf files in
/myappbase/applis/conf
class srhjboss::config::applis {
file { "/myappbase/applis/conf":
ensure => directory,
Short version: use a define.
http://docs.puppetlabs.com/guides/language_guide.html#defined-resource-types
But did you mean to have unbalanced quotes here? There's an extra single quote.
file { "/myappbase/applis/conf"':
Regardless of whether you use a define or a class, you can't define the s
Yes I want to fill /myappbase/applis/conf with the content of twice
sources, but in different class.
Le jeudi 16 août 2012 17:41:12 UTC+2, Rost a écrit :
>
> Hi all,
>
> I'm developing my own module, and i want to declare same resources in
> different class like this :
>
> This resource is
On Thu, Aug 16, 2012 at 4:04 AM, Benjamin Priestman
wrote:
> From the puppet module tool documentation, I note that it is possible to
> specify an alternate repository to install modules from
> (http://docs.puppetlabs.com/puppet/2.7/reference/modules_installing.html#installing-from-another-modul
Hi Yaniv,
Do you have the environment defined in puppet.conf on the agent and use
Foreman as an ENC? If so, you're probably seeing
http://projects.puppetlabs.com/issues/3910.
Some users are getting around this bug by adding functionality to the ENC
script that validates the environment defined in
Why do i have to define environment in puppet.conf on the agent . Isnt
defining the host in a group on foreman good enugh ? .in general there
could be a conflict . Btw when i configure env in puppet.conf it does work
like expected but it ignored the setting related to env .in foreman
On Aug 16, 201
Question:
How do I override binary selection in providers? I'd like to use
/opt/jre(someversion)/bin/keytool, not /usr/bin/keytool.
Details (long):
In this nifty thing:
http://forge.puppetlabs.com/puppetlabs/java_ks
The provider uses keytool in the $PATH:
require 'puppet/util/filetype'
Pup
Is this level of namespacing enough?
What happens when a module (mymodule) depends on the "mysql" module but you
chose a mysql module that isn't quite the same as the one mymodule expects?
Thanks
Mark
On Monday, July 2, 2012 11:33:42 PM UTC-4, Ryan Coleman wrote:
>
> On Sun, Jul 1, 2012 at 12:
Hello,
We're pleased to announce the release of the stdlib module at version 3.0.0
[1]. This major release drops compatibility with Puppet 2.6 and preserves
compatibility with Puppet 2.7. The 2.x series will persist for
compatibility and bugfix releases for Puppet 2.6. New features intended to
On Thu, Aug 16, 2012 at 11:05 AM, Mark Roggenkamp
wrote:
> What happens when a module (mymodule) depends on the "mysql" module but you
> chose a mysql module that isn't quite the same as the one mymodule expects?
Your module would depend on a specific mysql module though, right?
mymodule depends
On Thu, Aug 16, 2012 at 6:53 AM, jcbollinger wrote:
> It sounds like you have a broken or incomplete puppet installation.
You are correct, installing hiera fixed it.
Thanks,
Jason
--
"Life was better when sun4m mattered." -Thom
--
You received this message because you are subscribed to the
Yeah, I'm saying you probably have a specific mysql module in mind and it
seems the only way that dependency is specific enough is through the
Modulefile.
In my manifest I'd just say "include mysql". There's no mechanism in the
language itself for deciphering between someuser-mysql and someuse
Yaniv,
I was asking if you happen to have an environment defined on your agent in
puppet.conf. Anyhow, we can handle this over on foreman-users :)
-Sam
On Thu, Aug 16, 2012 at 1:01 PM, Yaniv Fine wrote:
> Why do i have to define environment in puppet.conf on the agent . Isnt
> defining the hos
I can't say enough good about the puppetlabs-firewall module. They've put
a lot of work into it, and it works perfectly.
https://github.com/puppetlabs/puppetlabs-firewall
No need for concat here.
Justin
On Thursday, August 16, 2012 1:01:01 AM UTC-5, Pete wrote:
>
> Hi,
>
> I manage my iptabl
OK, I tried again with the latest MSI
(http://downloads.puppetlabs.com/windows/puppet-2.7.12.msi) and puppet and
facter both work just fine. Very cool!
I should note that I'm running puppet in standalone mode, and not trying to
connect to a master.
On Monday, November 21, 2011 7:31:53 PM UTC-6
I want to use Puppet to manage Groovy and Gradle on Windows machines. The
install process for each looks like:
1. Download zip file from a URL
2. Unzip
3. Create a Windows environment variable to point to the location where you
unzipped
4. Add that environment variable/bin to the global PATH en
Looks like with some testing I answered my own question. :)
As soon as the 'helpFunction' class is included in a node, I can simply notify
the resource there from other classes as well. If I re-define the Exec resource
in other classes I would ended up getting multi-define error.
--KL
From: KE
I have an open issue against it, but otherwise I agree.
http://projects.puppetlabs.com/issues/14413
If I could come up with a workaround for this, I would be a very happy camper.
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has
You would need to manipulate $PATH in the environment before puppet-agent
starts, probably by changing the init script
On Thursday, August 16, 2012 10:05:06 AM UTC-7, Christopher Wood wrote:
>
> Question:
>
> How do I override binary selection in providers? I'd like to use
> /opt/jre(someversio
On Thu, Aug 16, 2012 at 12:44 PM, Jeff Sussna wrote:
> I want to use Puppet to manage Groovy and Gradle on Windows machines. The
> install process for each looks like:
>
> 1. Download zip file from a URL
> 2. Unzip
The nanliu/staging module on the Puppet Forge will at least get you
the first two
Hi Jeff,
The latest stable msi is actually Puppet 2.7.18 -
http://downloads.puppetlabs.com/windows/puppet-2.7.18.msi
It includes many Windows improvements since 2.7.12.
Cheers,
Moses
On Thu, Aug 16, 2012 at 12:34 PM, Jeff Sussna wrote:
> OK, I tried again with the latest MSI
> (http://download
I'm afraid I don't completely agree there. One of the benefits of
environments is that it allows you to completely separate a change for a
module/extension into a separate environment, without needing a separate
master, SSL CA and so forth.
As far as the point to not exposing the production mas
Hi,
We already used stored configs but we can't use it for DHCP and DNS because
those records need to be created before the node actually syncs for the
first time, even before it's installed with an OS to begin with.
I hadn't thought of just separating that information into its own YAML
file,
Thanks for the pointer to nanliu/staging. Though from the forge page it
sounds like it requires a master and hiera. I'm running standalone.
Re env vars, I managed to figure that out. The following resource sets the
global system var FOO_BAR to the current value of PATH, with ";baz"
appended to
I've been working through the git provider within puppetlabs-vcsrepo
and I think I have the problems narrowed down. However I don't
understand the code well enough to fix it.
What works:
Fresh installs of a repo on the client regardless of branch, revision,
master, latest, whatever specified
>
>
> I hadn't thought of just separating that information into its own YAML
> file, that's an interesting solution and one I'll definitely be looking
> into to.
>
> But then, information about one host is kept in multiple files and it
would be my aim to wrap all specific info for one host into
Hi Jeff,
I've recently added support for MSI and executable packages on
Windows[1], which will be out in Puppet 3. That way you can just
download the java exe installer (step 1) and manage it via a `package`
resource, thereby avoiding the zip issue. Obviously, it doesn't help
you out now.
In 2.7.
On Thu, Aug 16, 2012 at 1:18 PM, Eric Sorenson
wrote:
> You would need to manipulate $PATH in the environment before puppet-agent
> starts, probably by changing the init script
>
Or specify the path setting[1]
Josh
[1] http://docs.puppetlabs.com/references/stable/configuration.html#path
>
> On
Thanks! Very helpful. Though I don't follow your discussion of MSI's, since
Groovy/Gradle don't have MSI installers. My understanding is MSI
development is non-trivial.
On Thursday, August 16, 2012 4:19:31 PM UTC-5, Josh Cooper wrote:
>
> Hi Jeff,
>
> I've recently added support for MSI and ex
Grr...it would help if I were paying attention and didn't just assume the
list was sorted in most-recent order :-(.
Since I don't seem to be able to find my way around unchaperoned, are there
release notes for the improvements you mention?
On Thursday, August 16, 2012 3:25:06 PM UTC-5, Moses Me
Jeff,
Just to give you more ideas, and as someone who tends to reinvint wheels,
what I do for this sort of thing on Windows is make custom types and use
Ruby to handle download, unzip, md5, etc. Here's how a couple custom types
I use look in a Puppet manifest:
media_player_msi { 'ensure_ms
Windows support better in newer versions of Puppet. I run 2.7.18 on XP
nodes with no issues. It's not officially supported though.
hth,
Adam
On Monday, November 21, 2011 2:50:37 PM UTC-6, Jeff Sussna wrote:
>
> Trying to get Puppet 2.7.6/Facter 1.6.2 running on Windows XP SP3.
> Followed the in
Hi James, there's a couple of related bugs on this that would be great to
have help tracking down.
- Bug #10418 seemed to implicate kernel version but I think you're outside
the early Centos/RHEL5.x affected list -- what does 'uname -a' show on your
systems?
- Recent activity on #10418 seems (c
Hey Jeff,
You can check out the release notes here:
http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes .
They're not split out by platform but rather Puppet version. Some of
the Windows improvements I was thinking of, particularly around the
package provider, are actually in the 2.7
Hi Daniele,
Thanks a lot for the info, I'll follow the bug and give your workaround a
go.
Cheers,
Sam
On Thursday, 16 August 2012 23:09:20 UTC+10, Daniele Sluijters wrote:
>
> Hi,
>
> The issue is probably that the Puppet package is requiring librack-ruby.
> In the case of Debian Squeeze thi
Hi,
Can't see anything that stands out in the quick glance, but here's how you
can dig further:
Use --debug on your puppet run and you'll get an output of what hiera is
going through. Second, use notify to print out the variables you are trying
to access, making sure they match with what hiera is
OK so I tried the debian package way but that got too hard with package
conflicts.
There is librack-ruby which seems to be the same as ruby-rack but not sure,
ruby-rack depends on passenger so I don't want to go down that path.
So next step was to try via installing the gem, I did:
gem instal
Hi,
The link doesn't work for me but I see some posts from Ryan about hosting
local forges. I'll focus on the ticket for that.
My question was more: "if there is no current support for local forges,
what is the --module_repository switch for?". Can you point it at something
less than a fully
So, this has always puzzled me a bit. By convention, init.pp contains
one class, named the same as the module. However, what is the
convention when the module may have multiple external access points?
Say you have a module called 'syslog' which provides both a client and
a server class. I typically
That's been my feeling as well. I want to make sure that the same code goes
through each environment. While performing the same merge on different
branches should give that result, it's still performing two different
actions which - especially with svn in the mix - may give different results.
On 8/16/12 10:44 PM, Douglas Garstang wrote:
> So, this has always puzzled me a bit. By convention, init.pp contains
> one class, named the same as the module. However, what is the
> convention when the module may have multiple external access points?
> Say you have a module called 'syslog' which p
66 matches
Mail list logo