On Wed, Nov 16, 2011 at 6:30 AM, Jo Rhett wrote:
> On Nov 9, 2011, at 5:47 AM, Ohad Levy wrote:
>
> Ruby 1.87 support
> Foreman 0.4 would be the last major version supporting Ruby older then 1.87.
> This has to be done since the upstream rails community no longer
> supports older versions, which m
Hi,
I have a module to manage /etc/hosts that works fine for RHEL, but not on
Solaris. Basically I've defined all our hosts as virtual host resources,
and grouped them various ways by tagging them. These are then realized
based on the tags for each node as appropriate. Hosts can have multiple
t
Hello!
Imagine I have some service which config is split into several config
files.
How should I configure puppet to manage those files so that:
1) service is restarted only once after all configs were synced
2) if some error occurs during update (network error, disk full, any
other) I want to be
Dmitry wrote:
> Or, if this situation is too uncommon, is there any way to ask puppet
> agent to always act as if master is running on remote host, even if it
> runs on the same host and to always communicate via network?
>
> Thanks.
>
> On Nov 15, 7:13 pm, Dmitry wrote:
>> Hello!
>>
>> I use pu
Jo Rhett wrote:
> James, I love the idea of this module but the wiki page you listed below
> is fairly broken. The syntax under anchor certainly wouldn't parse, and
> I'm staring at it and I'm not even sure what some of it is intending to
> say...
Jo
The syntax does parse from what I can see and
On Tue, Nov 15, 2011 at 11:30 PM, Jo Rhett wrote:
> On Nov 9, 2011, at 5:47 AM, Ohad Levy wrote:
>
> Ruby 1.87 support
> Foreman 0.4 would be the last major version supporting Ruby older then
> 1.87.
> This has to be done since the upstream rails community no longer
> supports older versions, whi
Not supported, but Karanbir Singh has made available 1.8.7 RPMs:
http://centos.karan.org/el5/ruby187/
-Eric
--
Eric Shamow
Professional Services
http://puppetlabs.com/
(c)631.871.6441
On Tuesday, November 15, 2011 at 8:30 PM, Jo Rhett wrote:
> On Nov 9, 2011, at 5:47 AM, Ohad Levy wrote:
>
On Nov 9, 2011, at 5:47 AM, Ohad Levy wrote:
> Ruby 1.87 support
> Foreman 0.4 would be the last major version supporting Ruby older then 1.87.
> This has to be done since the upstream rails community no longer
> supports older versions, which means that critical security patches
> are no longer av
I'm trying to get puppet to manage my lighttpd install, but I use vhosts.
The line I'd normally use is something like this:
$HTTP["host"] =~ "site\.example\.tld" {
server.document-root= "/var/www/site.example.tld"
accesslog.filename = "/var/log/lighttpd/
s
Hmm, I see. We went another avenue. We create all users on all systems
and then let another instance decide which users to let log in to
which machine. RADIUS servers or Kerberos servers are capable of this.
But depending on the surroundings this might be overkill.
So I agree that for you the spac
Hi Len,
On Thu, Nov 10, 2011 at 11:27 AM, Len Rugen wrote:
> It seems like I have two sets of similar symptoms. I have another set of
> servers where puppetd -tv runs fine, but the daemon will never finish a
> catalog run. Again, puppetdlock lingers.
>
> I think the first problem may track to
+1 for tangled strings
On 16 November 2011 04:03, Ken Barber wrote:
> Depends on why you want this info ... but its available in the catalog
> on the box for 'grepping' (more or less).
>
> Something I recommend to some people:
>
> http://www.tenshu.net/2010/08/adventures-in-puppet-tangled-string
Are you running the latest centos or redhat-based kernel? If so, 274.7.1 is
corked. Backgrade from 274.7.1 to 274.3.1 and the problem will disappear. This
is documented in
https://projects.puppetlabs.com/issues/10418
And RedHat bug
https://bugzilla.redhat.com/show_bug.cgi?id=751214
On Nov
James, I love the idea of this module but the wiki page you listed below is
fairly broken. The syntax under anchor certainly wouldn't parse, and I'm
staring at it and I'm not even sure what some of it is intending to say...
On Nov 8, 2011, at 2:39 PM, James Turnbull wrote:
> We're pleased to an
On Tue, Nov 15, 2011 at 01:42:24PM -0800, Justin Lloyd wrote:
>I tried the following (names changed to protect the innocent and guilty):
>
>class myclass ( $param ) {
>
>��� $myvar = [ "foo", "bar" ]
>
>��� if $param == "special" {
>��� $myvar += [ "blah" ]
>��� }
>
I tried the following (names changed to protect the innocent and guilty):
class myclass ( $param ) {
$myvar = [ "foo", "bar" ]
if $param == "special" {
$myvar += [ "blah" ]
}
}
and got the message "...Cannot append, variable myvar is defined in this
scope...". According to
(Without jumping too hard in the middle of your conversation... inline.)
On Tue, Nov 15, 2011 at 11:30:40AM -0800, Jo Rhett wrote:
>On Nov 5, 2011, at 9:42 AM, Nigel Kersten wrote:
>
> On Thu, Nov 3, 2011 at 12:41 PM, Jo Rhett <[1]jrh...@netconsonance.com>
> wrote:
>
>Nigel
On Nov 5, 2011, at 9:42 AM, Nigel Kersten wrote:
> On Thu, Nov 3, 2011 at 12:41 PM, Jo Rhett wrote:
> Nigel, As you've said, the time chosen for the run cycle will be consistent.
> All of these settings are already set -- this isn't a question of how to
> change how often to run, it's how to af
On Nov 15, 12:27 pm, Stephan wrote:
> Hi Justin,
>
> > So I'd like to avoid having to type the user titles in the call to
> > users::create. Is there a way to do this using the 'User <| group ==
> > 'ssh' |>' syntax to select what I want?
>
> Unfortunately the spaceship operator can't contain an
On Nov 15, 7:07 am, Falkor wrote:
> Hi everybody.
>
> i'm running Puppet 2.6.2 and I have the following problem.
>
> Assuming I have a definition toto::tutu instanced as follows:
>
> --%< ---
> define toto::tutu ($key = 'default_val') { ... }
>
> toto::tutu { 'exa
On Nov 15, 4:22 am, Sunny wrote:
> Hello,
>
> I am using accounts::user for managing user accounts on my
> infrastructure.
> I know that we can set passwords in manifests for the users we are
> managing.
>
> I would like to know if there is way that a user which does not have
> access to the pup
Hi Sunny,
might go into a totally different direction than what you actually
anticipated, but you could use something else to do your
authentication, like Kerberos (e.g. AD) or RADIUS (e.g. Cisco ACS).
Probably not much more difficult to get a properly secure LDAP server
in place which contains th
Hi Justin,
> So I'd like to avoid having to type the user titles in the call to
> users::create. Is there a way to do this using the 'User <| group ==
> 'ssh' |>' syntax to select what I want?
Unfortunately the spaceship operator can't contain anything other than
== and !=, and doesn't accept an
On 15 November 2011 16:57, Jacob Helwig wrote:
> On 2011-11-15 07:24 , Tom Hall wrote:
> > Hi,
> >
> > Can you round in variable assignment expressions?
> >
> > I would like to be able to set
> >
> > $my_var = floor(::processorcount * 0.8)
> >
> > Cheers,
> > Tom
> >
>
> That should work just fin
Depends on why you want this info ... but its available in the catalog
on the box for 'grepping' (more or less).
Something I recommend to some people:
http://www.tenshu.net/2010/08/adventures-in-puppet-tangled-strings.html
Which does more or less that ... but shows a banner in VIM for users
to w
Hello,
I have setup scripts / modules that allow adding ssh users courtesy of
the Puppet Wiki. I have defined my users in a central file called
'sshusers.pp' and am importing that file into my 'nodes.pp' file. One
question am I trying to resolve is how to add multiple users without
having to specif
On 2011-11-15 07:24 , Tom Hall wrote:
> Hi,
>
> Can you round in variable assignment expressions?
>
> I would like to be able to set
>
> $my_var = floor(::processorcount * 0.8)
>
> Cheers,
> Tom
>
That should work just fine as long as you define an rvalue function
called 'floor'. There shoul
I'm using the puppet-ls script for this purpose.
https://github.com/deanwilson/puppet-scripts/blob/master/puppet-ls
vince
On Tue, Nov 15, 2011 at 9:22 AM, Nigel Kersten wrote:
> On Tue, Nov 15, 2011 at 8:14 AM, Nan Liu wrote:
>> On Tue, Nov 15, 2011 at 5:38 AM, chaica wrote:
>>> I'm looking f
On Tue, Nov 15, 2011 at 8:14 AM, Nan Liu wrote:
> On Tue, Nov 15, 2011 at 5:38 AM, chaica wrote:
>> I'm looking for a simple way to check if a file on a client (where
>> puppetd is running) is managed by puppet. At this time, I have to put
>> a comment on the file and have to run a puppetd -to --
On Tue, Nov 15, 2011 at 03:49:57PM +0100, Arnau Bria wrote:
> Hi all,
>
> Seems that ensure => absent is not working on puppet 2.6.12
> yumrepo type.
>
> 'sl-5.5-base' :
> baseurl => 'http://reposerver/computing-SL-55-base-x86_64/RPMS.base/',
> descr => 'SL 5.5 base',
> en
On Tue, Nov 15, 2011 at 5:38 AM, chaica wrote:
> I'm looking for a simple way to check if a file on a client (where
> puppetd is running) is managed by puppet. At this time, I have to put
> a comment on the file and have to run a puppetd -to --noop in order to
> see if puppet triggers actions on t
On Tue, 15 Nov 2011 10:06:43 -0500
Nan Liu wrote:
[...]
> A quick glance at the type shows you need to set 1 or 0, absent means
> the property should not exist rather than puppet should configure the
> value to 0.
Ok. I understood that absent removes the file. My fault.
any way for removing the
R.I.Pienaar a écrit :
I wrote https://github.com/ripienaar/puppet-parselocalconfig some time
ago that can do this on the node - I am not sure if it still works with
latest puppet version but worth a try
We are using a modified version of this script and it is mandatory for us.
I do not know
- Original Message -
> Hi,
>
> I'm looking for a simple way to check if a file on a client (where
> puppetd is running) is managed by puppet. At this time, I have to put
> a comment on the file and have to run a puppetd -to --noop in order
> to
> see if puppet triggers actions on this fi
FYI,
We ended up going with a mix of the two suggestions: having 'bg'
specified as one of the mount point options,
and also having the mount resource specify => present instead of =>
mounted, and then we use an exec to force
the remount, constrained by an unless and onlyif:
exec { "re
FYI,
We ended up going with a mix of the two suggestions: having 'bg'
specified as one of the mount point options,
and also having the mount resource specify => present instead of =>
mounted, and then we use an exec to force
the remount, constrained by an unless and onlyif:
exec { "re
Hi,
Can you round in variable assignment expressions?
I would like to be able to set
$my_var = floor(::processorcount * 0.8)
Cheers,
Tom
--
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@google
Hi everybody.
i'm running Puppet 2.6.2 and I have the following problem.
Assuming I have a definition toto::tutu instanced as follows:
--%< ---
define toto::tutu ($key = 'default_val') { ... }
toto::tutu { 'example1': key => 'val1' }
toto::tutu { 'example2': key
Hello,
I am using accounts::user for managing user accounts on my
infrastructure.
I know that we can set passwords in manifests for the users we are
managing.
I would like to know if there is way that a user which does not have
access to the puppet master, but has access to the puppet clients, ca
Hi,
I'm looking for a simple way to check if a file on a client (where
puppetd is running) is managed by puppet. At this time, I have to put
a comment on the file and have to run a puppetd -to --noop in order to
see if puppet triggers actions on this file. Is there any way to
simply find if a file
On Tue, Nov 15, 2011 at 9:53 AM, Arnau Bria wrote:
> Sorry,
>
> forgot to mention that if we set 0 instead of absent, the parameter
> works:
>
> notice:
> /Stage[pre]/Common::Os::Release5::Sl55::Repos/Yumrepo[sl-5.5-base]/enabled:
> enabled changed '' to '0'
A quick glance at the type shows you
Sorry,
forgot to mention that if we set 0 instead of absent, the parameter
works:
notice:
/Stage[pre]/Common::Os::Release5::Sl55::Repos/Yumrepo[sl-5.5-base]/enabled:
enabled changed '' to '0'
Cheers,
Arnau
--
You received this message because you are subscribed to the Google Groups
"Puppet
Hi all,
Seems that ensure => absent is not working on puppet 2.6.12
yumrepo type.
'sl-5.5-base' :
baseurl => 'http://reposerver/computing-SL-55-base-x86_64/RPMS.base/',
descr => 'SL 5.5 base',
enabled => absent,
exclude => 'yum-conf* c-ares';
# ls -lsa /etc/yum.re
On Tue, Nov 15, 2011 at 8:16 AM, Ohad Levy wrote:
> On Fri, Nov 11, 2011 at 11:36 AM, Daniel Shaw wrote:
>> Hi,
>>
>> I have dabbled with Puppet in previous positions, had success and
>> loved it. My current employer does not have in place any systems
>> management tools and is an ideal candidate
On 11-11-11 12:56 PM, Peter Meier wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've been using hiera for a few weeks now, but I'm stuck now trying
to set a value to false
Basically, I have a class that read its parameter in hiera, and in
a yaml file I have the following code:
--- use_
On Nov 14, 10:28 am, tmpup wrote:
> What you alluded to in your final paragraph is exactly right - I'm
> basically trying to extend the file type. I'd like for a source to be
> S3, and be able to specify it much like you specify the source being
> the puppet file server (e.g puppet:/// would be
On Fri, Nov 11, 2011 at 11:36 AM, Daniel Shaw wrote:
> Hi,
>
> I have dabbled with Puppet in previous positions, had success and
> loved it. My current employer does not have in place any systems
> management tools and is an ideal candidate for another Puppet
> installation. I obviously need to ru
Hi all,
here is what I have:
A module that is responsible to roll out and configure TSM (a backup
tool). Basically I need a text file that mentions all directories that
have to be backed up. I want to make it a virtual resource and let
other modules configure which parts of it have to be backed u
Hi there,
I think that the customer case studies make excellent propaganda material:
http://puppetlabs.com/customers/case-studies/
Take a look at them, but maybe puppetlabs employees have some powerpoint
presentations you need and are willing to share. :)
--
You received this message because y
49 matches
Mail list logo