"notify => Class["mysoftware::service"]" should work without any
problem. Did you remember to include it beforehand?
include mysoftware::service
"notify => Exec['mysoftwarerestart']" should work too. Cheers!!
On Apr 12, 11:39 pm, Trevor Smith wrote:
> On Thursday, April 12, 2012 4:07:40
class depacks(
$packages = "$params::packages"
) inherits params {
package{ $packages:
Putting quotes around $params::packages is making $packages a string
rather than an array. Remove the quotes and it should work
Regards
Craig
--
Craig Dunn | http://www.craigdunn.org
Yahoo/Skype
Hi,
I am a new user of puppet. We want every user of our group to manage
software in his/her machines. How can puppet support this? Thank you.
BR/Peng Yong
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to pu
Hello list.
I'd like to implement a basic 'onlyif' property, as existing in 'exec'
type, to 'service' type. Rather than patching the original puppet code,
I think I could use the custom type mechanism, and implement my own
'conditional_service' type. However, in order to keep the benefit of
e
I just want to sanity check this before reinventing the wheel or more
importantly doing something outside the "norm" which may come back to
bite me on another puppet version release.
Current versions - master 2.7.12, client 2.7.13.
It appears that although puppet environments allows for environme
BTW, the exact intent is to allow to test the configuration file syntax
before reloading a service, and avoid reloading it with an invalid
state. Something as:
file { "/etc/openldap/slapd.conf":
content => template("slapd.conf.erb"),
notify => Service["slapd"]
}
service { "slapd":
ensure => "r
On Wed, Apr 11, 2012 at 1:20 PM, Peter Berghold wrote:
> Kaya,
>
> Did you clean out:
>
> /var/lib/puppet
> /etc/puppet/ssl
>
>
> before you re-ran?
>
>
> The error you are seeing indicates there is a mismatch between hostname is
> associated with the server's certificate and what notion the clien
I'm not entirely sure but I don't think you can do that with single
server - Puppet is actually for that. Someone please correct me if I'm
wrong. But, as Puppet can maintain itself, all your users can use
their machine as puppet-master and puppet-agent at the same time and
can do whatever they want
Le 13/04/2012 12:07, Craig Dunn a écrit :
To fail the resource if slaptest fails...
service { "slapd":
ensure => "running",
start => "/usr/sbin/slaptest && service slapd start",
}
To continue silently but not start slapd
service { "slapd":
ensure => "running",
start => "( /usr/sbin/slaptes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri 13 Apr 2012 12:01:13 BST, Sans wrote:
> I'm not entirely sure but I don't think you can do that with single
> server - Puppet is actually for that. Someone please correct me if I'm
> wrong. But, as Puppet can maintain itself, all your users can
On 12-04-12 02:10 AM, Gabriel Filion wrote:
> Do you guys know if it would be possible to implement a way to "hook" my
> extraneous logic into the define so that I don't need to modify the
> module directly anymore?
oh, I think I've just found something that does pretty much exactly this:
https:/
Hi,
I just wrote a new module and noticed the the file transfer under
solaris is extremely slow. The file is just about 50mbyte and it
transfers ok under Linux but not under Solaris. The Solaris box is
really old (Ulta10) and is running puppet 2.7.9.
Is this a limitation of the puppet client unde
Hello,
Trying to be a good boy and put rdoc headers in my classes.
I am trying to put some scoped variables into the output i.e.
# [*myclass::params::server*]
# This is derived from the myclass::params class which returns the
server to configure
#
# [*myclass::params::venafiport*]
# This is
On Apr 13, 4:07 am, Craig Dunn wrote:
> > class depacks(
> > $packages = "$params::packages"
> > ) inherits params {
>
> > package{ $packages:
>
> Putting quotes around $params::packages is making $packages a string
> rather than an array. Remove the quotes and it should work
>
Thanks for
There was a bug in SLES 11.1 similar to this one where puppet agent in
daemon mode would hang. Our solution was to update to a newer
package.
On Mon, Apr 9, 2012 at 5:03 PM, scot spinner wrote:
> I'm having a very similar issue. Did anyone figure out a solution to
> this?
>
> On Mar 20, 10:15 a
Hi, I have this definiton for keepalived. And i need to feed the template
this array that i will loop trough.
site.pp definition snippet:
> keepalived::vrrp_virtual_server {
real_servers = { realserver1 => { ip => '192.168.33.10',
>
Works like a charm now:
include mysoftware::service
and
notify => Class["mysoftware::service"],
Thanks!
2012/4/13 Sans
> "notify => Class["mysoftware::service"]" should work without any
> problem. Did you remember to include it beforehand?
>
>include mysoftware::service
>
>
> "notify => E
I followed your steps. now i am getting below error
Apr 13 17:42:44 pil-vm-pup-01 puppet-master[7899]: Could not find class
dev_jboss_jeeva for vm-jeeva2.aircell.prod at
/etc/puppet/manifests/nodes/jeeva_base.pp:2 on node vm-jeeva2.aircell.prod
Apr 13 17:42:44 pil-vm-pup-01 puppet-master[7899]: Co
For the next major Puppet version, code-named Telly, we have some
changes coming. This is the first in a series of emails around these
changes and may require some input from the community.
For Telly, the nagios types will be moved into a module. This allows
them to be iterated on in isolation f
By 2.7.13+ of course Mike means 2.7.14 and later (because 2.7.13 was a
security release). Look for an rc of 2.7.14 later today with the
module face included.
-Matthaus
On Fri, Apr 13, 2012 at 10:55 AM, Michael Stahnke
wrote:
> For the next major Puppet version, code-named Telly, we have some
> c
what's in your resolv.conf?
On Fri, Apr 13, 2012 at 6:59 AM, Kaya Saman wrote:
> On Wed, Apr 11, 2012 at 1:20 PM, Peter Berghold
> wrote:
> > Kaya,
> >
> > Did you clean out:
> >
> > /var/lib/puppet
> > /etc/puppet/ssl
> >
> >
> > before you re-ran?
> >
> >
> > The error you are seeing indica
Facter 1.6.8rc1 is a maintenance release candidate with bug fixes and
improvements.
It includes contributions from the following people: Stefan Schulte, Ken
Barber.
This release is available for download at:
http://downloads.puppetlabs.com/facter/facter-1.6.8rc1.tar.gz
See the Verifying Puppet
Disclaimer: I'm a newbie... I've only been using Puppet for a few
days.
My agent has been running fine for a few days but now when I perform:
puppet agent --no-daemonize --verbose --onetime
I get the following message:
notice: Skipping run of Puppet configuration client; administratively
disabled
I'm in the process of scalling my puppet master to two server with a
separate CA. My plan was to establish a new CA and reissue
certificates. Part way through the process I noticed a behavior that
seems a bit alarming.
With one of my clients pointing to the new CA and new Puppetmaster but with
This is a bug in the error message (
http://projects.puppetlabs.com/issues/13299). The correct command is
'puppet agent --enable'.
--
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
Puppet Labs is happy to announce full support for Ruby 1.9.3 will be part of
the next major release of Puppet, codenamed Telly. Ruby 1.8.7 and 1.9.3 are
considered the primary supported Ruby versions, on all platforms including
Unix, Linux, Windows, and MacOS-X. Ruby 1.8.5 is also supported, on t
That worked, thanks!
On Apr 13, 2:54 pm, Patrick Carlisle wrote:
> This is a bug in the error message
> (http://projects.puppetlabs.com/issues/13299). The correct command is
> 'puppet agent --enable'.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users"
I think that would be OK. I'm actually fairly nervous about this new move
towards dragging
more and more out of the core into modules. It wouldn't be so bad if
Puppet had a proper
"packaging system" that handled dependencies and so forth, but as it stands
I'm just worried
about reaching a situati
Have you tried other transfers over SSH or similar? I'm guessing this isn't
limited to puppet?
Check the interface settings and make sure the (default) auto-negotiation
worked with your switch... Sun boxes of that age (particularly with hme and
le cards) were notoriously bad in negotiating full du
On 23.3.2012 02:41, Lars Francke wrote:
> 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 giv
Am I missing soemthing or is one of your two array declarations using
a '=' and the other an '=>' ? Seems simple to me if this is a real
quote of your actual code..
On Fri, Apr 13, 2012 at 23:17, Rocky wrote:
> Hi, I have this definiton for keepalived. And i need to feed the template
> this array
31 matches
Mail list logo