similar to: FreeBSD and Service enabling

Displaying 20 results from an estimated 10000 matches similar to: "FreeBSD and Service enabling"

2008 Oct 13
1
freebsd service provider on Solaris?!
Hi, using puppetdoc -r providers ... :Ruby version: 1.8.6 :Puppet version: 0.24.4 :Operating system: Solaris :Operating system release: 5.8 ... service_ -------- .. _service: http://reductivelabs.com/trac/puppet/wiki/TypeReference#service :Default provider: freebsd ======== ========= ============ ========== =========== Provider Suitable? controllable enableable refreshable ========
2006 Sep 21
3
FreeBSD startup script, can''t set pidfile
Hi, I''ve installed puppet gem on freebsd 6.1 and wrote a simple startup script for puppetmasterd. It starts fine, but doesn''t create the pidfile, so I can''t stop it. Here is my script: #!/bin/sh utility_enable=${utility_enable-"NO"} utility_flags=${utility_flags-""} utility_pidfile=${utility_pidfile-"/var/run/puppetmasterd.pid"} .
2008 Sep 10
5
Managing SSH keys
Hello all, I''d like to have Puppet distributing one of your server''s (public) SSH keys, effectively doing the same as the ssh-copy-id command. Is there a build in puppet resource type for managing SSH keys. We''re running version 0.24.4 of puppet. Regards, Kenneth Holter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2007 Aug 08
7
restart a service without ensure => running
Is it possible to trigger a service restart without always forcing that service to be running? We shutdown mysql for about 30min every day to do backups, and I don''t want puppet to start mysql during this window. So I''ve removed ensure => "running" from the mysql service. But now notify => Service[mysql] doesn''t restart mysql. Is it possible to tell
2009 Jun 25
2
Ensure overriden service after exec has run
Hi, How do I force my Service declaration (with is defined elsewhere and inherited) is run after an exec has run? The code; class autofs_nis::services inherits services::base { Service[''ypbind''] { ensure => running, enable=> true, } ..... } class autofs_nis::exec inherits services::base { exec { "setdomainname": command
2007 Nov 29
10
Provider error with FreeBSD 7 beta 3
Hi all, I’m exploring puppet for first time, trying to see if I can simplify my sysadmin tasks. So I decided to install it on FreeBSD 7 beta 3 and play with it, using another host as a server (Debian 4). As you can imagine I’m stuck. Here’s an excerpt of my super trivial manifest file: > node ''puppetclient.refactor.it'' { > package { > apache20: > ensure
2008 Jul 30
6
Refreshonly question
Does anyone have a technique for performing an exec the first time puppetd runs but then reverting to refreshonly => true state for subsequent runs? The basic idea is: file { "/etc/foo": notify => Exec["bar"] } exec { "bar": command => "Do stuff to /etc/foo", refreshonly => true } Should I use a fact that is unset based on a
2008 Dec 29
4
Using an Exec inside a define
I''m working on a definition for activating/deactivating Apache modules on an Ubuntu system. Inside my Apache class I have this definition: define module($ensure) { case $ensure { enabled: { exec { "a2enmod": command => "/usr/sbin/a2enmod $name", logoutput => on_failure,
2008 Aug 25
2
package name AND VERSION needed for passing to yum?
this snippet: package {ovzkernel: source => $hardwaremodel ? { "x86_64" => "ovzkernel-2.6.18-53.1.19.el5.028stab053.14.x86_64", default => "ovzkernel-2.6.18-53.1.19.el5.028stab053.14.i686" }, ensure => installed, provider => yum, require =>
2009 Jan 28
5
Solaris zone documentation
I''m following the example provided in the type reference under ''zone'', i.e.: zone{myzone: autoboot=>true, create_args=>"-b", ip=>"nge0:10:130.55.201", path=>"/zoneds/%s", realhostname=>"myzone.example.com",
2007 Dec 13
2
logoutput attribute on exec type
so here I am trying to track down why one of my execs isn''t working properly and I notice in the wiki[1]the option on_failure for logoutput. Turns out it does''t work (in 0.23.0) err: Parameter logoutput failed: Invalid ''logoutput'' value "on_failure". Valid values are true, false, debug, info, notice, warning, err, alert, emerg, crit. err: Could not
2008 Jun 13
12
puppet/naginator?
I''m very interested in the way that puppet appears to be able to generate nagios configurations though I can''t seem to find any documenation on how it works: http://reductivelabs.com/trac/naginator is clearly a placeholder page... Meanwhile the various pieces of info at links such as: http://reductivelabs.com/trac/puppet/wiki/TypeReference#nagios-host are just teasing me.
2008 Oct 29
7
Package and log in puppet
Hi all, my name is Arnau Bria and I''m a sys admin in a center where we must deal with hundred hosts. We''re currently working with quattor, but it''s too complex for our purposes, so I''m looking for new admin tool. I''ve been playing with CFengine for few days (2 or 3) and I''ve seen some limitations that makes me thing that CFE is not our
2007 Nov 12
2
How to keep several puppetd in sync at the same time ?
Hi, I''m still writing my djbdns module, I came to the following design issue with master and slave tinydns. Normally there is no such master and slave distinction in djbdns: all tinydns instance are equal. Usually one instance on one host is considered the master on, which the RR are changed, and when you need to propagate them, you rsync the datas to the other hosts, where they will be
2007 Jul 21
5
Some ''in service'' questions
Hi, Just a quick query about some things that crop up when I run ''puppetd --test''. Every time I run this command I always see the following output, which I think is strange as the ''man'' package has been installed previously and the firewall service is definitely running. Has anybody got any suggestions as to why puppet thinks it needs to install the man
2009 Dec 04
3
yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5
I''m using puppet-0.24.8-4.el5 on CentOS 5.4. My problem is yumrepo isn''t writing the "name=" field to the repository files which causes yum to complain with the error: Repository ''local-CentOS-5.4-x86_64'' is missing name in configuration, using id I get this behavior on all of my yumrepo definitions. One of them looks like this: yumrepo {
2007 May 22
4
Newbie: Am I looking at the right tool?
Hi, I''m absolutely new to centralized server management, sorry sorry in advance for any stupid remarks. Looking on the puppet documentation, I mainly find a lot of info about how to manage the config files, but nothing about centralized control. So I''m wandering if I''m looking a the right software package for my needs. I want to be able to do the following from a
2007 Jun 25
5
Module Patterns part 1 -- The Puppet Semaphor
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear list! While converting my config to modules, I''m applying puppet''s mechanisms to interact with and between modules. Here I''ll try to collect a few patterns to create awareness of fundamental module patterns. After feedback/discussion I will add this to the wiki. The Puppet Semaphor ===================
2007 May 21
2
Puppet newbie: using defines
Hi folks, I''m trying to get my feet wet in puppet-land. I''ve successfully installed a puppetmaster and client and managed to get them to do something (the sudo file-permission example as explained in the tutorials). Now I''m trying to do something a bit more complex using defines but nothing seems to happen anymore. Config files involved: ###### site.pp filebucket {
2009 Oct 30
3
need help in generating ssh authorize keys
hi all, I need to generate ssh authorize keys for a list of users hosted on different servers.the users are active and each one has its public key (id_rsa.pub) hosted in 1 server. now what i need to do is to generate the authorize keys from each of their public key. the key is easily generating if public key hosted on the Node but my problem is that all public keys are hosted in 1 machine with a