search for: typereference

Displaying 20 results from an estimated 53 matches for "typereference".

2009 Jan 28
5
Solaris zone documentation
...mary {hostname=<%= realhostname %> ip_address=<%= ip %> netmask=<%= netmask %> protocol_ipv6=no default_route=<%= defaultroute %>} nfs4_domain=dynamic The sysidcfg template is ripped straight from <http://reductivelabs.com/trac/puppet/wiki/TypeReference#zone> but it doesn''t work: err: Could not retrieve catalog: Failed to parse template sysidcfg: Could not find value for ''realhostname'' at /staging/puppet/production/manifests/nodes.pp:90 on node elided.example.com This is with Puppet 0.24.7 on both client and server....
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 =>
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?
...ppears 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. Is there any actual documentation for this? I''m hoping the naginator link above is just a simple matter of a broken link... Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google...
2008 Oct 29
7
Package and log in puppet
...t;rpm -Uvh" in same host group (or class), but for different packages/metapackages. I was no able, and I think, for replies I got from list, I will not... So, is puppet able to use many rpm install commands in same host? *Did not find the answer here: http://reductivelabs.com/trac/puppet/wiki/TypeReference#package 2.-) CFE logs are crazy... I need syslog or nagios and parse them myself... I''ve seen: http://www.devco.net/pubwiki/Puppet/PuppetView and looks very nice, but has puppet a sumary of what has done in the client with a simple "OK" or "KO"? (Obviously I won'...
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 {
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
2009 Feb 11
2
filebucket retrieval
...o a) pull files off a puppet client to the puppet master b) push those files out to other puppet clients I''ve been reading up on FileBucket and I don''t understand how I can achieve that, or if I''m on the right track. Whats at http://reductivelabs.com/trac/puppet/wiki/TypeReference#filebucket suggests that I''m not on the right track. Can anyone suggest of the right way to use filebucket to do this, or if there is something else I should be reading up on. My end goal for this is to build a /var/lib/misc/passwd.db and group.db on the puppet master (using nss_updatedb...
2007 Apr 24
10
Announce: References are now on Trac
I''ve converted all of the inline docs over to restructured text, and I''ve got them all up on trac: http://reductivelabs.com/trac/puppet/wiki/TypeReference http://reductivelabs.com/trac/puppet/wiki/FunctionReference http://reductivelabs.com/trac/puppet/wiki/ReportReference http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference Please let me know if you find any errors in the translation, or in the documents in general. I''ve modi...
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 ===================
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
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
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
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
2008 Jun 06
8
useradd provider not working?
I have this config: # BL00070 - Disable NFS service {["nfs","nfslock","netfs","portmap"]: ensure => stopped, enable => false, } user {"rpc": ensure => absent, provider => "useradd" } user {"rpcuser": ensure => absent, provider => "useradd" } file
2008 Sep 30
6
something wrong with puppet client or Server
Hi All, I have running puppet client and server on solaris 10 x86. Now days some of puppet client behaviors is something weird !!! or May be i am missing something... for ex. I created class to add one line in /etc/vfstab . but puppet client did it successfully 1st time ...But .. After few days , i saw there are same line has been added more than 250 times.. [ see same line is added so many
2008 Jun 12
5
Puppet Demo at ETRADE
I had some questions come up today during the Puppet demo here: 1. Is there any way to apply different intervals to different classes? For example, we might want a security baseline manifest to run once a month, package installation files once/day, etc. Since we''re a brokerage, we also don''t want ANY system changes during trading hours. I guess we could cron killing the