Thanks for the pointer, Gary.
It seems to address the issue of missing providers, even better than my
suggestion.
However, I'm not sure if/how it addresses other situations, e.g.:
1. Provider exists but has to be updated.
2. Puppet version update.
3. Configuration files - missing or have to be
You can use apt pinning in /etc/apt/preferences. Deploy a different
version of that file on different hosts and you should be good :)
On Thu, Mar 22, 2012 at 23:45, Kai Weber kai.we...@glorybox.de wrote:
Hi,
I use a module (for Varnish in this case) which has the typical install,
service,
Hi,
Can anybody here tell me what msi packages can be used with windows
puppet?
Can I somehow create msi packages for puppet on my own?
Do I have to install some more gems to get puppet work with msi
installation?
Thx :-)
--
You received this message because you are subscribed to the Google
On 03/23/2012 08:24 AM, Jay Ze wrote:
Hi,
Can anybody here tell me what msi packages can be used with windows
puppet?
Can I somehow create msi packages for puppet on my own?
Yes, have a look here:
https://github.com/puppetlabs/puppet_for_the_win
You need a Windows box and
Hi Amos,
One of the least hacky ways I've found around the chicken and egg
scenario is to use Custom facts to determine what state Agent is in and
then use or don't use your providers accordingly. For example I have a
fact for determining if ruby-libvirt is installed and Puppet has set up
Hi,
Have you looked at the 'file_line' type in Puppet's stdlib?
https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/type
/file_line.rb
What's Puppet's stdlib? Is it something bundled inside? Are there any other
types available?
I can't see the file_line type in the
Hi,
Is it correct that it's not possible to excecute Windows Commands
directly with the puppet run?
For example:
exec { 'ExecCreatedFolder':
command = mkdir C:\PuppetOrdner\ExecCreatedFolder,
}
I allways have to bind it with a .bat file right?
file {
On Thu, Mar 22, 2012 at 23:48, Gary Larizza g...@puppetlabs.com wrote:
On Thursday, March 22, 2012 at 6:23 AM, John Kennedy wrote:
On Thu, Mar 22, 2012 at 13:02, jcbollinger john.bollin...@stjude.orgwrote:
- NOTE: I am adding and removing the #includedir line for testing...
What
Dear all,
This is a continuation of another thread, but I think the question diverged
enough to create a new one.
I have a hiera hierarchy like this:
:hierarchy:
- %{fqdn}
- %{secundary_group}
- %{primary_group}
- %{productname}
- all
And I need to define the secondary/primary groups as
Hi Pablo,
The Ruby part of Facts is a little daunting at first but not too
difficult, here's an example with some added comments:
#This custom fact simple tests if a file exists and sets the fact true
#or false.
#simple conditional logic to decide whether this Fact gets set or not
if
Hi John
I can see where 'file_line' will add a line but I don't know enough ruby
to know, will it remove a line that does exist?
'ensurable' sounds like it can manage both 'ensure = present' and 'ensure
= absent'. And sure enough, if you look into the provider:
Hi Jay,
exec { 'ExecCreatedFolder':
command = mkdir C:\PuppetOrdner\ExecCreatedFolder,
}
mkdir is a command implemented by the windows command processor cmd.exe,
not a callable program.
http://docs.puppetlabs.com/references/stable/type.html#exec states that the
Windows
On 23 Mrz., 12:16, Paul Tötterman paul.totter...@gmail.com wrote:
Hi Jay,
exec { 'ExecCreatedFolder':
command = mkdir C:\PuppetOrdner\ExecCreatedFolder,
}
mkdir is a command implemented by the windows command processor cmd.exe,
not a callable
On Fri, Mar 23, 2012 at 11:10, Paul Tötterman paul.totter...@gmail.comwrote:
Hi John
I can see where 'file_line' will add a line but I don't know enough ruby
to know, will it remove a line that does exist?
'ensurable' sounds like it can manage both 'ensure = present' and 'ensure
=
Hi,
Thanks for the code. My problem is a bit more complex than that... I want to
define something within puppet, that gets converted into a fact, and is loaded
before puppet. It's a bit chicken-egg problem:
- I need the fact to be able to select within the hiera hierarchy.
- I want to set up
On Mar 22, 10:15 am, Andreas Paul xorp...@googlemail.com wrote:
Is there a way to look up which nodes share that specific module or class?
No.
# manifests/nodes.pp
node 'serverA', 'serverB' {
include puppet-tomcat::tomcatA
}
I need to access variables from both servers. E.g.
Thanks, guys!
Here's the relevant snippet from my manifest:
@common::mkuser {
'root':
uid= 0,
comment= 'root',
home = '/root',
password = hiera('rootPassword'),
managehome = false;
And here's what it looks like when I run from command-line:
One (hopefully) last question...How do I take the file_line.rb file and
put it so puppet recognises it? Do I do that with a define or can I just
take the file and place it somewhere for it to work?
Read about modules ( http://docs.puppetlabs.com/guides/modules.html ) and
use the
Ok, I would say to try hiera-puppet then. I was going to quote you a
list post but you're actually the OP so maybe you've already tried and
it hasn't worked so well. I don't use it myself so this is all
theoretical, but could you not do something like this:
class module::data {
if
Can you single quote the value in your YAML file and then try again? Does
that work?
On Friday, March 23, 2012, Guy Matz gm...@matz.org wrote:
Thanks, guys!
Here's the relevant snippet from my manifest:
@common::mkuser {
'root':
uid= 0,
comment= 'root',
Ugh, this was selinux if anyone else runs into the same problem. Creating
a module with audit2allow fixed it.
On Monday, March 19, 2012 3:15:06 PM UTC-4, Mark Leary wrote:
I'm trying to setup dashboard as a node classifier w/puppet 2.6.14.
Not sure why this is not working...
In
On Fri, Mar 23, 2012 at 4:33 AM, Jay Ze iltisannihila...@googlemail.comwrote:
On 23 Mrz., 12:16, Paul Tötterman paul.totter...@gmail.com wrote:
Hi Jay,
exec { 'ExecCreatedFolder':
command = mkdir C:\PuppetOrdner\ExecCreatedFolder,
}
mkdir is a command implemented by the
Hi,
I know there is a way to have global options using things like:
site.pp:
File {
owner = root,
group = root,
mode = 0644,
}
--
Is there a way to have something like:
File[/etc/daemon/config.d/*] {
notify = Class[daemon::service],
}
??
I would like to have the same notify
Hi Nan and thanks for your reply,
Hiera in Defined Resource Types:
It's using the calling class and calling module to calculate the
places it looks for its data. For defines though this is not the path
where the define itself was defined (e.g. tmp::register) but the name
it was given when it
Can you print out what the contents of the common::mkuser defined resource
type is?
On Fri, Mar 23, 2012 at 7:40 AM, Guy Matz gm...@matz.org wrote:
No, that didn't do it . . . :-(What I have works on my test server,
but not my prod server . . . Thanks again.
On Fri, Mar 23, 2012 at
Hi,
Has there been any updates for this problem? I have a new installation of
Puppet 2.7 on RHEL 6.1 and 6.2 and I am experiencing the same problem with
listen=true using Dashboard and puppet kick. The kernels that I have
installed are: 2.6.32-220.el6.x86_64, 2.6.32-220.7.1.el6.x86_64.
Thanks
When I run this command::
rake RAILS_ENV=production db:migrate
I get this error:
Could not find rack (~ 1.1.0) amongst [actionmailer-3.2.2,
actionpack-3.2.2, activemodel-3.2.2, activerecord-3.2.2,
activeresource-3.2.2, activesupport-3.2.2, arel-3.0.2, builder-3.0.0,
bundler-1.1.2,
Gary, thanks for the help, but my puppet master is a frankenstein of (long
explanation) and I think I need to simply reinstall everything . . .
thanks for the help!
Regards
On Fri, Mar 23, 2012 at 1:00 PM, Gary Larizza g...@puppetlabs.com wrote:
Can you print out what the contents of the
Hi guys
I've asked around on the IRC on the channel to no avail, partly cause
of difficulty collating all the information required, so hopefully I
can do a better job here.
At a very high level the crux of my question is thus:
http://analytical-labs.com/cycles.png
When I add the require
I've installed many puppet nodes in the last couple of weeks, all
nearly identical as the install is fully automated.
Just one node gives me this error:
Could not retrieve catalog from remote server: SSL_connect returned=1
errno=0 state=SSLv3
read server session ticket A: sslv3 alert certificate
Hi Matt,
No, not like that.
You can group all these files under a module for that service and inside the
class for configuring those files create a default.
class blah::service {
service {'blah': .}
}
class blah::files {
File {
notify = Service['blah']
}
file
31 matches
Mail list logo