Jeff,
thank you for your answer. But my question was not about exec. The
question was how to set the path for every "system" command puppet is
executing ;-)
It seems to be that on Nexenta the path is not set the right way. The
path in /etc/profile is fine, but this might be not recognized
Felix,
If you run puppetd from /etc/init.d, you may want to tweak its
environment right in its init Script.
Nexenta is using SMF like Solaris, not init.d like Linux.
In any case, be sure to create a suitable environment. Puppet cannot
do
that for you (afaik).
Yes that is right. And my qu
On 09/23/2010 09:37 AM, qutic development wrote:
> Felix,
>
>> If you run puppetd from /etc/init.d, you may want to tweak its
>> environment right in its init Script.
>
> Nexenta is using SMF like Solaris, not init.d like Linux.
Uhm, my bad. My knowledge on Solaris is obviously limited; you may wa
Nexenta is using SMF like Solaris, not init.d like Linux.
Uhm, my bad. My knowledge on Solaris is obviously limited; you may
want
to ask the Solaris folks how to do what you need to do.
Yes of course I will. It would make it easier to explain if I knew how
puppet is executing system call
On Wed, Sep 22, 2010 at 5:55 PM, Luc Suryo wrote:
> Hello
>
> it is possible to define something like this?
>
> exec { "openvpn_reload" :
> command => "/etc/init.d/openvpn reload",
> user => root,
> require => [ File[ "openvpn_client.conf"] OR File
> ["openvpn_server"]
I've switched to using nginx+unicorn, and haven't had any issues. The
only hassle for me is that I'm running it under Ubuntu, and unicorn
isn't (yet) packaged by Debian/Ubuntu, so I had to install it via gems
and don't have the advantage of automated updates.
On Thu, 23 Sep 2010 07:40:21 -0700 (P
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Has anybody else been faced with this problem, and if so, how did you
> resolve it?
use Spacewalk for patch management. At least at your scale this makes
sense. It makes manual repository management a lot easier.
cheers pete
-BEGIN PGP SIGNATUR
I end up doing to different 'file' definition and remove the 'require file '
part of the service and using exec instead.. tested and works
On Wed, Sep 22, 2010 at 9:48 PM, Jeff McCune wrote:
> On Wed, Sep 22, 2010 at 6:40 PM, Luc Suryo wrote:
> > yes I just did that., and yes I do know that op
well here is the situation
we have system that are vpn client and soem are vpn server however! we have
2 that are both!
what i want todo is taht IS there is a new client of server configuration
(openvpn_client.conf or openvpn_server.conf) and teh new file is pushed I
need the service tobe restar
On 09/23/2010 05:13 PM, Luc Suryo wrote:
> well here is the situation
>
> we have system that are vpn client and soem are vpn server however! we have
> 2 that are both!
>
> what i want todo is taht IS there is a new client of server configuration
> (openvpn_client.conf or openvpn_server.conf) and
Then would the service be define as this?
service { "openvpn::base" :
name=> "openvpn",
ensure => running,
subscribe => [ File["openvpn_client.conf],
File["openvpn_server,conf]]
}
so it a server includes the openvpn class it could have the client, or the
On Thu, Sep 23, 2010 at 8:43 AM, Luc Suryo wrote:
> Then would the service be define as this?
>
> service { "openvpn::base" :
> name=> "openvpn",
> ensure => running,
> subscribe => [ File["openvpn_client.conf],
> File["openvpn_server,conf]]
> }
>
> so it
sorry forget to mention that is what i done :)
thank much for your time!
On Thu, Sep 23, 2010 at 8:47 AM, Nigel Kersten wrote:
> On Thu, Sep 23, 2010 at 8:43 AM, Luc Suryo wrote:
> > Then would the service be define as this?
> >
> > service { "openvpn::base" :
> > name=> "openvpn
Hello All,
I am pretty new to puppet and struggle with the syntax any help with
this problem means a lot... I am trying to install an RPM on a RHEL
system via puppet on the command line it works great. Here is the
section of code.
# Push out the rpms used
file {
On 29 June, 19:44, Dan Urist wrote:
> I have this in my puppet.conf:
>
> [puppetmasterd]
> ssl_client_header = SSL_CLIENT_S_DN
> ssl_client_verify_header = SSL_CLIENT_VERIFY
> [..]
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_ad
On Thu, Sep 23, 2010 at 7:52 AM, Dan Urist wrote:
> I've switched to using nginx+unicorn, and haven't had any issues. The
> only hassle for me is that I'm running it under Ubuntu, and unicorn
> isn't (yet) packaged by Debian/Ubuntu, so I had to install it via gems
> and don't have the advantage of
Hello All,
I'm running puppet 0.25.5, and CentOS 5.4. Whenever I run either
service puppet status or /etc/init.d/puppet status it tells me the
service is stopped when the service is actually running. I remember
this being an issue w/ 0.25.4, but I thought it was addressed in
0.25.5. Does a
On Thu, Sep 23, 2010 at 7:40 AM, Jakub Heichman wrote:
> On 29 June, 19:44, Dan Urist wrote:
>> I have this in my puppet.conf:
>>
>> [puppetmasterd]
>> ssl_client_header = SSL_CLIENT_S_DN
>> ssl_client_verify_header = SSL_CLIENT_VERIFY
>> [..]
>> proxy_set_header Host $h
On Thu, Sep 23, 2010 at 3:00 PM, Joseph Griffiths wrote:
> Hello All,
>
> I am pretty new to puppet and struggle with the syntax any help with
> this problem means a lot... I am trying to install an RPM on a RHEL
> system via puppet on the command line it works great. Here is the
> section of c
On Thu, Sep 23, 2010 at 9:00 AM, CraftyTech wrote:
> Hello All,
>
> I'm running puppet 0.25.5, and CentOS 5.4. Whenever I run either
> service puppet status or /etc/init.d/puppet status it tells me the
> service is stopped when the service is actually running. I remember
> this being an issu
Hello,
I have two sites with a small number of machines at each. Each site is
functionally identical. I would like to set up a bunch of templates for
the various services at each site, with a handful of variables that
indicate which site the service is configured for. What would be "best
p
On Thu, Sep 23, 2010 at 12:35 AM, qutic development
wrote:
> Jeff,
>
> thank you for your answer. But my question was not about exec. The question
> was how to set the path for every "system" command puppet is executing ;-)
Ah, I see, my misunderstanding.
> It seems to be that on Nexenta the pat
Simple question
If a file changes and it notify a service, will the service be restarted? If
not do I need to create a exec? (which I have right now)
below is what I have in mind:
it this correct? thanks!
file { "named.conf" :
path => "/var/named/etc/name.conf",
mode => 0444, ow
http://projects.puppetlabs.com/projects/1/wiki/Resolv_Conf_Patterns
On Thu, Sep 23, 2010 at 11:36 AM, Daniel Maher wrote:
> Hello,
>
> I have two sites with a small number of machines at each. Each site is
> functionally identical. I would like to set up a bunch of templates for the
> various
It's my understanding that as long as you have the ensure => running line in
your service definition, a notify will restart it. As an alternative you
could add the subscribe => File["named.conf"] to your service definition.
-Stephen
On Thu, Sep 23, 2010 at 1:01 PM, Luc Suryo wrote:
> Simple qu
On Wed, Sep 22, 2010 at 11:38 AM, Jewels wrote:
> Hi all..
>
> Having a strange problem and searhed through the groups, can't find
> anything. Have a couple of chrooted daemons that are giving an error
> with "ensure => running", even with a "hasrestart = true"
>
> Simply put it errors with a retu
thanks! just wanted to be sure
On Thu, Sep 23, 2010 at 10:19 AM, Stephen McNally wrote:
> It's my understanding that as long as you have the ensure => running line
> in your service definition, a notify will restart it. As an alternative you
> could add the subscribe => File["named.conf"] to y
* Daniel Maher [2010/09/23 18:36]:
> Consider :
>
> s...@abc$ facter | grep domain
> domain => abc.dom.ain
>
> s...@xyz$ facter | grep domain
> domain => xyz.dom.ain
>
> Thus i would like a template "resolv.conf.erb" :
>
> search <%= site_name =>.dom.ain
Why not use:
search <%= domain %>
?
I can also recommend using frozen repos, with a testing cycle every time you
update them...
I a while ago I wrote a small web app[1] to collect all versions of all
packages across all of your hosts, you might find it useful to know which
package is installed on which server... in anycase, if you fr
I am wondering if anyone is using Escape (http://code.google.com/p/
escservesconfig/) with Puppet to store environment-specific
configuration options.
Escape is a web service designed to serve environment-specific
configuration to a variety of applications in a multitude of
environments in a platf
On Thu, 23 Sep 2010 18:36:21 +0200, Daniel Maher wrote:
> Hello,
>
> I have two sites with a small number of machines at each. Each site is
> functionally identical. I would like to set up a bunch of templates for
> the various services at each site, with a handful of variables that
> indic
hello,
- "Daniel Maher" wrote:
> Hello,
>
> I have two sites with a small number of machines at each. Each site is
> functionally identical. I would like to set up a bunch of templates
> for the various services at each site, with a handful of variables that
> indicate which site the s
On Thu, Sep 23, 2010 at 12:34 PM, Ohad Levy wrote:
> I can also recommend using frozen repos, with a testing cycle every time
> you update them...
> I a while ago I wrote a small web app[1] to collect all versions of all
> packages across all of your hosts, you might find it useful to know which
Thanks Jeff.. It was the location of the PID file that was holding me
back. I fixed it in /etc/init.d/puppet, and then distributed via
puppet to the rest of the nodes.
Thanks,
On Sep 23, 12:32 pm, Jeff McCune wrote:
> On Thu, Sep 23, 2010 at 9:00 AM, CraftyTech wrote:
> > Hello All,
>
> >
On 24/09/10 1:03 AM, somebody called Tony G. (tony...@gmail.com) wrote this:
http://projects.puppetlabs.com/projects/1/wiki/Resolv_Conf_Patterns
On Thu, Sep 23, 2010 at 11:36 AM, Daniel Maher wrote:
Hello,
I have two sites with a small number of machines at each. Each site is
functionally ide
I created a module with a .pp file containing the following:
#
## Class for dns configuration
#
class resolve-dns{
include my-dns-resolver::location
file{ '/etc/resolv.conf':
source => $my-dns-resolver::location::resolvesource,
ensure => present,
mode => 644,
owner => roo
On Sep 23, 9:36 am, Daniel Maher wrote:
> Hello,
>
> I have two sites with a small number of machines at each. Each site is
> functionally identical. I would like to set up a bunch of templates for
> the various services at each site, with a handful of variables that
> indicate which site the s
On Sep 22, 2010, at 14:06 , Leslie Giles wrote:
> I'm working on rolling out Puppet, but I'm stuck and I know somebody has
> solved this problem...
>
> We have an engineering environment of around 200 Centos servers, plus a
> production environment of roughly the same size. Currently, when we r
38 matches
Mail list logo